SHARE
TWEET

Untitled

a guest Nov 27th, 2018 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@localhost build]# cmake -DBUILD_VLAN_MON_DRIVER=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local -DKDIR=/usr/src/kernels/3.10.0-862.14.4.el7.x86_64/ -DLOG_PGSQL=FALSE -DSHAPER=TRUE -DCPACK_TYPE=Centos7 ..
  2. -- The C compiler identification is GNU 4.8.5
  3. -- Check for working C compiler: /usr/bin/cc
  4. -- Check for working C compiler: /usr/bin/cc -- works
  5. -- Detecting C compiler ABI info
  6. -- Detecting C compiler ABI info - done
  7. -- 'x86_64'
  8. -- Looking for timerfd_create
  9. -- Looking for timerfd_create - found
  10. -- Looking for linux/netfilter/ipset/ip_set.h
  11. -- Looking for linux/netfilter/ipset/ip_set.h - found
  12. -- Looking for setns
  13. -- Looking for setns - found
  14. -- Configuring done
  15. -- Generating done
  16. -- Build files have been written to: /opt/accel-ppp-code/build
  17. [root@localhost build]# make
  18. Scanning dependencies of target triton
  19. [  1%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/md.c.o
  20. [  2%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/timer.c.o
  21. [  3%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/triton.c.o
  22. [  4%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/conf_file.c.o
  23. [  5%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/loader.c.o
  24. [  6%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/log.c.o
  25. [  7%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/mempool.c.o
  26. [  8%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/event.c.o
  27. Linking C shared library libtriton.so
  28. [  8%] Built target triton
  29. Scanning dependencies of target accel-pppd
  30. [  9%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/memdebug.c.o
  31. [ 10%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session.c.o
  32. [ 11%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session_backup.c.o
  33. [ 12%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ifcfg.c.o
  34. [ 13%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/net.c.o
  35. [ 14%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/backup/backup.c.o
  36. [ 15%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp.c.o
  37. [ 16%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_fsm.c.o
  38. [ 17%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_lcp.c.o
  39. [ 18%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_mru.c.o
  40. [ 20%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_magic.c.o
  41. [ 21%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_pcomp.c.o
  42. [ 22%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_accomp.c.o
  43. [ 23%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_auth.c.o
  44. [ 24%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipcp.c.o
  45. [ 25%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_ipaddr.c.o
  46. [ 26%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_dns.c.o
  47. [ 27%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_wins.c.o
  48. [ 28%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipv6cp_opt_intfid.c.o
  49. [ 29%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipv6cp.c.o
  50. [ 30%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ccp.c.o
  51. [ 31%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ccp_mppe.c.o
  52. [ 32%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/std_cmd.c.o
  53. [ 33%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/show_sessions.c.o
  54. [ 34%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/telnet.c.o
  55. [ 35%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/tcp.c.o
  56. [ 36%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/cli.c.o
  57. [ 37%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/libnetlink.c.o
  58. [ 38%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/iputils.c.o
  59. [ 40%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/genl.c.o
  60. [ 41%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/ipset.c.o
  61. [ 42%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/pwdb.c.o
  62. [ 43%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ipdb.c.o
  63. [ 44%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/iprange.c.o
  64. [ 45%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/utils.c.o
  65. [ 46%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/rbtree.c.o
  66. [ 47%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/log.c.o
  67. [ 48%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/main.c.o
  68. Linking C executable accel-pppd
  69. [ 48%] Built target accel-pppd
  70. Scanning dependencies of target radius
  71. [ 49%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/stat_accm.c.o
  72. [ 50%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dict.c.o
  73. [ 51%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/req.c.o
  74. [ 52%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/packet.c.o
  75. [ 53%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/auth.c.o
  76. [ 54%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/acct.c.o
  77. [ 55%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/serv.c.o
  78. [ 56%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dm_coa.c.o
  79. [ 57%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/radius.c.o
  80. Linking C shared library libradius.so
  81. [ 57%] Built target radius
  82. Scanning dependencies of target vlan-mon
  83. [ 58%] Building C object accel-pppd/vlan-mon/CMakeFiles/vlan-mon.dir/vlan_mon.c.o
  84. Linking C shared library libvlan-mon.so
  85. [ 58%] Built target vlan-mon
  86. Scanning dependencies of target pptp
  87. [ 60%] Building C object accel-pppd/ctrl/pptp/CMakeFiles/pptp.dir/pptp.c.o
  88. Linking C shared library libpptp.so
  89. [ 60%] Built target pptp
  90. Scanning dependencies of target pppoe
  91. [ 61%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/pppoe.c.o
  92. [ 62%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/mac_filter.c.o
  93. [ 63%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/dpado.c.o
  94. [ 64%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/cli.c.o
  95. [ 65%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/disc.c.o
  96. [ 66%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/tr101.c.o
  97. Linking C shared library libpppoe.so
  98. [ 66%] Built target pppoe
  99. Scanning dependencies of target l2tp
  100. [ 67%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o
  101. [ 68%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/dict.c.o
  102. [ 69%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/packet.c.o
  103. Linking C shared library libl2tp.so
  104. [ 69%] Built target l2tp
  105. Scanning dependencies of target sstp
  106. [ 70%] Building C object accel-pppd/ctrl/sstp/CMakeFiles/sstp.dir/sstp.c.o
  107. Linking C shared library libsstp.so
  108. [ 70%] Built target sstp
  109. Scanning dependencies of target ipoe
  110. [ 71%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe.c.o
  111. [ 72%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4.c.o
  112. [ 73%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4_options.c.o
  113. [ 74%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe_netlink.c.o
  114. [ 75%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/arp.c.o
  115. Linking C shared library libipoe.so
  116. [ 75%] Built target ipoe
  117. Scanning dependencies of target auth_chap_md5
  118. [ 76%] Building C object accel-pppd/auth/CMakeFiles/auth_chap_md5.dir/auth_chap_md5.c.o
  119. Linking C shared library libauth_chap_md5.so
  120. [ 76%] Built target auth_chap_md5
  121. Scanning dependencies of target auth_mschap_v1
  122. [ 77%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v1.dir/auth_mschap_v1.c.o
  123. Linking C shared library libauth_mschap_v1.so
  124. [ 77%] Built target auth_mschap_v1
  125. Scanning dependencies of target auth_mschap_v2
  126. [ 78%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v2.dir/auth_mschap_v2.c.o
  127. Linking C shared library libauth_mschap_v2.so
  128. [ 78%] Built target auth_mschap_v2
  129. Scanning dependencies of target auth_pap
  130. [ 80%] Building C object accel-pppd/auth/CMakeFiles/auth_pap.dir/auth_pap.c.o
  131. Linking C shared library libauth_pap.so
  132. [ 80%] Built target auth_pap
  133. Scanning dependencies of target log_file
  134. [ 81%] Building C object accel-pppd/logs/CMakeFiles/log_file.dir/log_file.c.o
  135. Linking C shared library liblog_file.so
  136. [ 81%] Built target log_file
  137. Scanning dependencies of target log_syslog
  138. [ 82%] Building C object accel-pppd/logs/CMakeFiles/log_syslog.dir/log_syslog.c.o
  139. Linking C shared library liblog_syslog.so
  140. [ 82%] Built target log_syslog
  141. Scanning dependencies of target log_tcp
  142. [ 83%] Building C object accel-pppd/logs/CMakeFiles/log_tcp.dir/log_tcp.c.o
  143. Linking C shared library liblog_tcp.so
  144. [ 83%] Built target log_tcp
  145. Scanning dependencies of target chap-secrets
  146. [ 84%] Building C object accel-pppd/extra/CMakeFiles/chap-secrets.dir/chap-secrets.c.o
  147. Linking C shared library libchap-secrets.so
  148. [ 84%] Built target chap-secrets
  149. Scanning dependencies of target connlimit
  150. [ 85%] Building C object accel-pppd/extra/CMakeFiles/connlimit.dir/connlimit.c.o
  151. Linking C shared library libconnlimit.so
  152. [ 85%] Built target connlimit
  153. Scanning dependencies of target ippool
  154. [ 86%] Building C object accel-pppd/extra/CMakeFiles/ippool.dir/ippool.c.o
  155. Linking C shared library libippool.so
  156. [ 86%] Built target ippool
  157. Scanning dependencies of target ipv6pool
  158. [ 87%] Building C object accel-pppd/extra/CMakeFiles/ipv6pool.dir/ipv6pool.c.o
  159. Linking C shared library libipv6pool.so
  160. [ 87%] Built target ipv6pool
  161. Scanning dependencies of target logwtmp
  162. [ 88%] Building C object accel-pppd/extra/CMakeFiles/logwtmp.dir/logwtmp.c.o
  163. Linking C shared library liblogwtmp.so
  164. [ 88%] Built target logwtmp
  165. Scanning dependencies of target sigchld
  166. [ 89%] Building C object accel-pppd/extra/CMakeFiles/sigchld.dir/sigchld.c.o
  167. Linking C shared library libsigchld.so
  168. [ 89%] Built target sigchld
  169. Scanning dependencies of target pppd_compat
  170. [ 90%] Building C object accel-pppd/extra/CMakeFiles/pppd_compat.dir/pppd_compat.c.o
  171. Linking C shared library libpppd_compat.so
  172. [ 90%] Built target pppd_compat
  173. Scanning dependencies of target ipv6_dhcp
  174. [ 91%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6.c.o
  175. [ 92%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6_packet.c.o
  176. Linking C shared library libipv6_dhcp.so
  177. [ 92%] Built target ipv6_dhcp
  178. Scanning dependencies of target ipv6_nd
  179. [ 93%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_nd.dir/nd.c.o
  180. Linking C shared library libipv6_nd.so
  181. [ 93%] Built target ipv6_nd
  182. Scanning dependencies of target shaper
  183. [ 94%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/shaper.c.o
  184. [ 95%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/limiter.c.o
  185. [ 96%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/leaf_qdisc.c.o
  186. [ 97%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/tc_core.c.o
  187. Linking C shared library libshaper.so
  188. [ 97%] Built target shaper
  189. Scanning dependencies of target accel-cmd
  190. [ 98%] Building C object accel-cmd/CMakeFiles/accel-cmd.dir/accel_cmd.c.o
  191. Linking C executable accel-cmd
  192. [ 98%] Built target accel-cmd
  193. Scanning dependencies of target vlan_mon_drv
  194. [100%] Generating driver/vlan_mon.ko
  195. /opt/accel-ppp-code/build/drivers/vlan_mon/driver/vlan_mon.c:678:9: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function)
  196.   .id  = GENL_ID_GENERATE,
  197.          ^
  198. /opt/accel-ppp-code/build/drivers/vlan_mon/driver/vlan_mon.c: In function ‘vlan_mon_init’:
  199. /opt/accel-ppp-code/build/drivers/vlan_mon/driver/vlan_mon.c:712:2: error: implicit declaration of function ‘genl_register_family_with_ops_groups’ [-Werror=implicit-function-declaration]
  200.   err = genl_register_family_with_ops_groups(&vlan_mon_nl_family, vlan_mon_nl_ops, vlan_mon_nl_mcgs);
  201.   ^
  202. cc1: some warnings being treated as errors
  203. make[4]: *** [/opt/accel-ppp-code/build/drivers/vlan_mon/driver/vlan_mon.o] Error 1
  204. make[3]: *** [_module_/opt/accel-ppp-code/build/drivers/vlan_mon/driver] Error 2
  205. make[2]: *** [drivers/vlan_mon/driver/vlan_mon.ko] Error 2
  206. make[1]: *** [drivers/vlan_mon/CMakeFiles/vlan_mon_drv.dir/all] Error 2
  207. make: *** [all] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top