- net-libs/libnet-1.1.2.1-r1 compilation error on hardened 64 bit. - 1.1.3-RC-01 from the author's site compiled fine and works well (in Arpon) x86_64-pc-linux-gnu-gcc -O2 -march=native -msse4 -pipe -Wall -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu -o .libs/bgp4_notification bgp4_notification.o ../src/.libs/libnet.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: gre.o: relocation R_X86_64_PC32 against `libnet_getgre_length' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [gre] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -O2 -march=native -msse4 -pipe -Wall -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu -o .libs/tftp tftp.o ../src/.libs/libnet.so creating bgp4_notification creating synflood6_frag creating tftp x86_64-pc-linux-gnu-gcc -O2 -march=native -msse4 -pipe -Wall -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu -o .libs/ip_link ip_link.o ../src/.libs/libnet.so x86_64-pc-linux-gnu-gcc -O2 -march=native -msse4 -pipe -Wall -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu -o .libs/ip_raw ip_raw.o ../src/.libs/libnet.so x86_64-pc-linux-gnu-gcc -O2 -march=native -msse4 -pipe -Wall -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu -o .libs/sebek sebek.o ../src/.libs/libnet.so creating ip_link creating ip_raw creating sebek make[1]: Leaving directory `/var/tmp/portage/net-libs/libnet-1.1.2.1-r1/work/libnet/sample' make: *** [all-recursive] Error 1 * * ERROR: net-libs/libnet-1.1.2.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2882: Called _eapi0_src_compile * ebuild.sh, line 609: Called _eapi2_src_compile * ebuild.sh, line 643: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * Reproducible: Always
ditto here - same output.
maybe i jumped the gun my output is: libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -fomit-frame-pointer -fforce-addr -pipe -Wall -Wl,-O1 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o .libs/gre gre.o ../src/.libs/libnet.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: gre.o: relocation R_X86_64_PC32 against undefined symbol `libnet_getgre_length' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [gre] Error 1 make[1]: *** Waiting for unfinished jobs.... /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -fomit-frame-pointer -fforce-addr -pipe -Wall -Wl,-O1 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o synflood6_frag synflood6_frag.o ../src/libnet.la libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -fomit-frame-pointer -fforce-addr -pipe -Wall -Wl,-O1 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o .libs/synflood6_frag synflood6_frag.o ../src/.libs/libnet.so make[1]: Leaving directory `/var/tmp/portage/net-libs/libnet-1.1.2.1-r1/work/libnet/sample' make: *** [all-recursive] Error 1 * * ERROR: net-libs/libnet-1.1.2.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2619: Called _eapi0_src_compile * ebuild.sh, line 609: Called _eapi2_src_compile * ebuild.sh, line 643: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * linux-headers: 2.6.28-r1 sys-devel/gcc: 4.3.2-r3
*** This bug has been marked as a duplicate of bug 254355 ***