This is the mail archive of the gdb-prs@sources.redhat.com 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/1834: Build breaks on AIX 5.2 without libintl


>Number:         1834
>Category:       build
>Synopsis:       Build breaks on AIX 5.2 without libintl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 21 14:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     jlquinn@us.ibm.com
>Release:        gdb 6.3
>Organization:
>Environment:
AIX powerpc 5.2.0.0
>Description:
I have gcc 3.3.2 from IBM's freeware repository installed.  Bash as well.

I configure gdb in the source dir with
 configure --prefix=/home/jlquinn

During configure, it identifies libintl as missing.  But during the build, I get an error that bfd/sysdeps.h can't find libintl.h.

During bfd configure:

checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no

During compile:

make[3]: Entering directory `/home/jlquinn/gdb-6.3/bfd'
rm -f bfd-tmp.h
cp bfd-in3.h bfd-tmp.h
/usr/bin/bash ./../move-if-change bfd-tmp.h bfd.h
rm -f bfd-tmp.h
touch stmp-bfd-h
/usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE   -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE  -DAIX_WEAK_SUPPORT -I. -I. -I./../include  -I./../intl -I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2  -c -o archive.lo archive.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c archive.c -o archive.o
In file included from archive.c:131:
sysdep.h:135:21: libintl.h: No such file or directory
archive.c: In function `_bfd_write_archive_contents':
archive.c:1759: warning: implicit declaration of function `dgettext'
archive.c:1759: warning: passing arg 1 of pointer to function makes pointer from integer without a cast
archive.c: In function `_bfd_archive_bsd_update_armap_timestamp':
archive.c:2022: warning: passing arg 1 of `bfd_perror' makes pointer from integer without a cast
archive.c:2048: warning: passing arg 1 of `bfd_perror' makes pointer from integer without a cast
make[3]: *** [archive.lo] Error 1
make[3]: Leaving directory `/home/jlquinn/gdb-6.3/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jlquinn/gdb-6.3/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jlquinn/gdb-6.3/bfd'
make: *** [all-bfd] Error 2


If I configure with --disable-nls, the problem goes away and I can build.
>How-To-Repeat:

>Fix:
Fix bfd configure to disable NLS when it can't find libintl?
>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]