Subject: pkg/32627: devel/gdb6
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 01/25/2006 15:10:00
>Number:         32627
>Category:       pkg
>Synopsis:       devel/gdb6
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 25 15:10:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:


Making all in po
rm -f gdb
gcc -O -I/usr/pkg/include -I/usr/include        -o gdb gdb.o libgdb.a     ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a  ../libiberty/libiberty.a      -ldl -ltermcap -lsocket -lnsl -lm     ../libiberty/libiberty.a  
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     libgdb.a(main.o)
libintl_textdomain                  libgdb.a(main.o)
libintl_bindtextdomain              libgdb.a(main.o)
libintl_dgettext                    ../bfd/libbfd.a(bfd.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
*** Error code 1

Stop.



>How-To-Repeat:


bmake in gdb6


>Fix:


Please upgrade to gdb6.4
Set LDFLAGS to -L/usr/pkg/lib when using pkgsrc's gettext