Binutils not linking errors

Clyde Wilson clydew at clydew.net
Wed Jun 7 16:08:13 PDT 2000


You need to change your configure line to:

     ./configure --disable-nls --prefix=/usr

adding the --disable-nls.  This should fix it.

Clyde Wilson

On Wed, 7 Jun 2000, Nathaniel wrote:

> Well now i'm doing (rather trying to do) 2.3.4..
> but when i compile binutls (version 2.9.5.0.37) with
> make -e LDFLAGS=-all-static it gives the following
> error messages:
> 
> /bin/sh ./libtool --mode=link gcc -W -Wall -g -O2
> -all-static -o size  size.o bucomm.o version.o
> filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
> ./../intl/libintl.a -ldl 
> gcc -W -Wall -g -O2 -static -o size size.o bucomm.o
> version.o filemode.o ../bfd/.libs/libbfd.a
> ../libiberty/libiberty.a ./../intl/libintl.a -ldl
> /usr/lib/libc.a(explodename.o): In function
> `_nl_explode_name':
> explodename.o(.text+0x28): multiple definition of
> `_nl_explode_name'
> ./../intl/libintl.a(explodename.o):/mnt/usr/src/binutils-2.9.5.0.37/intl/explodename.c:51:
> first defined here
> /usr/bin/ld: Warning: size of symbol
> `_nl_explode_name' changed from 597 to 590 in
> explodename.o
> /usr/lib/libc.a(dcgettext.o)(.rodata+0x0): multiple
> definition of `_nl_default_default_domain'
> ./../intl/libintl.a(dcgettext.o):/mnt/usr/src/binutils-2.9.5.0.37/intl/dcgettext.c:235:
> first defined here
> /usr/lib/libc.a(dcgettext.o)(.data+0x0): multiple
> definition of `_nl_current_default_domain'
> ./../intl/libintl.a(dcgettext.o):/mnt/usr/src/binutils-2.9.5.0.37/intl/dcgettext.c:235:
> first defined here
> /usr/lib/libc.a(dcgettext.o)(.rodata+0x9): multiple
> definition of `_nl_default_dirname'
> ./../intl/libintl.a(dcgettext.o):/mnt/usr/src/binutils-2.9.5.0.37/intl/dcgettext.c:235:
> first defined here
> collect2: ld returned 1 exit status
> make[3]: *** [size] Error 1
> make[3]: Leaving directory
> `/mnt/usr/src/binutils-2.9.5.0.37/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/mnt/usr/src/binutils-2.9.5.0.37/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/mnt/usr/src/binutils-2.9.5.0.37/binutils'
> make: *** [all-binutils] Error 2
> 
> 
> Thanks,
> 
> nathaniel37 at yahoo.com
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> http://photos.yahoo.com
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> News Reader access: news.pcrdallas.com
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
> 

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
News Reader access: news.pcrdallas.com
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list