This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

configure without prefix


Hi!

I think I've found a bug with the latest snapshot.

On FreeBSD 9.0 if I configure binutils with either --prefix=/usr/local or without prefix I get this:

/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/solskogen/src/binutils/bfd -I. -I/home/solskogen/src/binutils/bfd -I/home/solskogen/src/binutils/bfd/../include -DHAVE_bfd_elf64_x86_64_freebsd_vec -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_i386coff_vec -DHAVE_i386pei_vec -DHAVE_x86_64pei_vec -DHAVE_bfd_elf32_i386_vec -DHAVE_bfd_elf64_x86_64_vec -DHAVE_bfd_elf64_l1om_vec -DHAVE_bfd_elf64_l1om_freebsd_vec -DHAVE_bfd_elf64_k1om_vec -DHAVE_bfd_elf64_k1om_freebsd_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR='"/usr/local/bin"' -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT archive.lo -MD -MP -MF .deps/archive.Tpo -c -o archive.lo /home/solskogen/src/binutils/bfd/archive.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/solskogen/src/binutils/bfd -I. -I/home/solskogen/src/binutils/bfd -I/home/solskogen/src/binutils/bfd/../include -DHAVE_bfd_elf64_x86_64_freebsd_vec -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_i386coff_vec -DHAVE_i386pei_vec -DHAVE_x86_64pei_vec -DHAVE_bfd_elf32_i386_vec -DHAVE_bfd_elf64_x86_64_vec -DHAVE_bfd_elf64_l1om_vec -DHAVE_bfd_elf64_l1om_freebsd_vec -DHAVE_bfd_elf64_k1om_vec -DHAVE_bfd_elf64_k1om_freebsd_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT archive.lo -MD -MP -MF .deps/archive.Tpo -c /home/solskogen/src/binutils/bfd/archive.c -o archive.o
In file included from /home/solskogen/src/binutils/bfd/archive.c:130:
/home/solskogen/src/binutils/bfd/sysdep.h:173:21: error: libintl.h: No such file or directory
cc1: warnings being treated as errors
/home/solskogen/src/binutils/bfd/archive.c: In function '_bfd_write_archive_contents':
/home/solskogen/src/binutils/bfd/archive.c:2223: warning: implicit declaration of function 'dgettext'
/home/solskogen/src/binutils/bfd/archive.c:2223: warning: incompatible implicit declaration of built-in function 'dgettext'
/home/solskogen/src/binutils/bfd/archive.c: In function '_bfd_archive_bsd_update_armap_timestamp':
/home/solskogen/src/binutils/bfd/archive.c:2512: warning: incompatible implicit declaration of built-in function 'dgettext'
/home/solskogen/src/binutils/bfd/archive.c:2536: warning: incompatible implicit declaration of built-in function 'dgettext'
gmake[4]: *** [archive.lo] Error 1
gmake[4]: Leaving directory `/usr/home/solskogen/obj/bfd'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/solskogen/obj/bfd'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/solskogen/obj/bfd'
gmake[1]: *** [all-bfd] Error 2
gmake[1]: Leaving directory `/usr/home/solskogen/obj'
gmake: *** [all] Error 2



If I set prefix to something else (like --prefix=/opt) it compiles fine. I do not use any other configure options. The funny thing is that libintl.h is found in /usr/local/include/libintl.h.


--
chs


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