All of lore.kernel.org
 help / color / mirror / Atom feed
From: "T. P. Saravanan" <sara@procsys.com>
To: linux-mips@linux-mips.org
Subject: Re: mips linux glibc-2.3.3 build - linker errors
Date: Fri, 08 Oct 2004 15:23:54 +0530	[thread overview]
Message-ID: <416663B2.5010006@procsys.com> (raw)
In-Reply-To: <41665DEA.3090307@procsys.com>

T. P. Saravanan wrote:

> glibc-2.3.3 build on linux-mips breaks down with following linker error:
>
> sara@eyeore: [over] ~/build/glibc/objdir6$ make
> make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.3 objdir=`pwd` all
> make[1]: Entering directory `/home/sara/build/glibc/glibc-2.3.3'
> make  -C csu subdir_lib
> .
> .
> .
> make[4]: Nothing to be done for `rtld-all'.
> make[4]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/time'
> make[3]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/elf'
> make[2]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/elf'
> gcc -mabi=32   -nostdlib -nostartfiles -r -o 
> /home/sara/build/glibc/objdir6/libc_pic.os \
> -Wl,-d -Wl,--whole-archive /home/sara/build/glibc/objdir6/libc_pic.a
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold_l.os)(.text+0x0): In 
> function `*__GI___strtold_internal':
> ../sysdeps/generic/strtold.c:25: multiple definition of 
> `__GI___strtold_internal'
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold.os)(.text+0x0):../sysdeps/generic/strtold.c:25: 
> first defined here
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold_l.os)(.text+0x0): In 
> function `*__GI___strtold_internal':
> ../sysdeps/generic/strtold.c:25: multiple definition of 
> `__strtold_internal'
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold.os)(.text+0x0):../sysdeps/generic/strtold.c:25: 
> first defined here
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold_l.os)(.text+0x38): 
> In function `strtold':
> ../sysdeps/generic/strtold.c:32: multiple definition of `strtold'
> /home/sara/build/glibc/objdir6/libc_pic.a(strtold.os)(.text+0x38):../sysdeps/generic/strtold.c:32: 
> first defined here
> collect2: ld returned 1 exit status
> make[1]: *** [/home/sara/build/glibc/objdir6/libc_pic.os] Error 1
> make[1]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3'
> make: *** [all] Error 2
>
ar -d lib_pic.a strtold.os

got me be beyond this point. 
(If somebody knows that this is not the way to do it - let me know.)

-Sa.

  reply	other threads:[~2004-10-08  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  9:29 mips linux glibc-2.3.3 build - linker errors T. P. Saravanan
2004-10-08  9:53 ` T. P. Saravanan [this message]
2004-10-08 10:13   ` T. P. Saravanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416663B2.5010006@procsys.com \
    --to=sara@procsys.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.