On Mon, 23 Jan 2017 10:21:17 GMT, fperrad wrote: > This is a bug report for perl from francois.perrad@gadz.org, > generated with the help of perlbug 1.40 running under perl 5.24.1. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > A static build with the library gdbm (with gettext support), > causes the following linking error: > > /home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc > -static -lm -Wl,-E -o perl perlmain.o libperl.a lib/auto/B/B.a > lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a > lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a > lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a > lib/auto/Hash/Util/FieldHash/FieldHash.a > lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a > lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a > lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a > lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a > lib/auto/Sys/Hostname/Hostname.a > lib/auto/Tie/Hash/NamedCapture/NamedCapture.a > lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a > lib/auto/mro/mro.a lib/auto/re/re.a > lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a > lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a > lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a > lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a > lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a > lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a > lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a > lib/auto/Unicode/Collate/Collate.a > lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a > lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a > lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a > lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): > In function `gdbm_strerror': > gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): > In function `gdbm_fetch': > gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): > In function `get_next_key': > gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): > In function `gdbm_store': > gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): > In function `_gdbm_write_bucket': > bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' > /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- > uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): > more undefined references to `libintl_dgettext' follow > collect2: error: ld returned 1 exit status > What would be the command-line options to ./Configure that I would use to reproduce this problem? Thank you very much. -- James E Keenan (jkeenan@cpan.org) --- via perlbug: queue: perl5 status: new https://rt.perl.org/Ticket/Display.html?id=130631Thread Previous | Thread Next