> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O
> -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -o text2pcap text2pcap.o text2pcap-scanner.o
> -Wl,--export-dynamic  -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so
> -ldl /usr/lib/libglib-2.0.so -lm -lz collect2: ld returned 1 exit status

Well the good news is that since you're getting this far, you're almost out of 
the woods...

As far as the radius warnings go, I got those also but it installed w/o them.

There are only minor differences between your command and the one my system 
issued:

i686-pc-linux-gnu-gcc "-D_U_=__attribute__((unused))" -Wall -W -O 
-march=athlon -pipe -fomit-frame-pointer -I/u
sr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I
/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/i
nclude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -o text2pcap 
text2pcap.o text2pcap-scanner.o -Wl,--e
xport-dynamic  -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so 
-ldl /usr/lib/libglib-2.0.so -lm -lz

The first is the INET6, I don't have ipv6 support enabled on my box (the -ipv6 
use flag).  The added defines for threads I'm not sure about, but I've got 
both nptl and the older thread support enabled (the nptl use flag).

Also mine didn't emit the -mcpu=686 argument for gcc; is this something you 
defined in your CFLAGS in /etc/make.conf?

Basically I would try the following:

1. Disable ipv6 if you are not using it.
2. Check your nptl/nptlonly use flags; if you have nptlonly set, it might be a 
threads issue.
3. Check your CFLAGS and possibly remove the -mcpu definition (as I remember 
that is supposed to be deprecated anyway).

Dave
-- 
gentoo-user@gentoo.org mailing list

Reply via email to