curl-users
Re: compiling curl against uClibc
Date: Thu, 25 Mar 2004 18:00:59 -0800
Hello,
I tried what you mentioned (using -nostdlib in LDFLAGS and specifying
the location of uClibc in LIBS) and the compile seems to finish, but the
following warnings are produced:
/usr/bin/ld: warning: libc.so.6 needed by ../lib/.libs/libcurl.so, may
conflict with libc.so.0
/usr/bin/ld: bfd assertion fail ../../bfd/elf32-mips.c:6898
/usr/bin/ld: warning: cannot find entry symbol__start; defaulting to
00000000000041300
creating curl
When I try to run curl It complains about not being able to find the
necessary libraries. Is there anything else I may need to change?
Thanks
Luis
Daniel Stenberg wrote:
> On Tue, 23 Mar 2004, Luis Marquez wrote:
>
>
>>I am trying to build curl against uClibc for use on an embedded linux
>>system. I am having problems getting it to use uClibc and not the local
>>system C library. I have been trying to sift through the Make files and make
>>the necessary changes, but I am not really getting anywhere. Can anybody
>>point me in the right direction?
>
>
> So what have you tried that didn't work?
>
> I've never attempted this myself, but I would guess the solution involves
> setting -nostdlib in LDFLAGS and then adding the uclibc lib in the LIBS
> variable.
>
Received on 2004-03-26