Advertisement
Guest User

click build error

a guest
Jun 28th, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 21.75 KB | None | 0 0
  1. checking build system type... x86_64-pc-linux-gnu
  2. checking host system type... x86_64-pc-linux-gnu
  3. checking target system type... x86_64-pc-linux-gnu
  4. checking for gcc... gcc
  5. checking for g++... g++
  6. checking for gcc... (cached) gcc
  7. checking whether the C compiler works... yes
  8. checking for C compiler default output file name... a.out
  9. checking for suffix of executables...
  10. checking whether we are cross compiling... no
  11. checking for suffix of object files... o
  12. checking whether we are using the GNU C compiler... yes
  13. checking whether gcc accepts -g... yes
  14. checking for gcc option to accept ISO C89... none needed
  15. checking how to run the C preprocessor... gcc -E
  16. checking for grep that handles long lines and -e... /usr/bin/grep
  17. checking for egrep... /usr/bin/grep -E
  18. checking for ANSI C header files... yes
  19. checking for sys/types.h... yes
  20. checking for sys/stat.h... yes
  21. checking for stdlib.h... yes
  22. checking for string.h... yes
  23. checking for memory.h... yes
  24. checking for strings.h... yes
  25. checking for inttypes.h... yes
  26. checking for stdint.h... yes
  27. checking for unistd.h... yes
  28. checking for sys/types.h... (cached) yes
  29. checking for unistd.h... (cached) yes
  30. checking for stdint.h... (cached) yes
  31. checking for inttypes.h... (cached) yes
  32. checking for endian.h... yes
  33. checking for machine/endian.h... no
  34. checking for byteswap.h... yes
  35. checking for strings.h... (cached) yes
  36. checking for time.h... yes
  37. checking for termio.h... yes
  38. checking for netdb.h... yes
  39. checking for sys/event.h... no
  40. checking for pwd.h... yes
  41. checking for grp.h... yes
  42. checking for execinfo.h... yes
  43. checking for poll.h... yes
  44. checking for dlfcn.h... yes
  45. checking for sys/mman.h... yes
  46. checking for stdlib.h... (cached) yes
  47. checking for sys/param.h... yes
  48. checking for ifaddrs.h... yes
  49. checking for linux/if_tun.h... yes
  50. checking for net/if_dl.h... no
  51. checking for net/if_tap.h... no
  52. checking for net/if_tun.h... no
  53. checking for net/if_types.h... no
  54. checking for net/bpf.h... no
  55. checking for netpacket/packet.h... yes
  56. checking whether the C compiler accepts -W -Wall... yes
  57. checking whether the C compiler accepts -Werror... yes
  58. checking how to run the C preprocessor... gcc -E
  59. checking for inline... inline
  60. checking whether we are using the GNU C++ compiler... yes
  61. checking whether g++ accepts -g... yes
  62. checking whether <new> works... yes
  63. checking whether the C++ compiler understands 'auto'... yes
  64. checking whether the C++ compiler understands constexpr... yes
  65. checking whether the C++ compiler understands rvalue references... yes
  66. checking whether the C++ compiler understands static_assert... yes
  67. checking whether the C++ compiler understands template alias... yes
  68. checking whether the C++ compiler understands #pragma interface... yes
  69. checking how to run the C++ preprocessor... g++ -E
  70. checking for ar... ar
  71. checking for ld... ld
  72. checking for nm... nm
  73. checking for objcopy... objcopy
  74. checking for ranlib... ranlib
  75. checking for strip... strip
  76. checking whether we are compiling for Linux... yes
  77. checking for strerror... yes
  78. checking for random... yes
  79. checking for snprintf... yes
  80. checking for strnlen... yes
  81. checking for strtof... yes
  82. checking for strtold... yes
  83. checking for strtoul... yes
  84. checking for tcgetpgrp... yes
  85. checking for vsnprintf... yes
  86. checking size of int... 4
  87. checking size of long... 8
  88. checking size of size_t... 8
  89. checking size of ptrdiff_t... 8
  90. checking size of void *... 8
  91. checking whether char is unsigned... no
  92. checking whether machine is indifferent to alignment... yes
  93. checking size of long long... 8
  94. checking for long long... yes
  95. checking for int64_t... yes
  96. checking for uint64_t... yes
  97. checking whether long and int64_t are the same type... yes
  98. checking whether long long and int64_t are the same type... no
  99. checking whether byte ordering is bigendian... no
  100. checking whether signed right shift is arithmetic... yes
  101. checking for addressable va_list type... no
  102. checking for __builtin_clz... yes
  103. checking for __builtin_clzl... yes
  104. checking for __builtin_clzll... yes
  105. checking for __builtin_ffs... yes
  106. checking for __builtin_ffsl... yes
  107. checking for __builtin_ffsll... yes
  108. checking for __sync_synchronize... yes
  109. checking whether __sync_synchronize supports arguments... no
  110. checking for __has_trivial_copy... yes
  111. checking for __thread storage class support... yes
  112. checking for ffs... yes
  113. checking for ffsl... yes
  114. checking for ffsll... yes
  115. checking size of struct timeval... 16
  116. checking for struct timespec... yes
  117. checking size of struct timespec... 16
  118. checking whether clock_gettime is declared... yes
  119. checking for library containing clock_gettime... none required
  120. checking for clock_gettime... yes
  121. checking whether <poll.h> is emulated... no
  122. checking for pselect... yes
  123. checking for sigaction... yes
  124. checking for kqueue... no
  125. checking for dlopen in -ldl... yes
  126. checking whether linker accepts the -rdynamic flag... yes
  127. checking compiler flags for building loadable modules... -shared
  128. checking for library containing gethostbyname... none required
  129. checking for library containing connect... none required
  130. checking whether accept() uses socklen_t... yes
  131. checking for large file support in C library... yes
  132. checking size of off_t... 8
  133. checking for getpagesize... yes
  134. checking for working mmap... yes
  135. checking for madvise... yes
  136. checking whether madvise is declared... yes
  137. checking for Linux System.map... /usr/src/linux/System.map
  138. checking Linux version... 5.18.7
  139. checking for Click Linux kernel extensions... no
  140. checking for Click Linux kernel extensions for transmit notification... no
  141. checking for read_net_skbcount kernel extension... no
  142. checking for strlen kernel symbol... yes
  143. checking for tulip_interrupt_hook kernel symbol... no
  144. checking for files_lock kernel symbol... no
  145. checking for files_lglock kernel symbol... no
  146. checking for sb_lock kernel symbol... no
  147. checking for dev_ioctl kernel symbol... no
  148. checking for devinet_ioctl kernel symbol... no
  149. checking for inet_ioctl kernel symbol... yes
  150. checking for inet_ctl_sock_create kernel symbol... yes
  151. checking for <linux/ktime.h>... yes
  152. checking for pcap.h... found
  153. checking whether pcap.h works... yes
  154. checking for bpf_timeval in pcap.h... no
  155. checking whether pcap_setnonblock is declared... yes
  156. checking for -lpcap... found
  157. checking for pcap_inject... yes
  158. checking for pcap_sendpacket... yes
  159. checking for pcap_setdirection... yes
  160. checking for pcap_setnonblock... yes
  161. checking for pcap_set_immediate_mode... yes
  162. checking for net/netmap.h... not found
  163. checking whether struct if_data has ifi_datalen... no
  164. checking whether struct sockaddr_in has sin_len... no
  165. checking expat.h usability... yes
  166. checking expat.h presence... yes
  167. checking for expat.h... yes
  168. checking for XML_ParserCreateNS in -lexpat... yes
  169. checking for Linux kernel compilation flags...   -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h
  170. -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h
  171. -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -D__KERNEL__ -fmacro-prefix-map=./=
  172. -D__KERNEL__ -fmacro-prefix-map=./=
  173. -D__KERNEL__ -fmacro-prefix-map=./=     -fno-strict-aliasing  -fshort-wchar -fno-PIE      -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel  -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks     -O2 -fno-allow-store-data-races  -fstack-protector-strong       -ftrivial-auto-var-init=zero  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY           -fno-strict-overflow -fno-stack-check -fconserve-stack     -g -gdwarf-5
  174.     -fno-strict-aliasing  -fshort-wchar -fno-PIE      -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel  -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks     -O2 -fno-allow-store-data-races  -fstack-protector-strong       -ftrivial-auto-var-init=zero  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY           -fno-strict-overflow -fno-stack-check -fconserve-stack     -g -gdwarf-5 $(subdir-ccflags-y)
  175.     -fno-strict-aliasing  -fshort-wchar -fno-PIE      -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel  -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -fno-jump-tables -mharden-sls=all -fno-delete-null-pointer-checks     -O2 -fno-allow-store-data-races  -fstack-protector-strong       -ftrivial-auto-var-init=zero  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY           -fno-strict-overflow -fno-stack-check -fconserve-stack     -g -gdwarf-5
  176. configure: making C++-safe versions of Linux kernel headers (may take a while)
  177. checking for C++-includable kernel header files... no
  178. configure: WARNING:
  179. =========================================
  180.  
  181. Your Linux kernel header files cause errors when included by a C++ program,
  182. so I won't try to compile the linuxmodule driver.
  183.  
  184. Click modifies the Linux kernel's header files to make them work with
  185. C++, using the program 'linuxmodule/click-linuxtool.pl'. It looks like
  186. your kernel header files have features the tool doesn't know how to fix.
  187. You can report this error to us via a Github issue, or, even better,
  188. try to fix the error. See the config.log file for more information on the
  189. error.
  190.  
  191. =========================================
  192. checking for a BSD-compatible install... /usr/bin/install -c
  193. checking whether install accepts -C... yes
  194. checking for GNU make... make
  195. checking for working autoconf... found
  196. checking for perl5... no
  197. checking for perl... perl
  198. checking for gawk... gawk
  199. checking for grep that handles long lines and -e... (cached) /usr/bin/grep
  200. checking for egrep... (cached) /usr/bin/grep -E
  201. checking for md5sum... md5sum
  202. checking for working makeinfo... found
  203. checking for working texi2dvi... found
  204. checking for install-info... /usr/bin/install-info
  205. checking for working install-info... found
  206. checking for working pod2man... found
  207. configure: creating ./config.status
  208. config.status: creating Makefile
  209. config.status: creating bin/click-buildtool
  210. config.status: creating bin/click-compile
  211. config.status: creating installch
  212. config.status: creating share/click/config.mk
  213. config.status: creating share/click/pkg-config.mk
  214. config.status: creating doc/Makefile
  215. config.status: creating etc/libclick/Makefile
  216. config.status: creating tools/Makefile
  217. config.status: creating tools/lib/Makefile
  218. config.status: creating bsdmodule/Makefile
  219. config.status: creating linuxmodule/Makefile
  220. config.status: creating minios/Makefile
  221. config.status: creating minios/config.mk
  222. config.status: creating ns/Makefile
  223. config.status: creating userlevel/Makefile
  224. config.status: creating tools/click-align/Makefile
  225. config.status: creating tools/click-check/Makefile
  226. config.status: creating tools/click-combine/Makefile
  227. config.status: creating tools/click-devirtualize/Makefile
  228. config.status: creating tools/click-fastclassifier/Makefile
  229. config.status: creating tools/click-flatten/Makefile
  230. config.status: creating tools/click-install/Makefile
  231. config.status: creating tools/click-mkmindriver/Makefile
  232. config.status: creating tools/click-pretty/Makefile
  233. config.status: creating tools/click-undead/Makefile
  234. config.status: creating tools/click-xform/Makefile
  235. config.status: creating tools/click2xml/Makefile
  236. config.status: creating include/click/config.h
  237. config.status: include/click/config.h is unchanged
  238. config.status: creating include/click/pathvars.h
  239. config.status: include/click/pathvars.h is unchanged
  240. config.status: creating include/click/config-bsdmodule.h
  241. config.status: include/click/config-bsdmodule.h is unchanged
  242. config.status: creating include/click/config-linuxmodule.h
  243. config.status: include/click/config-linuxmodule.h is unchanged
  244. config.status: creating include/click/config-ns.h
  245. config.status: include/click/config-ns.h is unchanged
  246. config.status: creating include/click/config-userlevel.h
  247. config.status: include/click/config-userlevel.h is unchanged
  248. config.status: creating include/click/config-minios.h
  249. config.status: include/click/config-minios.h is unchanged
  250. make[1]: Entering directory '/home/kyc/cs/archlinux/aur/clickrouter-git/src/clickrouter-git/userlevel'
  251.  FINDELEMENTS elements.conf
  252.  CREATE elements.mk
  253.  CXX ../lib/userutils.cc
  254.  AR libclick.a
  255. ar: `u' modifier ignored since `D' is the default (see `U')
  256.   RANLIB libclick.a
  257.   CXX ../elements/ip6/addresstranslator.cc
  258. In file included from ../include/clicknet/ip6.h:6,
  259.                  from ../include/click/ip6address.hh:5,
  260.                  from ../elements/ip6/addresstranslator.hh:3,
  261.                  from ../elements/ip6/addresstranslator.cc:17:
  262. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  263.    12 | # define true           linux_true
  264.       |                         ^~~~~~~~~~
  265. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  266.    12 | # define true           linux_true
  267.       |                         ^~~~~~~~~~
  268. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  269.    12 | # define true           linux_true
  270.       |                         ^~~~~~~~~~
  271. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  272.    12 | # define true           linux_true
  273.       |                         ^~~~~~~~~~
  274. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  275.    12 | # define true           linux_true
  276.       |                         ^~~~~~~~~~
  277. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  278.    12 | # define true           linux_true
  279.       |                         ^~~~~~~~~~
  280. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  281.    12 | # define true           linux_true
  282.       |                         ^~~~~~~~~~
  283. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  284.    12 | # define true           linux_true
  285.       |                         ^~~~~~~~~~
  286. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  287.    12 | # define true           linux_true
  288.       |                         ^~~~~~~~~~
  289. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  290.    12 | # define true           linux_true
  291.       |                         ^~~~~~~~~~
  292. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  293.    12 | # define true           linux_true
  294.       |                         ^~~~~~~~~~
  295. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  296.    12 | # define true           linux_true
  297.       |                         ^~~~~~~~~~
  298. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  299.    12 | # define true           linux_true
  300.       |                         ^~~~~~~~~~
  301. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  302.    12 | # define true           linux_true
  303.       |                         ^~~~~~~~~~
  304. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  305.    12 | # define true           linux_true
  306.       |                         ^~~~~~~~~~
  307. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  308.    12 | # define true           linux_true
  309.       |                         ^~~~~~~~~~
  310. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  311.    12 | # define true           linux_true
  312.       |                         ^~~~~~~~~~
  313. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  314.    12 | # define true           linux_true
  315.       |                         ^~~~~~~~~~
  316. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  317.    12 | # define true           linux_true
  318.       |                         ^~~~~~~~~~
  319. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  320.    12 | # define true           linux_true
  321.       |                         ^~~~~~~~~~
  322. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  323.    12 | # define true           linux_true
  324.       |                         ^~~~~~~~~~
  325. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  326.    12 | # define true           linux_true
  327.       |                         ^~~~~~~~~~
  328. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  329.    12 | # define true           linux_true
  330.       |                         ^~~~~~~~~~
  331. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  332.    12 | # define true           linux_true
  333.       |                         ^~~~~~~~~~
  334. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  335.    12 | # define true           linux_true
  336.       |                         ^~~~~~~~~~
  337. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  338.    12 | # define true           linux_true
  339.       |                         ^~~~~~~~~~
  340. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  341.    12 | # define true           linux_true
  342.       |                         ^~~~~~~~~~
  343. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  344.    12 | # define true           linux_true
  345.       |                         ^~~~~~~~~~
  346. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  347.    12 | # define true           linux_true
  348.       |                         ^~~~~~~~~~
  349. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  350.    12 | # define true           linux_true
  351.       |                         ^~~~~~~~~~
  352. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  353.    12 | # define true           linux_true
  354.       |                         ^~~~~~~~~~
  355. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  356.    12 | # define true           linux_true
  357.       |                         ^~~~~~~~~~
  358. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  359.    12 | # define true           linux_true
  360.       |                         ^~~~~~~~~~
  361. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  362.    12 | # define true           linux_true
  363.       |                         ^~~~~~~~~~
  364. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  365.    12 | # define true           linux_true
  366.       |                         ^~~~~~~~~~
  367. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  368.    12 | # define true           linux_true
  369.       |                         ^~~~~~~~~~
  370. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  371.    12 | # define true           linux_true
  372.       |                         ^~~~~~~~~~
  373. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  374.    12 | # define true           linux_true
  375.       |                         ^~~~~~~~~~
  376. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  377.    12 | # define true           linux_true
  378.       |                         ^~~~~~~~~~
  379. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  380.    12 | # define true           linux_true
  381.       |                         ^~~~~~~~~~
  382. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  383.    12 | # define true           linux_true
  384.       |                         ^~~~~~~~~~
  385. ../include/click/cxxprotect.h:12:25: error: ‘linux_true’ was not declared in this scope
  386.    12 | # define true           linux_true
  387.       |                         ^~~~~~~~~~
  388. In file included from ../include/click/ip6address.hh:7:
  389. ../include/click/etheraddress.hh: In member function ‘const uint16_t* EtherAddress::sdata() const’:
  390. ../include/click/etheraddress.hh:90:16: warning: taking address of packed member of ‘EtherAddress’ may result in an unaligned pointer value [-Waddress-of-packed-member]
  391.    90 |         return _data;
  392.       |                ^~~~~
  393. make[1]: *** [elements.mk:583: addresstranslator.o] Error 1
  394. make[1]: Leaving directory '/home/kyc/cs/archlinux/aur/clickrouter-git/src/clickrouter-git/userlevel'
  395. make: *** [Makefile:57: userlevel] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement