Buildroot: cannot find /lib/libc.so.0

Stephen Warren swarren at wwwdotorg.org
Fri Sep 30 19:07:58 UTC 2005


Peter S. Mazinger wrote:
> On Fri, 30 Sep 2005, Stephen Warren wrote:
>>In that case, I guess that buildroot should not be doing this:
>>
>> $(MAKE1) -C $(UCLIBC_DIR) \
>>                PREFIX=$(STAGING_DIR)/ \
>>                DEVEL_PREFIX=/ \
>>                RUNTIME_PREFIX=/ \
>>                install_dev
>>
>>but instead doing this:
>>
>> $(MAKE1) -C $(UCLIBC_DIR) \
>>                PREFIX=/ \
>>                DEVEL_PREFIX=$(STAGING_DIR) \
>>                RUNTIME_PREFIX=$(STAGING_DIR) \
>>                install_dev
>>
>>I guess I'll go test that!
> 
> 
> that is what I also mean, PREFIX shouldn't be even defined

The attached patch implements the above. It builds an i486
cross-compiler on my FC3 machine using latest SVN buildroot (with
patch), and latest SVN uClibc.

Note: I left PREFIX defined, but empty, to be consistent with the rest
of the buildroot makefile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-prefixes.patch
Type: text/x-patch
Size: 1305 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050930/6ea7e52f/attachment.bin 


More information about the uClibc mailing list