Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435822 Details for
Bug 584578
net-analyzer/bro-2.4.1-r1 : CMake Error at aux/.../CMakeLists.txt:65 (message):
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/plain), 30.02 KB, created by
Toralf Förster
on 2016-05-30 18:18:30 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-05-30 18:18:30 UTC
Size:
30.02 KB
patch
obsolete
>Determining if the function pcap_get_pfring_id exists failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_74d3a/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_74d3a.dir/build.make CMakeFiles/cmTC_74d3a.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_74d3a.dir/CheckFunctionExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -o CMakeFiles/cmTC_74d3a.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c >Linking C executable cmTC_74d3a >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_74d3a.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_74d3a.dir/CheckFunctionExists.c.o -o cmTC_74d3a -rdynamic /usr/lib64/libpcap.so >CMakeFiles/cmTC_74d3a.dir/CheckFunctionExists.c.o: In function `main': >CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `pcap_get_pfring_id' >collect2: error: ld returned 1 exit status >gmake[1]: *** [CMakeFiles/cmTC_74d3a.dir/build.make:99: cmTC_74d3a] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_74d3a/fast] Error 2 > > >Performing C SOURCE FILE Test ns_initparse_works_none failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_eae53/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_eae53.dir/build.make CMakeFiles/cmTC_eae53.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_eae53.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -Dns_initparse_works_none -o CMakeFiles/cmTC_eae53.dir/src.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c >Linking C executable cmTC_eae53 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eae53.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -Dns_initparse_works_none -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_eae53.dir/src.c.o -o cmTC_eae53 -rdynamic >CMakeFiles/cmTC_eae53.dir/src.c.o: In function `main': >src.c:(.text.startup+0xb): undefined reference to `ns_initparse' >collect2: error: ld returned 1 exit status >gmake[1]: *** [CMakeFiles/cmTC_eae53.dir/build.make:98: cmTC_eae53] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_eae53/fast] Error 2 > >Source file was: > > #include <arpa/nameser.h> > int main() { > ns_initparse(0, 0, 0); > return 0; > } > >Determining if the system is big endian passed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_9a9f8/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_9a9f8.dir/build.make CMakeFiles/cmTC_9a9f8.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_9a9f8.dir/TestEndianess.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_9a9f8.dir/TestEndianess.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/TestEndianess.c >Linking C executable cmTC_9a9f8 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a9f8.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_9a9f8.dir/TestEndianess.c.o -o cmTC_9a9f8 -rdynamic >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' > >TestEndianess.c: >/* A 16 bit integer is required. */ >typedef unsigned short cmakeint16; > >/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." > On a big endian machine the characters will be exchanged pairwise. */ >const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; > >/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." > On a little endian machine the characters will be exchanged pairwise. */ >const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; > >#ifdef __CLASSIC_C__ >int main(argc, argv) int argc; char *argv[]; >#else >int main(int argc, char *argv[]) >#endif >{ > int require = 0; > require += info_little[argc]; > require += info_big[argc]; > (void)argv; > return require; >} > > >Determining if the system is big endian passed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_633d6/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_633d6.dir/build.make CMakeFiles/cmTC_633d6.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_633d6.dir/TestEndianess.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_633d6.dir/TestEndianess.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/TestEndianess.c >Linking C executable cmTC_633d6 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_633d6.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_633d6.dir/TestEndianess.c.o -o cmTC_633d6 -rdynamic >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' > >TestEndianess.c: >/* A 16 bit integer is required. */ >typedef unsigned short cmakeint16; > >/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." > On a big endian machine the characters will be exchanged pairwise. */ >const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; > >/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." > On a little endian machine the characters will be exchanged pairwise. */ >const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; > >#ifdef __CLASSIC_C__ >int main(argc, argv) int argc; char *argv[]; >#else >int main(int argc, char *argv[]) >#endif >{ > int require = 0; > require += info_little[argc]; > require += info_big[argc]; > (void)argv; > return require; >} > > >Determining if the htonll exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_23744/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_23744.dir/build.make CMakeFiles/cmTC_23744.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_23744.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_23744.dir/CheckSymbolExists.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function âmainâ: >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: âhtonllâ undeclared (first use in this function) > return ((int*)(&htonll))[argc]; > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in >gmake[1]: *** [CMakeFiles/cmTC_23744.dir/build.make:66: CMakeFiles/cmTC_23744.dir/CheckSymbolExists.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_23744/fast] Error 2 > >File /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <arpa/inet.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef htonll > return ((int*)(&htonll))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if files sys/ethernet.h exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_091d5/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_091d5.dir/build.make CMakeFiles/cmTC_091d5.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_091d5.dir/CheckIncludeFiles.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_091d5.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:26: fatal error: sys/ethernet.h: No such file or directory >compilation terminated. >gmake[1]: *** [CMakeFiles/cmTC_091d5.dir/build.make:66: CMakeFiles/cmTC_091d5.dir/CheckIncludeFiles.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_091d5/fast] Error 2 > >Source: >/* */ >#include <sys/ethernet.h> > > >int main(void){return 0;} > >Determining if files net/ethertypes.h exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_b185c/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_b185c.dir/build.make CMakeFiles/cmTC_b185c.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_b185c.dir/CheckIncludeFiles.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_b185c.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:28: fatal error: net/ethertypes.h: No such file or directory >compilation terminated. >gmake[1]: *** [CMakeFiles/cmTC_b185c.dir/build.make:66: CMakeFiles/cmTC_b185c.dir/CheckIncludeFiles.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_b185c/fast] Error 2 > >Source: >/* */ >#include <net/ethertypes.h> > > >int main(void){return 0;} > >Determining if files os-proto.h exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_40566/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_40566.dir/build.make CMakeFiles/cmTC_40566.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_40566.dir/CheckIncludeFiles.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_40566.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:22: fatal error: os-proto.h: No such file or directory >compilation terminated. >gmake[1]: *** [CMakeFiles/cmTC_40566.dir/build.make:66: CMakeFiles/cmTC_40566.dir/CheckIncludeFiles.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_40566/fast] Error 2 > >Source: >/* */ >#include <os-proto.h> > > >int main(void){return 0;} > >Performing C SOURCE FILE Test HAVE_READLINE_HISTORY_ENTRIES failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_45cca/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_45cca.dir/build.make CMakeFiles/cmTC_45cca.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_45cca.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DHAVE_READLINE_HISTORY_ENTRIES -o CMakeFiles/cmTC_45cca.dir/src.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c: In function âmainâ: >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:7:19: error: âHISTORY_STATEâ undeclared (first use in this function) > (void)sizeof(((HISTORY_STATE *)0)->entries); > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:7:19: note: each undeclared identifier is reported only once for each function it appears in >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:7:34: error: expected expression before â)â token > (void)sizeof(((HISTORY_STATE *)0)->entries); > ^ >gmake[1]: *** [CMakeFiles/cmTC_45cca.dir/build.make:66: CMakeFiles/cmTC_45cca.dir/src.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_45cca/fast] Error 2 > >Source file was: > >#include <stdio.h> >#include <readline/readline.h> > >int main() >{ > (void)sizeof(((HISTORY_STATE *)0)->entries); > return 0; >} > >Performing C SOURCE FILE Test SIN_LEN failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_8be25/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_8be25.dir/build.make CMakeFiles/cmTC_8be25.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_8be25.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DSIN_LEN -o CMakeFiles/cmTC_8be25.dir/src.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c: In function âmainâ: >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:6:42: error: âstruct sockaddr_inâ has no member named âsin_lenâ > (void)sizeof(((struct sockaddr_in *)0)->sin_len); > ^ >gmake[1]: *** [CMakeFiles/cmTC_8be25.dir/build.make:66: CMakeFiles/cmTC_8be25.dir/src.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_8be25/fast] Error 2 > >Source file was: > >#include <netinet/in.h> > >int main() >{ > (void)sizeof(((struct sockaddr_in *)0)->sin_len); > return 0; >} > >Determining if the IPPROTO_IPV4 exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_03b7b/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_03b7b.dir/build.make CMakeFiles/cmTC_03b7b.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_03b7b.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_03b7b.dir/CheckSymbolExists.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function âmainâ: >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: âIPPROTO_IPV4â undeclared (first use in this function) > return ((int*)(&IPPROTO_IPV4))[argc]; > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in >gmake[1]: *** [CMakeFiles/cmTC_03b7b.dir/build.make:66: CMakeFiles/cmTC_03b7b.dir/CheckSymbolExists.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_03b7b/fast] Error 2 > >File /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <netinet/in.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef IPPROTO_IPV4 > return ((int*)(&IPPROTO_IPV4))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Performing C SOURCE FILE Test DO_SOCK_DECL failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_ccb23/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_ccb23.dir/build.make CMakeFiles/cmTC_ccb23.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_ccb23.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DDO_SOCK_DECL -o CMakeFiles/cmTC_ccb23.dir/src.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:5:16: error: conflicting types for âconnectâ > extern int connect(int, const struct sockaddr *, int); > ^ >In file included from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:3:0: >/usr/include/sys/socket.h:137:12: note: previous declaration of âconnectâ was here > extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:6:16: error: conflicting types for âsendâ > extern int send(int, const void *, int, int); > ^ >In file included from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:3:0: >/usr/include/sys/socket.h:149:16: note: previous declaration of âsendâ was here > extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:7:16: error: conflicting types for ârecvfromâ > extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); > ^ >In file included from /usr/include/sys/socket.h:280:0, > from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:3: >/usr/include/bits/socket2.h:64:1: note: previous definition of ârecvfromâ was here > recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, > ^ >gmake[1]: *** [CMakeFiles/cmTC_ccb23.dir/build.make:66: CMakeFiles/cmTC_ccb23.dir/src.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_ccb23/fast] Error 2 > >Source file was: > > #include <sys/types.h> > #include <sys/socket.h> > extern int socket(int, int, int); > extern int connect(int, const struct sockaddr *, int); > extern int send(int, const void *, int, int); > extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); > int main() { return 0; } > >Performing C++ SOURCE FILE Test SYSLOG_INT failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_7e432/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_7e432.dir/build.make CMakeFiles/cmTC_7e432.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building CXX object CMakeFiles/cmTC_7e432.dir/src.cxx.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DSYSLOG_INT -o CMakeFiles/cmTC_7e432.dir/src.cxx.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:5:64: error: conflicting declaration of C function âint openlog(const char*, int, int)â > int openlog(const char* ident, int logopt, int facility); > ^ >In file included from /usr/include/syslog.h:1:0, > from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:3: >/usr/include/sys/syslog.h:181:13: note: previous declaration âvoid openlog(const char*, int, int)â > extern void openlog (const char *__ident, int __option, int __facility); > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:6:62: error: conflicting declaration of C function âint syslog(int, const char*, ...)â > int syslog(int priority, const char* message_fmt, ...); > ^ >In file included from /usr/include/sys/syslog.h:207:0, > from /usr/include/syslog.h:1, > from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:3: >/usr/include/bits/syslog.h:29:1: note: previous declaration âvoid syslog(int, const char*, ...)â > syslog (int __pri, const char *__fmt, ...) > ^ >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:7:22: error: conflicting declaration of C function âint closelog()â > int closelog(); > ^ >In file included from /usr/include/syslog.h:1:0, > from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:3: >/usr/include/sys/syslog.h:175:13: note: previous declaration âvoid closelog()â > extern void closelog (void); > ^ >gmake[1]: *** [CMakeFiles/cmTC_7e432.dir/build.make:66: CMakeFiles/cmTC_7e432.dir/src.cxx.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_7e432/fast] Error 2 > >Source file was: > > #include <stdlib.h> > #include <syslog.h> > extern "C" { > int openlog(const char* ident, int logopt, int facility); > int syslog(int priority, const char* message_fmt, ...); > int closelog(); > } > int main() { return 0; } > >Determining if files pcap-int.h exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_e2841/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_e2841.dir/build.make CMakeFiles/cmTC_e2841.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_e2841.dir/CheckIncludeFiles.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_e2841.dir/CheckIncludeFiles.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:22: fatal error: pcap-int.h: No such file or directory >compilation terminated. >gmake[1]: *** [CMakeFiles/cmTC_e2841.dir/build.make:66: CMakeFiles/cmTC_e2841.dir/CheckIncludeFiles.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_e2841/fast] Error 2 > >Source: >/* */ >#include <pcap-int.h> > > >int main(void){return 0;} > >Performing C SOURCE FILE Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_fcfc9/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_fcfc9.dir/build.make CMakeFiles/cmTC_fcfc9.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_fcfc9.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DLIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER -o CMakeFiles/cmTC_fcfc9.dir/src.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c: In function âmainâ: >/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:16:11: error: too many arguments to function âpcap_compile_nopcapâ > (void)pcap_compile_nopcap( > ^ >In file included from /usr/include/pcap.h:43:0, > from /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/src.c:2: >/usr/include/pcap/pcap.h:391:5: note: declared here > int pcap_compile_nopcap(int, int, struct bpf_program *, > ^ >gmake[1]: *** [CMakeFiles/cmTC_fcfc9.dir/build.make:66: CMakeFiles/cmTC_fcfc9.dir/src.c.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_fcfc9/fast] Error 2 > >Source file was: > >#include <pcap.h> >int main () { > int snaplen; > int linktype; > struct bpf_program fp; > int optimize; > bpf_u_int32 netmask; > char str[10]; > char error[1024]; > snaplen = 50; > linktype = DLT_EN10MB; > optimize = 1; > netmask = 0L; > str[0] = 'i'; str[1] = 'p'; str[2] = '\0'; > (void)pcap_compile_nopcap( > snaplen, linktype, &fp, str, optimize, netmask, &error); > return 0; >} > >Determining if the pthread_create exist failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_96fbb/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_96fbb.dir/build.make CMakeFiles/cmTC_96fbb.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_96fbb.dir/CheckSymbolExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -o CMakeFiles/cmTC_96fbb.dir/CheckSymbolExists.c.o -c /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c >Linking C executable cmTC_96fbb >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96fbb.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_96fbb.dir/CheckSymbolExists.c.o -o cmTC_96fbb -rdynamic >CMakeFiles/cmTC_96fbb.dir/CheckSymbolExists.c.o: In function `main': >CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create' >collect2: error: ld returned 1 exit status >gmake[1]: *** [CMakeFiles/cmTC_96fbb.dir/build.make:98: cmTC_96fbb] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_96fbb/fast] Error 2 > >File /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <pthread.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef pthread_create > return ((int*)(&pthread_create))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if the function pthread_create exists in the pthreads failed with the following output: >Change Dir: /var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command:"/usr/bin/gmake" "cmTC_598e6/fast" >/usr/bin/gmake -f CMakeFiles/cmTC_598e6.dir/build.make CMakeFiles/cmTC_598e6.dir/build >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_598e6.dir/CheckFunctionExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -march=native -O2 -pipe -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_598e6.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c >Linking C executable cmTC_598e6 >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_598e6.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_598e6.dir/CheckFunctionExists.c.o -o cmTC_598e6 -rdynamic -lpthreads >/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads >collect2: error: ld returned 1 exit status >gmake[1]: *** [CMakeFiles/cmTC_598e6.dir/build.make:98: cmTC_598e6] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/bro-2.4.1-r1/work/bro-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:126: cmTC_598e6/fast] Error 2 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 584578
: 435822 |
435824
|
435826
|
435828
|
435830