Compilation Error - CentOS 6.9

Compilation and installation questions and stories
Post Reply
kernelBR
Posts: 3
Joined: 22 Mar 2018, 19:17
Location: Brasil

Compilation Error - CentOS 6.9

Post by kernelBR » 22 Mar 2018, 19:26

Hello!

Greetings from Brazil to everyone!

Code: Select all

I am trying to compile Accel in CentOS 6.9 and get the following error:
[root@l200 build]# cmake -DBUILD_PPTP_DRIVER=TRUE -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DKDIR=/usr/src/kernels/2.6.32-696.16.1.el6.x86_64/ -DCMAKE_BUILD_TYPE=Debug -DLOG_PGSQL=FALSE -DRADIUS=TRUE -DNETSNMP=TRUE -DLUA=TRUE ..
-- The C compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- 'x86_64'
-- Looking for timerfd_create
-- Looking for timerfd_create - found
-- Could NOT find Lua51 (missing:  LUA_INCLUDE_DIR) 
CMake Error at accel-pppd/ctrl/ipoe/CMakeLists.txt:15 (MESSAGE):
  lua not found

-- Configuring incomplete, errors occurred!
See also "/usr/src/accel-ppp/accel-ppp-1.11.2/build/CMakeFiles/CMakeOutput.log".


Please, has anyone ever been through this?
Last edited by kernelBR on 22 Mar 2018, 19:54, edited 1 time in total.

dimka88
Posts: 419
Joined: 13 Oct 2014, 05:51
Contact:

Re: Compilation Error - CentOS 6.9

Post by dimka88 » 22 Mar 2018, 19:33

Hi, get lua 5.1 or latest

Code: Select all

yum install lua-devel
and try again. If lua great then 5.1 in cmake use -DLUA=5.2 (you version)

kernelBR
Posts: 3
Joined: 22 Mar 2018, 19:17
Location: Brasil

Re: Compilation Error - CentOS 6.9

Post by kernelBR » 22 Mar 2018, 19:51

Hello, dimka88!

It is a great honor to receive your response.

It worked out after installing lua-devel.

You are now giving IPoE Driver error.

What can it be?

Code: Select all

[root@l200 build]# cmake -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DKDIR=/usr/src/kernels/2.6.32-696.16.1.el6.x86_64/ -DCMAKE_BUILD_TYPE=Debug -DLOG_PGSQL=FALSE -DRADIUS=TRUE -DNETSNMP=TRUE -DLUA=TRUE ..
-- The C compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- 'x86_64'
-- Looking for timerfd_create
-- Looking for timerfd_create - found
-- Found Lua51: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so (found version "5.1.4") 
-- Looking for linux/netfilter/ipset/ip_set.h
-- Looking for linux/netfilter/ipset/ip_set.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/accel-ppp/accel-ppp-1.11.2/build
[root@l200 build]# 
[root@l200 build]# 
[root@l200 build]# 
[root@l200 build]# 
[root@l200 build]# 
[root@l200 build]# 
[root@l200 build]# make
Scanning dependencies of target triton
[  1%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/md.c.o
[  1%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/timer.c.o
[  2%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/triton.c.o
[  3%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/conf_file.c.o
[  4%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/loader.c.o
[  5%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/log.c.o
[  6%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/mempool.c.o
[  7%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/event.c.o
Linking C shared library libtriton.so
[  7%] Built target triton
Scanning dependencies of target accel-pppd
[  8%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/memdebug.c.o
[  9%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session.c.o
[ 10%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session_backup.c.o
[ 11%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ifcfg.c.o
[ 12%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/net.c.o
[ 13%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/backup/backup.c.o
[ 14%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp.c.o
[ 14%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_fsm.c.o
[ 15%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_lcp.c.o
[ 16%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_mru.c.o
[ 17%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_magic.c.o
[ 18%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_pcomp.c.o
[ 19%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_accomp.c.o
[ 20%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_auth.c.o
[ 21%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipcp.c.o
[ 22%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_ipaddr.c.o
[ 22%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_dns.c.o
[ 23%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_wins.c.o
[ 24%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipv6cp_opt_intfid.c.o
[ 25%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipv6cp.c.o
[ 26%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ccp.c.o
[ 27%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ccp_mppe.c.o
[ 28%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/std_cmd.c.o
[ 29%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/show_sessions.c.o
[ 30%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/telnet.c.o
[ 30%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/tcp.c.o
[ 31%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/cli.c.o
[ 32%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/libnetlink.c.o
[ 33%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/iputils.c.o
[ 34%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/genl.c.o
[ 35%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/ipset.c.o
[ 36%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/pwdb.c.o
[ 37%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ipdb.c.o
[ 37%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/iprange.c.o
[ 38%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/utils.c.o
[ 39%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/rbtree.c.o
[ 40%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/log.c.o
[ 41%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/main.c.o
Linking C executable accel-pppd
[ 41%] Built target accel-pppd
Scanning dependencies of target radius
[ 42%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/stat_accm.c.o
[ 43%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dict.c.o
[ 44%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/req.c.o
[ 45%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/packet.c.o
[ 46%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/auth.c.o
[ 47%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/acct.c.o
[ 47%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/serv.c.o
[ 48%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dm_coa.c.o
[ 49%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/radius.c.o
Linking C shared library libradius.so
[ 49%] Built target radius
Scanning dependencies of target vlan-mon
[ 50%] Building C object accel-pppd/vlan-mon/CMakeFiles/vlan-mon.dir/vlan_mon.c.o
Linking C shared library libvlan-mon.so
[ 50%] Built target vlan-mon
Scanning dependencies of target pptp
[ 51%] Building C object accel-pppd/ctrl/pptp/CMakeFiles/pptp.dir/pptp.c.o
Linking C shared library libpptp.so
[ 51%] Built target pptp
Scanning dependencies of target pppoe
[ 52%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/pppoe.c.o
[ 53%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/mac_filter.c.o
[ 54%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/dpado.c.o
[ 55%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/cli.c.o
[ 55%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/disc.c.o
[ 56%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/tr101.c.o
Linking C shared library libpppoe.so
[ 56%] Built target pppoe
Scanning dependencies of target l2tp
[ 57%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o
[ 57%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/dict.c.o
[ 58%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/packet.c.o
Linking C shared library libl2tp.so
[ 58%] Built target l2tp
Scanning dependencies of target ipoe
[ 59%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe.c.o
[ 60%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4.c.o
[ 61%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4_options.c.o
[ 62%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe_netlink.c.o
[ 63%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/arp.c.o
[ 64%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/lua.c.o
[ 65%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/lua_lpack.c.o
[ 65%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/lua_bit.c.o
Linking C shared library libipoe.so
[ 65%] Built target ipoe
Scanning dependencies of target auth_chap_md5
[ 66%] Building C object accel-pppd/auth/CMakeFiles/auth_chap_md5.dir/auth_chap_md5.c.o
Linking C shared library libauth_chap_md5.so
[ 66%] Built target auth_chap_md5
Scanning dependencies of target auth_mschap_v1
[ 67%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v1.dir/auth_mschap_v1.c.o
Linking C shared library libauth_mschap_v1.so
[ 67%] Built target auth_mschap_v1
Scanning dependencies of target auth_mschap_v2
[ 68%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v2.dir/auth_mschap_v2.c.o
Linking C shared library libauth_mschap_v2.so
[ 68%] Built target auth_mschap_v2
Scanning dependencies of target auth_pap
[ 69%] Building C object accel-pppd/auth/CMakeFiles/auth_pap.dir/auth_pap.c.o
Linking C shared library libauth_pap.so
[ 69%] Built target auth_pap
Scanning dependencies of target log_file
[ 70%] Building C object accel-pppd/logs/CMakeFiles/log_file.dir/log_file.c.o
Linking C shared library liblog_file.so
[ 70%] Built target log_file
Scanning dependencies of target log_syslog
[ 71%] Building C object accel-pppd/logs/CMakeFiles/log_syslog.dir/log_syslog.c.o
Linking C shared library liblog_syslog.so
[ 71%] Built target log_syslog
Scanning dependencies of target log_tcp
[ 72%] Building C object accel-pppd/logs/CMakeFiles/log_tcp.dir/log_tcp.c.o
Linking C shared library liblog_tcp.so
[ 72%] Built target log_tcp
Scanning dependencies of target chap-secrets
[ 72%] Building C object accel-pppd/extra/CMakeFiles/chap-secrets.dir/chap-secrets.c.o
Linking C shared library libchap-secrets.so
[ 72%] Built target chap-secrets
Scanning dependencies of target connlimit
[ 73%] Building C object accel-pppd/extra/CMakeFiles/connlimit.dir/connlimit.c.o
Linking C shared library libconnlimit.so
[ 73%] Built target connlimit
Scanning dependencies of target ippool
[ 74%] Building C object accel-pppd/extra/CMakeFiles/ippool.dir/ippool.c.o
Linking C shared library libippool.so
[ 74%] Built target ippool
Scanning dependencies of target ipv6pool
[ 75%] Building C object accel-pppd/extra/CMakeFiles/ipv6pool.dir/ipv6pool.c.o
Linking C shared library libipv6pool.so
[ 75%] Built target ipv6pool
Scanning dependencies of target logwtmp
[ 76%] Building C object accel-pppd/extra/CMakeFiles/logwtmp.dir/logwtmp.c.o
Linking C shared library liblogwtmp.so
[ 76%] Built target logwtmp
Scanning dependencies of target sigchld
[ 77%] Building C object accel-pppd/extra/CMakeFiles/sigchld.dir/sigchld.c.o
Linking C shared library libsigchld.so
[ 77%] Built target sigchld
Scanning dependencies of target pppd_compat
[ 78%] Building C object accel-pppd/extra/CMakeFiles/pppd_compat.dir/pppd_compat.c.o
Linking C shared library libpppd_compat.so
[ 78%] Built target pppd_compat
Scanning dependencies of target net-snmp
[ 79%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/agent.c.o
[ 80%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable.c.o
[ 81%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_access.c.o
[ 81%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_get.c.o
[ 82%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_data_set.c.o
[ 83%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/sessionTable_interface.c.o
[ 84%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statCore.c.o
[ 85%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statL2TP.c.o
[ 86%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statPPP.c.o
[ 87%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statPPPOE.c.o
[ 88%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statPPTP.c.o
[ 89%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/statIPOE.c.o
[ 89%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/terminate.c.o
[ 90%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/shutdown.c.o
[ 91%] Building C object accel-pppd/extra/net-snmp/CMakeFiles/net-snmp.dir/exec_cli.c.o
Linking C shared library libnet-snmp.so
[ 91%] Built target net-snmp
Scanning dependencies of target ipv6_dhcp
[ 92%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6.c.o
[ 93%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6_packet.c.o
Linking C shared library libipv6_dhcp.so
[ 93%] Built target ipv6_dhcp
Scanning dependencies of target ipv6_nd
[ 94%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_nd.dir/nd.c.o
Linking C shared library libipv6_nd.so
[ 94%] Built target ipv6_nd
Scanning dependencies of target shaper
[ 95%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/shaper.c.o
[ 96%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/limiter.c.o
[ 97%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/leaf_qdisc.c.o
[ 98%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/tc_core.c.o
Linking C shared library libshaper.so
[ 98%] Built target shaper
Scanning dependencies of target accel-cmd
[ 98%] Building C object accel-cmd/CMakeFiles/accel-cmd.dir/accel_cmd.c.o
Linking C executable accel-cmd
[ 98%] Built target accel-cmd
Scanning dependencies of target ipoe_drv
[ 99%] Generating driver/ipoe.ko
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_process_queue’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:579: error: ‘struct sk_buff’ has no member named ‘skb_iif’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_lookup_rt’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:673: error: storage size of ‘fl4’ isn’t known
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:679: error: too few arguments to function ‘ip_route_output_key’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:683: error: ‘struct rtable’ has no member named ‘dst’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:673: warning: unused variable ‘fl4’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_recv’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: error: ‘struct net_device’ has no member named ‘rx_handler_data’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: warning: type defaults to ‘int’ in declaration of ‘_________p1’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: error: ‘struct net_device’ has no member named ‘rx_handler_data’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: error: ‘struct net_device’ has no member named ‘rx_handler_data’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:702: warning: initialization makes pointer from integer without a cast
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:795: error: ‘struct sk_buff’ has no member named ‘skb_iif’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_stats64’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:885: error: implicit declaration of function ‘u64_stats_fetch_begin_bh’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:888: error: implicit declaration of function ‘u64_stats_fetch_retry_bh’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_nl_cmd_delete’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1194: error: implicit declaration of function ‘dev_get_by_index_rcu’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1194: warning: assignment makes pointer from integer without a cast
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_nl_cmd_modify’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1246: warning: assignment makes pointer from integer without a cast
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_nl_cmd_del_interface’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: warning: type defaults to ‘int’ in declaration of ‘_________p1’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1526: warning: comparison between pointer and integer
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: At top level:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1690: error: unknown field ‘ndo_get_stats64’ specified in initializer
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1690: warning: initialization from incompatible pointer type
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_fini’:
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: warning: type defaults to ‘int’ in declaration of ‘_________p1’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: error: ‘struct net_device’ has no member named ‘rx_handler’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.c:1762: warning: comparison between pointer and integer
make[4]: ** [/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver/ipoe.o] Erro 1
make[3]: ** [_module_/usr/src/accel-ppp/accel-ppp-1.11.2/build/drivers/ipoe/driver] Erro 2
make[2]: ** [drivers/ipoe/driver/ipoe.ko] Erro 2
make[1]: ** [drivers/ipoe/CMakeFiles/ipoe_drv.dir/all] Erro 2
make: ** [all] Erro 2
[root@l200 build]#

dimka88
Posts: 419
Joined: 13 Oct 2014, 05:51
Contact:

Re: Compilation Error - CentOS 6.9

Post by dimka88 » 22 Mar 2018, 20:29

RHL variously patch old kernels... and i see you use very very old kernel 2.6.32-696.16.1.el6.x86_64 =)
update kernel from elrepo, this should help.

kernelBR
Posts: 3
Joined: 22 Mar 2018, 19:17
Location: Brasil

Re: Compilation Error - CentOS 6.9

Post by kernelBR » 22 Mar 2018, 22:02

Thanks for the reply again.

Right now I am installing Debian tests.

Hugs.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests