[oclug] static ls
Case Jones
philipj at interchange.ubc.ca
Sat Apr 26 17:46:52 EDT 2003
On 26 Apr 2003 17:30:18 -0400
Stephen Gregory <oclug at kernelpanic.ca> wrote:
> I would like to build a static 'ls' for anonymous ftp. The target system
> is Debian/stable Linux on a P3. I tried the simple procedure outline at:
> http://www.henrik.org/static/ but the build fails with the attached
> error.
>
> In the interim I am using the binaries from the henrik page, but I am
> not 100% comfortable with that solution. I don't know what versions of
> the source and libraries were used. The timestamp from the tar file says
> the binaries were built 4 years ago.
>
> Any pointers would be most apreciated.
>
>
> /usr/lib/libc.a(dcigettext.o)(.rodata+0x0): multiple definition of
> `_nl_default_default_domain'
> ../intl/libintl.a(dcgettext.o)(.rodata+0x0): first defined here
> /usr/lib/libc.a(dcigettext.o)(.data+0x0): multiple definition of
> `_nl_current_default_domain'
> ../intl/libintl.a(dcgettext.o)(.data+0x0): first defined here
> /usr/lib/libc.a(dcigettext.o)(.rodata+0x9): multiple definition of
> `_nl_default_dirname'
> ../intl/libintl.a(dcgettext.o)(.rodata+0x20): first defined here
> /usr/bin/ld: Warning: size of symbol `_nl_default_dirname' changed from
> 42 to 18 in /usr/lib/libc.a(dcigettext.o)
> /usr/lib/libc.a(loadmsgcat.o): In function `_nl_load_domain':
> loadmsgcat.o(.text+0x250): multiple definition of `_nl_load_domain'
> ../intl/libintl.a(loadmsgcat.o)(.text+0x0): first defined here
> /usr/bin/ld: Warning: size of symbol `_nl_load_domain' changed from 942
> to 909 in /usr/lib/libc.a(loadmsgcat.o)
> collect2: ld returned 1 exit status
>
> --
> sg
Hi Stephen,
I'm not sure, but it looks like a config (.h) file might have been
included several times.. and it may have something to do with
intl/dcgettext.c and intl/loadmsgcat.c ...
The trouble for me is that I couldn't reproduce
the build error, as the file that I downloaded from the hendrik page
compiled flawlessly when I followed the instructions that he provided.
Regards,
Case
--
http://www.clas.ufl.edu/users/gthursby/taoism/ttcmerel.htm
Who understands does not preach;
Who preaches does not understand.
More information about the OCLUG
mailing list