Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 30.78 KB | None | 0 0
  1. /usr/src/rp-pppoe-3.12# dpkg-buildpackage
  2. dpkg-buildpackage: info: source package rp-pppoe
  3. dpkg-buildpackage: info: source version 3.12-1.1
  4. dpkg-buildpackage: info: source distribution unstable
  5. dpkg-buildpackage: info: source changed by Petter Reinholdtsen <pere@debian.org>
  6. dpkg-buildpackage: info: host architecture amd64
  7.  dpkg-source --before-build rp-pppoe-3.12
  8.  debian/rules clean
  9. dh_testdir
  10. dh_testroot
  11. rm -f build-stamp
  12. rm -f pppoe.prj pppoe.log .pppoe.prcs_aux
  13. [ ! -f src/Makefile ] || /usr/bin/make -C src distclean
  14. make[1]: Entering directory '/usr/src/rp-pppoe-3.12/src'
  15. rm -f *.o pppoe-relay pppoe pppoe-sniff pppoe-server core rp-pppoe.so plugin/*.o plugin/libplugin.a *~
  16. test -f licensed-only/Makefile && /usr/bin/make -C licensed-only clean || true
  17. test -f libevent/Makefile && /usr/bin/make -C libevent clean || true
  18. make[2]: Entering directory '/usr/src/rp-pppoe-3.12/src/libevent'
  19. rm -f *.a *.o *~
  20. make[2]: Leaving directory '/usr/src/rp-pppoe-3.12/src/libevent'
  21. test -f l2tp/Makefile && /usr/bin/make -C l2tp clean || true
  22. rm -f Makefile config.h config.cache config.log config.status
  23. rm -f libevent/Makefile
  24. rm -f ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-setup ../scripts/pppoe-init-suse ../scripts/pppoe-init-turbolinux
  25. make[1]: Leaving directory '/usr/src/rp-pppoe-3.12/src'
  26. [ ! -f gui/Makefile ] || /usr/bin/make -C gui distclean
  27. make[1]: Entering directory '/usr/src/rp-pppoe-3.12/gui'
  28. rm -f *.o *~ pppoe-wrapper
  29. rm -f Makefile tkpppoe
  30. make[1]: Leaving directory '/usr/src/rp-pppoe-3.12/gui'
  31. rm -f src/pppoe-relay
  32. rm -f debian/substvars.debhelper
  33. rm -f config.h config.log config.status
  34. rm -f Makefile libevent/Makefile
  35. dh_clean
  36.  dpkg-source -b rp-pppoe-3.12
  37. dpkg-source: info: using source format '3.0 (quilt)'
  38. dpkg-source: info: building rp-pppoe using existing ./rp-pppoe_3.12.orig.tar.gz
  39. dpkg-source: info: building rp-pppoe in rp-pppoe_3.12-1.1.debian.tar.xz
  40. dpkg-source: info: building rp-pppoe in rp-pppoe_3.12-1.1.dsc
  41.  debian/rules build
  42. dh_testdir
  43. test -f src/Makefile || (cd src && PPPD=/usr/sbin/pppd ./configure --enable-plugin)
  44. checking for gcc... gcc
  45. checking whether the C compiler works... yes
  46. checking for C compiler default output file name... a.out
  47. checking for suffix of executables...
  48. checking whether we are cross compiling... no
  49. checking for suffix of object files... o
  50. checking whether we are using the GNU C compiler... yes
  51. checking whether gcc accepts -g... yes
  52. checking for gcc option to accept ISO C89... none needed
  53. checking for ranlib... ranlib
  54. checking how to run the C preprocessor... gcc -E
  55. checking for grep that handles long lines and -e... /bin/grep
  56. checking for egrep... /bin/grep -E
  57. checking for ANSI C header files... yes
  58. checking for sys/wait.h that is POSIX.1 compatible... yes
  59. checking for sys/types.h... yes
  60. checking for sys/stat.h... yes
  61. checking for stdlib.h... yes
  62. checking for string.h... yes
  63. checking for memory.h... yes
  64. checking for strings.h... yes
  65. checking for inttypes.h... yes
  66. checking for stdint.h... yes
  67. checking for unistd.h... yes
  68. checking fcntl.h usability... yes
  69. checking fcntl.h presence... yes
  70. checking for fcntl.h... yes
  71. checking sys/dlpi.h usability... no
  72. checking sys/dlpi.h presence... no
  73. checking for sys/dlpi.h... no
  74. checking sys/ioctl.h usability... yes
  75. checking sys/ioctl.h presence... yes
  76. checking for sys/ioctl.h... yes
  77. checking sys/time.h usability... yes
  78. checking sys/time.h presence... yes
  79. checking for sys/time.h... yes
  80. checking syslog.h usability... yes
  81. checking syslog.h presence... yes
  82. checking for syslog.h... yes
  83. checking for unistd.h... (cached) yes
  84. checking net/if_arp.h usability... yes
  85. checking net/if_arp.h presence... yes
  86. checking for net/if_arp.h... yes
  87. checking netinet/if_ether.h usability... yes
  88. checking netinet/if_ether.h presence... yes
  89. checking for netinet/if_ether.h... yes
  90. checking getopt.h usability... yes
  91. checking getopt.h presence... yes
  92. checking for getopt.h... yes
  93. checking sys/uio.h usability... yes
  94. checking sys/uio.h presence... yes
  95. checking for sys/uio.h... yes
  96. checking sys/param.h usability... yes
  97. checking sys/param.h presence... yes
  98. checking for sys/param.h... yes
  99. checking for fcntl.h... (cached) yes
  100. checking net/bpf.h usability... no
  101. checking net/bpf.h presence... no
  102. checking for net/bpf.h... no
  103. checking netpacket/packet.h usability... yes
  104. checking netpacket/packet.h presence... yes
  105. checking for netpacket/packet.h... yes
  106. checking net/ethernet.h usability... yes
  107. checking net/ethernet.h presence... yes
  108. checking for net/ethernet.h... yes
  109. checking asm/types.h usability... yes
  110. checking asm/types.h presence... yes
  111. checking for asm/types.h... yes
  112. checking linux/if_packet.h usability... yes
  113. checking linux/if_packet.h presence... yes
  114. checking for linux/if_packet.h... yes
  115. checking linux/if_ether.h usability... yes
  116. checking linux/if_ether.h presence... yes
  117. checking for linux/if_ether.h... yes
  118. checking sys/socket.h usability... yes
  119. checking sys/socket.h presence... yes
  120. checking for sys/socket.h... yes
  121. checking sys/cdefs.h usability... yes
  122. checking sys/cdefs.h presence... yes
  123. checking for sys/cdefs.h... yes
  124. checking net/if.h usability... yes
  125. checking net/if.h presence... yes
  126. checking for net/if.h... yes
  127. checking net/if_dl.h usability... no
  128. checking net/if_dl.h presence... no
  129. checking for net/if_dl.h... no
  130. checking net/if_ether.h usability... no
  131. checking net/if_ether.h presence... no
  132. checking for net/if_ether.h... no
  133. checking net/if_types.h usability... no
  134. checking net/if_types.h presence... no
  135. checking for net/if_types.h... no
  136. checking for netinet/if_ether.h... (cached) yes
  137. checking for net/if_types.h... (cached) no
  138. checking for net/if_dl.h... (cached) no
  139. checking for linux/if.h... yes
  140. checking for linux/if_pppox.h... yes
  141. checking for an ANSI C-conforming const... yes
  142. checking for pid_t... yes
  143. checking whether time.h and sys/time.h may both be included... yes
  144. checking whether struct tm is in sys/time.h or time.h... time.h
  145. checking for struct sockaddr_ll... yes
  146. checking for N_HDLC line discipline... yes
  147. checking for working memcmp... yes
  148. checking return type of signal handlers... void
  149. checking for select... yes
  150. checking for socket... yes
  151. checking for strerror... yes
  152. checking for strtol... yes
  153. checking for a BSD-compatible install... /usr/bin/install -c
  154. checking size of unsigned short... 2
  155. checking size of unsigned int... 4
  156. checking size of unsigned long... 8
  157. checking for pppd... /usr/sbin/pppd
  158. checking for echo... /bin/echo
  159. checking for setsid... /usr/bin/setsid
  160. checking for id... /usr/bin/id
  161. checking for Linux 2.4.X kernel-mode PPPoE support... no
  162. *** Your kernel does not appear to have built-in PPPoE support,
  163. *** but I will build the kernel-mode plugin anyway.
  164. checking packing order of bit fields... reversed
  165. configure: creating ./config.status
  166. config.status: creating Makefile
  167. config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
  168. config.status: creating libevent/Makefile
  169. config.status: creating ../scripts/pppoe-connect
  170. config.status: creating ../scripts/pppoe-start
  171. config.status: creating ../scripts/pppoe-stop
  172. config.status: creating ../scripts/pppoe-init
  173. config.status: creating ../scripts/pppoe-init-suse
  174. config.status: creating ../scripts/pppoe-init-turbolinux
  175. config.status: creating ../scripts/pppoe-setup
  176. config.status: creating ../gui/Makefile
  177. config.status: WARNING:  '../gui/Makefile.in' seems to ignore the --datarootdir setting
  178. config.status: creating ../gui/tkpppoe
  179. config.status: creating config.h
  180. On this platform, the following targets will be built:
  181. pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so
  182. Type 'make' to compile the software.
  183. /usr/bin/make -C src
  184. make[1]: Entering directory '/usr/src/rp-pppoe-3.12/src'
  185. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -DAUTO_IFUP '-DVERSION="3.12"' -c -o pppoe.o pppoe.c
  186. pppoe.c:16:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  187.  static char const RCSID[] =
  188.                    ^~~~~
  189. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o if.o if.c
  190. if.c:18:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  191.  static char const RCSID[] =
  192.                    ^~~~~
  193. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o debug.o debug.c
  194. debug.c:18:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  195.  static char const RCSID[] =
  196.                    ^~~~~
  197. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o common.o common.c
  198. In file included from /usr/include/stdio.h:27:0,
  199.                  from pppoe.h:26,
  200.                  from common.c:26:
  201. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  202.  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  203.    ^~~~~~~
  204. common.c:18:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  205.  static char const RCSID[] =
  206.                    ^~~~~
  207. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o ppp.o ppp.c
  208. ppp.c:18:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  209.  static char const RCSID[] =
  210.                    ^~~~~
  211. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o discovery.o discovery.c
  212. discovery.c:13:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  213.  static char const RCSID[] =
  214.                    ^~~~~
  215. gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o -Wl,-z,relro
  216. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o pppoe-server.o pppoe-server.c
  217. In file included from /usr/include/stdio.h:27:0,
  218.                  from pppoe.h:26,
  219.                  from pppoe-server.h:18,
  220.                  from pppoe-server.c:29:
  221. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  222.  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  223.    ^~~~~~~
  224. pppoe-server.c:18:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  225.  static char const RCSID[] =
  226.                    ^~~~~
  227. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o md5.o md5.c
  228. cd libevent && /usr/bin/make DEFINES=""
  229. make[2]: Entering directory '/usr/src/rp-pppoe-3.12/src/libevent'
  230. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event.o event.c
  231. event.c:17:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  232.  static char const RCSID[] =
  233.                    ^~~~~
  234. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event_tcp.o event_tcp.c
  235. event_tcp.c:14:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  236.  static char const RCSID[] =
  237.                    ^~~~~
  238. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o hash.o hash.c
  239. hash.c:17:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  240.  static char const RCSID[] =
  241.                    ^~~~~
  242. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event_sig.o event_sig.c
  243. In file included from /usr/include/signal.h:28:0,
  244.                  from event_sig.c:23:
  245. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  246.  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  247.    ^~~~~~~
  248. event_sig.c:17:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  249.  static char const RCSID[] =
  250.                    ^~~~~
  251. rm -f libevent.a
  252. ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
  253. ranlib libevent.a
  254. make[2]: Leaving directory '/usr/src/rp-pppoe-3.12/src/libevent'
  255. gcc -o pppoe-server  pppoe-server.o if.o debug.o common.o md5.o libevent/libevent.a -Wl,-z,relro   -Llibevent -levent
  256. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o pppoe-sniff.o pppoe-sniff.c
  257. pppoe-sniff.c:17:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  258.  static char const RCSID[] =
  259.                    ^~~~~
  260. gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o -Wl,-z,relro
  261. gcc -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.12"' -c -o relay.o relay.c
  262. relay.c:17:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  263.  static char const RCSID[] =
  264.                    ^~~~~
  265. gcc -o pppoe-relay relay.o if.o debug.o common.o -Wl,-z,relro
  266. gcc -DPLUGIN=1 '-DRP_VERSION="3.12"' -g -O2 -fdebug-prefix-map=/usr/src/rp-pppoe-3.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/usr/include -c -o plugin/plugin.o -fPIC plugin.c
  267. In file included from pppoe.h:134:0,
  268.                  from plugin.c:31:
  269. /usr/include/linux/in.h:28:3: error: redeclaration of enumerator ‘IPPROTO_IP’
  270.    IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
  271.    ^
  272. /usr/include/netinet/in.h:42:5: note: previous definition of ‘IPPROTO_IP’ was here
  273.      IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
  274.      ^~~~~~~~~~
  275. /usr/include/linux/in.h:30:3: error: redeclaration of enumerator ‘IPPROTO_ICMP’
  276.    IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
  277.    ^
  278. /usr/include/netinet/in.h:44:5: note: previous definition of ‘IPPROTO_ICMP’ was here
  279.      IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
  280.      ^~~~~~~~~~~~
  281. /usr/include/linux/in.h:32:3: error: redeclaration of enumerator ‘IPPROTO_IGMP’
  282.    IPPROTO_IGMP = 2,  /* Internet Group Management Protocol */
  283.    ^
  284. /usr/include/netinet/in.h:46:5: note: previous definition of ‘IPPROTO_IGMP’ was here
  285.      IPPROTO_IGMP = 2,    /* Internet Group Management Protocol. */
  286.      ^~~~~~~~~~~~
  287. /usr/include/linux/in.h:34:3: error: redeclaration of enumerator ‘IPPROTO_IPIP’
  288.    IPPROTO_IPIP = 4,  /* IPIP tunnels (older KA9Q tunnels use 94) */
  289.    ^
  290. /usr/include/netinet/in.h:48:5: note: previous definition of ‘IPPROTO_IPIP’ was here
  291.      IPPROTO_IPIP = 4,    /* IPIP tunnels (older KA9Q tunnels use 94).  */
  292.      ^~~~~~~~~~~~
  293. /usr/include/linux/in.h:36:3: error: redeclaration of enumerator ‘IPPROTO_TCP’
  294.    IPPROTO_TCP = 6,  /* Transmission Control Protocol */
  295.    ^
  296. /usr/include/netinet/in.h:50:5: note: previous definition of ‘IPPROTO_TCP’ was here
  297.      IPPROTO_TCP = 6,    /* Transmission Control Protocol.  */
  298.      ^~~~~~~~~~~
  299. /usr/include/linux/in.h:38:3: error: redeclaration of enumerator ‘IPPROTO_EGP’
  300.    IPPROTO_EGP = 8,  /* Exterior Gateway Protocol  */
  301.    ^
  302. /usr/include/netinet/in.h:52:5: note: previous definition of ‘IPPROTO_EGP’ was here
  303.      IPPROTO_EGP = 8,    /* Exterior Gateway Protocol.  */
  304.      ^~~~~~~~~~~
  305. /usr/include/linux/in.h:40:3: error: redeclaration of enumerator ‘IPPROTO_PUP’
  306.    IPPROTO_PUP = 12,  /* PUP protocol    */
  307.    ^
  308. /usr/include/netinet/in.h:54:5: note: previous definition of ‘IPPROTO_PUP’ was here
  309.      IPPROTO_PUP = 12,    /* PUP protocol.  */
  310.      ^~~~~~~~~~~
  311. /usr/include/linux/in.h:42:3: error: redeclaration of enumerator ‘IPPROTO_UDP’
  312.    IPPROTO_UDP = 17,  /* User Datagram Protocol  */
  313.    ^
  314. /usr/include/netinet/in.h:56:5: note: previous definition of ‘IPPROTO_UDP’ was here
  315.      IPPROTO_UDP = 17,    /* User Datagram Protocol.  */
  316.      ^~~~~~~~~~~
  317. /usr/include/linux/in.h:44:3: error: redeclaration of enumerator ‘IPPROTO_IDP’
  318.    IPPROTO_IDP = 22,  /* XNS IDP protocol   */
  319.    ^
  320. /usr/include/netinet/in.h:58:5: note: previous definition of ‘IPPROTO_IDP’ was here
  321.      IPPROTO_IDP = 22,    /* XNS IDP protocol.  */
  322.      ^~~~~~~~~~~
  323. /usr/include/linux/in.h:46:3: error: redeclaration of enumerator ‘IPPROTO_TP’
  324.    IPPROTO_TP = 29,  /* SO Transport Protocol Class 4 */
  325.    ^
  326. /usr/include/netinet/in.h:60:5: note: previous definition of ‘IPPROTO_TP’ was here
  327.      IPPROTO_TP = 29,    /* SO Transport Protocol Class 4.  */
  328.      ^~~~~~~~~~
  329. /usr/include/linux/in.h:48:3: error: redeclaration of enumerator ‘IPPROTO_DCCP’
  330.    IPPROTO_DCCP = 33,  /* Datagram Congestion Control Protocol */
  331.    ^
  332. /usr/include/netinet/in.h:62:5: note: previous definition of ‘IPPROTO_DCCP’ was here
  333.      IPPROTO_DCCP = 33,    /* Datagram Congestion Control Protocol.  */
  334.      ^~~~~~~~~~~~
  335. /usr/include/linux/in.h:50:3: error: redeclaration of enumerator ‘IPPROTO_IPV6’
  336.    IPPROTO_IPV6 = 41,  /* IPv6-in-IPv4 tunnelling  */
  337.    ^
  338. /usr/include/netinet/in.h:64:5: note: previous definition of ‘IPPROTO_IPV6’ was here
  339.      IPPROTO_IPV6 = 41,     /* IPv6 header.  */
  340.      ^~~~~~~~~~~~
  341. /usr/include/linux/in.h:52:3: error: redeclaration of enumerator ‘IPPROTO_RSVP’
  342.    IPPROTO_RSVP = 46,  /* RSVP Protocol   */
  343.    ^
  344. /usr/include/netinet/in.h:66:5: note: previous definition of ‘IPPROTO_RSVP’ was here
  345.      IPPROTO_RSVP = 46,    /* Reservation Protocol.  */
  346.      ^~~~~~~~~~~~
  347. /usr/include/linux/in.h:54:3: error: redeclaration of enumerator ‘IPPROTO_GRE’
  348.    IPPROTO_GRE = 47,  /* Cisco GRE tunnels (rfc 1701,1702) */
  349.    ^
  350. /usr/include/netinet/in.h:68:5: note: previous definition of ‘IPPROTO_GRE’ was here
  351.      IPPROTO_GRE = 47,    /* General Routing Encapsulation.  */
  352.      ^~~~~~~~~~~
  353. /usr/include/linux/in.h:56:3: error: redeclaration of enumerator ‘IPPROTO_ESP’
  354.    IPPROTO_ESP = 50,  /* Encapsulation Security Payload protocol */
  355.    ^
  356. /usr/include/netinet/in.h:70:5: note: previous definition of ‘IPPROTO_ESP’ was here
  357.      IPPROTO_ESP = 50,      /* encapsulating security payload.  */
  358.      ^~~~~~~~~~~
  359. /usr/include/linux/in.h:58:3: error: redeclaration of enumerator ‘IPPROTO_AH’
  360.    IPPROTO_AH = 51,  /* Authentication Header protocol */
  361.    ^
  362. /usr/include/netinet/in.h:72:5: note: previous definition of ‘IPPROTO_AH’ was here
  363.      IPPROTO_AH = 51,       /* authentication header.  */
  364.      ^~~~~~~~~~
  365. /usr/include/linux/in.h:60:3: error: redeclaration of enumerator ‘IPPROTO_MTP’
  366.    IPPROTO_MTP = 92,  /* Multicast Transport Protocol  */
  367.    ^
  368. /usr/include/netinet/in.h:74:5: note: previous definition of ‘IPPROTO_MTP’ was here
  369.      IPPROTO_MTP = 92,    /* Multicast Transport Protocol.  */
  370.      ^~~~~~~~~~~
  371. /usr/include/linux/in.h:62:3: error: redeclaration of enumerator ‘IPPROTO_BEETPH’
  372.    IPPROTO_BEETPH = 94,  /* IP option pseudo header for BEET */
  373.    ^
  374. /usr/include/netinet/in.h:76:5: note: previous definition of ‘IPPROTO_BEETPH’ was here
  375.      IPPROTO_BEETPH = 94,   /* IP option pseudo header for BEET.  */
  376.      ^~~~~~~~~~~~~~
  377. /usr/include/linux/in.h:64:3: error: redeclaration of enumerator ‘IPPROTO_ENCAP’
  378.    IPPROTO_ENCAP = 98,  /* Encapsulation Header   */
  379.    ^
  380. /usr/include/netinet/in.h:78:5: note: previous definition of ‘IPPROTO_ENCAP’ was here
  381.      IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
  382.      ^~~~~~~~~~~~~
  383. /usr/include/linux/in.h:66:3: error: redeclaration of enumerator ‘IPPROTO_PIM’
  384.    IPPROTO_PIM = 103,  /* Protocol Independent Multicast */
  385.    ^
  386. /usr/include/netinet/in.h:80:5: note: previous definition of ‘IPPROTO_PIM’ was here
  387.      IPPROTO_PIM = 103,    /* Protocol Independent Multicast.  */
  388.      ^~~~~~~~~~~
  389. /usr/include/linux/in.h:68:3: error: redeclaration of enumerator ‘IPPROTO_COMP’
  390.    IPPROTO_COMP = 108,  /* Compression Header Protocol  */
  391.    ^
  392. /usr/include/netinet/in.h:82:5: note: previous definition of ‘IPPROTO_COMP’ was here
  393.      IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
  394.      ^~~~~~~~~~~~
  395. /usr/include/linux/in.h:70:3: error: redeclaration of enumerator ‘IPPROTO_SCTP’
  396.    IPPROTO_SCTP = 132,  /* Stream Control Transport Protocol */
  397.    ^
  398. /usr/include/netinet/in.h:84:5: note: previous definition of ‘IPPROTO_SCTP’ was here
  399.      IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  */
  400.      ^~~~~~~~~~~~
  401. /usr/include/linux/in.h:72:3: error: redeclaration of enumerator ‘IPPROTO_UDPLITE’
  402.    IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828)   */
  403.    ^
  404. /usr/include/netinet/in.h:86:5: note: previous definition of ‘IPPROTO_UDPLITE’ was here
  405.      IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
  406.      ^~~~~~~~~~~~~~~
  407. /usr/include/linux/in.h:74:3: error: redeclaration of enumerator ‘IPPROTO_MPLS’
  408.    IPPROTO_MPLS = 137,  /* MPLS in IP (RFC 4023)  */
  409.    ^
  410. /usr/include/netinet/in.h:88:5: note: previous definition of ‘IPPROTO_MPLS’ was here
  411.      IPPROTO_MPLS = 137,    /* MPLS in IP.  */
  412.      ^~~~~~~~~~~~
  413. /usr/include/linux/in.h:76:3: error: redeclaration of enumerator ‘IPPROTO_RAW’
  414.    IPPROTO_RAW = 255,  /* Raw IP packets   */
  415.    ^
  416. /usr/include/netinet/in.h:90:5: note: previous definition of ‘IPPROTO_RAW’ was here
  417.      IPPROTO_RAW = 255,    /* Raw IP packets.  */
  418.      ^~~~~~~~~~~
  419. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  420.                  from /usr/include/linux/if_pppox.h:26,
  421.                  from plugin.c:55:
  422. /usr/include/linux/in.h:78:3: error: redeclaration of enumerator ‘IPPROTO_MAX’
  423.    IPPROTO_MAX
  424.    ^~~~~~~~~~~
  425. In file included from pppoe.h:134:0,
  426.                  from plugin.c:31:
  427. /usr/include/netinet/in.h:92:5: note: previous definition of ‘IPPROTO_MAX’ was here
  428.      IPPROTO_MAX
  429.      ^~~~~~~~~~~
  430. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  431.                  from /usr/include/linux/if_pppox.h:26,
  432.                  from plugin.c:55:
  433. /usr/include/linux/in.h:84:8: error: redefinition of ‘struct in_addr’
  434.  struct in_addr {
  435.         ^~~~~~~
  436. In file included from pppoe.h:134:0,
  437.                  from plugin.c:31:
  438. /usr/include/netinet/in.h:31:8: note: originally defined here
  439.  struct in_addr
  440.         ^~~~~~~
  441. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  442.                  from /usr/include/linux/if_pppox.h:26,
  443.                  from plugin.c:55:
  444. /usr/include/linux/in.h:166:8: error: redefinition of ‘struct ip_mreq’
  445.  struct ip_mreq  {
  446.         ^~~~~~~
  447. In file included from pppoe.h:134:0,
  448.                  from plugin.c:31:
  449. /usr/include/netinet/in.h:266:8: note: originally defined here
  450.  struct ip_mreq
  451.         ^~~~~~~
  452. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  453.                  from /usr/include/linux/if_pppox.h:26,
  454.                  from plugin.c:55:
  455. /usr/include/linux/in.h:171:8: error: redefinition of ‘struct ip_mreqn’
  456.  struct ip_mreqn {
  457.         ^~~~~~~~
  458. In file included from /usr/include/netinet/in.h:37:0,
  459.                  from pppoe.h:134,
  460.                  from plugin.c:31:
  461. /usr/include/x86_64-linux-gnu/bits/in.h:148:8: note: originally defined here
  462.  struct ip_mreqn
  463.         ^~~~~~~~
  464. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  465.                  from /usr/include/linux/if_pppox.h:26,
  466.                  from plugin.c:55:
  467. /usr/include/linux/in.h:177:8: error: redefinition of ‘struct ip_mreq_source’
  468.  struct ip_mreq_source {
  469.         ^~~~~~~~~~~~~~
  470. In file included from pppoe.h:134:0,
  471.                  from plugin.c:31:
  472. /usr/include/netinet/in.h:275:8: note: originally defined here
  473.  struct ip_mreq_source
  474.         ^~~~~~~~~~~~~~
  475. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  476.                  from /usr/include/linux/if_pppox.h:26,
  477.                  from plugin.c:55:
  478. /usr/include/linux/in.h:183:8: error: redefinition of ‘struct ip_msfilter’
  479.  struct ip_msfilter {
  480.         ^~~~~~~~~~~
  481. In file included from pppoe.h:134:0,
  482.                  from plugin.c:31:
  483. /usr/include/netinet/in.h:325:8: note: originally defined here
  484.  struct ip_msfilter
  485.         ^~~~~~~~~~~
  486. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  487.                  from /usr/include/linux/if_pppox.h:26,
  488.                  from plugin.c:55:
  489. /usr/include/linux/in.h:195:8: error: redefinition of ‘struct group_req’
  490.  struct group_req {
  491.         ^~~~~~~~~
  492. In file included from pppoe.h:134:0,
  493.                  from plugin.c:31:
  494. /usr/include/netinet/in.h:302:8: note: originally defined here
  495.  struct group_req
  496.         ^~~~~~~~~
  497. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  498.                  from /usr/include/linux/if_pppox.h:26,
  499.                  from plugin.c:55:
  500. /usr/include/linux/in.h:200:8: error: redefinition of ‘struct group_source_req’
  501.  struct group_source_req {
  502.         ^~~~~~~~~~~~~~~~
  503. In file included from pppoe.h:134:0,
  504.                  from plugin.c:31:
  505. /usr/include/netinet/in.h:311:8: note: originally defined here
  506.  struct group_source_req
  507.         ^~~~~~~~~~~~~~~~
  508. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  509.                  from /usr/include/linux/if_pppox.h:26,
  510.                  from plugin.c:55:
  511. /usr/include/linux/in.h:206:8: error: redefinition of ‘struct group_filter’
  512.  struct group_filter {
  513.         ^~~~~~~~~~~~
  514. In file included from pppoe.h:134:0,
  515.                  from plugin.c:31:
  516. /usr/include/netinet/in.h:346:8: note: originally defined here
  517.  struct group_filter
  518.         ^~~~~~~~~~~~
  519. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  520.                  from /usr/include/linux/if_pppox.h:26,
  521.                  from plugin.c:55:
  522. /usr/include/linux/in.h:220:8: error: redefinition of ‘struct in_pktinfo’
  523.  struct in_pktinfo {
  524.         ^~~~~~~~~~
  525. In file included from /usr/include/netinet/in.h:37:0,
  526.                  from pppoe.h:134,
  527.                  from plugin.c:31:
  528. /usr/include/x86_64-linux-gnu/bits/in.h:156:8: note: originally defined here
  529.  struct in_pktinfo
  530.         ^~~~~~~~~~
  531. In file included from /usr/include/linux/if_pppol2tp.h:19:0,
  532.                  from /usr/include/linux/if_pppox.h:26,
  533.                  from plugin.c:55:
  534. /usr/include/linux/in.h:230:8: error: redefinition of ‘struct sockaddr_in’
  535.  struct sockaddr_in {
  536.         ^~~~~~~~~~~
  537. In file included from pppoe.h:51:0,
  538.                  from plugin.c:31:
  539. /usr/include/x86_64-linux-gnu/sys/socket.h:90:17: note: originally defined here
  540.  typedef union { __SOCKADDR_ALLTYPES
  541.                  ^
  542. In file included from /usr/include/linux/if_pppol2tp.h:20:0,
  543.                  from /usr/include/linux/if_pppox.h:26,
  544.                  from plugin.c:55:
  545. /usr/include/linux/in6.h:32:8: error: redefinition of ‘struct in6_addr’
  546.  struct in6_addr {
  547.         ^~~~~~~~
  548. In file included from pppoe.h:134:0,
  549.                  from plugin.c:31:
  550. /usr/include/netinet/in.h:211:8: note: originally defined here
  551.  struct in6_addr
  552.         ^~~~~~~~
  553. In file included from /usr/include/linux/if_pppol2tp.h:20:0,
  554.                  from /usr/include/linux/if_pppox.h:26,
  555.                  from plugin.c:55:
  556. /usr/include/linux/in6.h:49:8: error: redefinition of ‘struct sockaddr_in6’
  557.  struct sockaddr_in6 {
  558.         ^~~~~~~~~~~~
  559. In file included from pppoe.h:51:0,
  560.                  from plugin.c:31:
  561. /usr/include/x86_64-linux-gnu/sys/socket.h:90:17: note: originally defined here
  562.  typedef union { __SOCKADDR_ALLTYPES
  563.                  ^
  564. In file included from /usr/include/linux/if_pppol2tp.h:20:0,
  565.                  from /usr/include/linux/if_pppox.h:26,
  566.                  from plugin.c:55:
  567. /usr/include/linux/in6.h:59:8: error: redefinition of ‘struct ipv6_mreq’
  568.  struct ipv6_mreq {
  569.         ^~~~~~~~~
  570. In file included from pppoe.h:134:0,
  571.                  from plugin.c:31:
  572. /usr/include/netinet/in.h:290:8: note: originally defined here
  573.  struct ipv6_mreq
  574.         ^~~~~~~~~
  575. plugin.c:27:19: warning: ‘RCSID’ defined but not used [-Wunused-const-variable=]
  576.  static char const RCSID[] =
  577.                    ^~~~~
  578. Makefile:139: recipe for target 'plugin/plugin.o' failed
  579. make[1]: *** [plugin/plugin.o] Error 1
  580. make[1]: Leaving directory '/usr/src/rp-pppoe-3.12/src'
  581. debian/rules:13: recipe for target 'build-stamp' failed
  582. make: *** [build-stamp] Error 2
  583. dpkg-buildpackage: error: debian/rules build gave error exit status 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement