This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/2537: Undefined symbols: elfcore_write_prpsinfo, elfcore_write_prstatus


>Number:         2537
>Category:       build
>Synopsis:       Undefined symbols: elfcore_write_prpsinfo, elfcore_write_prstatus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 15 05:48:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     selsky@columbia.edu
>Release:        gdb-6.8.50.20081014
>Organization:
>Environment:
Solaris 9/sparc
>Description:
make fails with the following error:

make[1]: Leaving directory `/src/gnu/gdb-6.8.50.20081014/obj/solaris9/gdb'
rm -f gdb
gcc -g -O2      \
	-o gdb gdb.o libgdb.a \
	   ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a ./../intl/libintl.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a     -ldl -lcurses -lz -lsocket -lnsl -lm   ../libiberty/libiberty.a  gnulib/libgnu.a 
Undefined			first referenced
 symbol  			    in file
elfcore_write_prpsinfo              libgdb.a(procfs.o)
elfcore_write_prstatus              libgdb.a(procfs.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
make: *** [gdb] Error 1

gcc is 4.2.4
Source code is in /src/gnu/gdb-6.8.50.20081014/src.  I'm building in /src/gnu/gdb-6.8.50.20081014/obj/solaris9/gdb since I build for multiple architectures from a single source tree.
>How-To-Repeat:
$ ../../src/configure --prefix=/opt/gdb-6.8.50.20081014
$ make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]