This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
compile error on solaris 8 and 2.6
- From: Andrew Hall <halla3 at corp dot earthlink dot net>
- To: gdb at sources dot redhat dot com
- Date: Wed, 20 Oct 2004 11:46:24 -0400
- Subject: compile error on solaris 8 and 2.6
Greetings,
While trying to compile gdb on Solaris 8 and 2.6 I get the following
error:
rm -f gdb
gcc -g -O2 \
-o gdb gdb.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ../libiberty/libiberty.a -ldl -ltermcap
-lsocket -lnsl -lm -liconv ../libiberty/libiberty.a
Undefined first referenced
symbol in file
wattr_on libgdb.a(tui-wingeneral.o)
wattr_off libgdb.a(tui-wingeneral.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/netapp/home/halla3/gdb-6.2.1/gdb'
make: *** [all-gdb] Error 2
bash-2.03$
Any suggestions?
Thanks,
Drew