i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=pentium3 -O2 -pipe -Wstrict-prototypes -Wall -g -Iinclude-glibc -include include-glibc/glibc-bugs.h -I../include tracepath.c -lresolv -o tracepath i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=pentium3 -O2 -pipe -Wstrict-prototypes -Wall -g -Iinclude-glibc -include include-glibc/glibc-bugs.h -I../include -c -o ping.o ping.c ping.c:93: warning: 'struct iphdr' declared inside parameter list ping.c:93: warning: its scope is only this definition or declaration, which is probably not what you want ping.c: In function 'main': ping.c:161: error: 'IPOPT_TS_TSONLY' undeclared (first use in this function) ping.c:161: error: (Each undeclared identifier is reported only once ping.c:161: error: for each function it appears in.) ping.c:163: error: 'IPOPT_TS_TSANDADDR' undeclared (first use in this function) ping.c:165: error: 'IPOPT_TS_PRESPEC' undeclared (first use in this function) ping.c:398: error: 'IPOPT_NOP' undeclared (first use in this function) ping.c:399: error: 'IPOPT_OPTVAL' undeclared (first use in this function) ping.c:399: error: 'IPOPT_RR' undeclared (first use in this function) ping.c:400: error: 'IPOPT_OLEN' undeclared (first use in this function) ping.c:401: error: 'IPOPT_OFFSET' undeclared (first use in this function) ping.c:401: error: 'IPOPT_MINOFF' undeclared (first use in this function) ping.c:410: error: 'IPOPT_TIMESTAMP' undeclared (first use in this function) ping.c:432: error: 'IPOPT_NOOP' undeclared (first use in this function) ping.c:433: error: 'IPOPT_SSRR' undeclared (first use in this function) ping.c:434: error: 'IPOPT_LSRR' undeclared (first use in this function) ping.c: In function 'parse_reply': ping.c:702: error: dereferencing pointer to incomplete type ping.c:703: error: dereferencing pointer to incomplete type ping.c:720: error: dereferencing pointer to incomplete type ping.c:738: error: dereferencing pointer to incomplete type ping.c:740: error: invalid application of 'sizeof' to incomplete type 'struct iphdr' ping.c:741: error: dereferencing pointer to incomplete type ping.c:744: error: dereferencing pointer to incomplete type ping.c:804: error: invalid application of 'sizeof' to incomplete type 'struct iphdr' ping.c: In function 'pr_icmph': ping.c:885: warning: passing argument 1 of 'pr_iph' from incompatible pointer type ping.c:890: warning: passing argument 1 of 'pr_iph' from incompatible pointer type ping.c:913: warning: passing argument 1 of 'pr_iph' from incompatible pointer type ping.c:932: warning: passing argument 1 of 'pr_iph' from incompatible pointer type ping.c:937: warning: passing argument 1 of 'pr_iph' from incompatible pointer type ping.c: In function 'pr_options': ping.c:976: error: 'MAX_IPOPTLEN' undeclared (first use in this function) ping.c:978: error: invalid application of 'sizeof' to incomplete type 'struct iphdr' ping.c:982: error: 'IPOPT_EOL' undeclared (first use in this function) ping.c:984: error: 'IPOPT_NOP' undeclared (first use in this function) ping.c:996: error: 'IPOPT_SSRR' undeclared (first use in this function) ping.c:997: error: 'IPOPT_LSRR' undeclared (first use in this function) ping.c:1003: error: 'IPOPT_MINOFF' undeclared (first use in this function) ping.c:1019: error: 'IPOPT_RR' undeclared (first use in this function) ping.c:1053: error: 'IPOPT_TS' undeclared (first use in this function) ping.c:1070: error: 'IPOPT_TS_TSONLY' undeclared (first use in this function) ping.c:976: warning: unused variable 'old_rr' ping.c: At top level: ping.c:1123: warning: 'struct iphdr' declared inside parameter list ping.c:1124: error: conflicting types for 'pr_iph' ping.c:93: error: previous declaration of 'pr_iph' was here ping.c: In function 'pr_iph': ping.c:1128: error: dereferencing pointer to incomplete type ping.c:1133: error: dereferencing pointer to incomplete type ping.c:1133: error: dereferencing pointer to incomplete type ping.c:1133: error: dereferencing pointer to incomplete type ping.c:1133: error: dereferencing pointer to incomplete type ping.c:1133: error: dereferencing pointer to incomplete type ping.c:1134: error: dereferencing pointer to incomplete type ping.c:1135: error: dereferencing pointer to incomplete type ping.c:1136: error: dereferencing pointer to incomplete type ping.c:1136: error: dereferencing pointer to incomplete type ping.c:1136: error: dereferencing pointer to incomplete type ping.c:1137: error: dereferencing pointer to incomplete type ping.c:1138: error: dereferencing pointer to incomplete type make: *** [ping.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-misc/iputils-021109-r3 failed. Call stack: ebuild.sh, line 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 3205: Called src_compile iputils-021109-r3.ebuild, line 56: Called die !!! make main failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-misc/iputils-021109-r3/temp/build.log'. Reproducible: Always Success with linux-headers-2.7.17-r2
So try w/ 20060512 ;)
(In reply to comment #1) > So try w/ 20060512 ;) > It does indeed work.
OK, closing ;)
(In reply to comment #3) > OK, closing ;) > For cases like this, do you update the ebuild dependencies?
(In reply to comment #4) > For cases like this, do you update the ebuild dependencies? No; the new version will be stabilized when linux-headers-2.6.19 goes stable.