[Buildroot] Adding owfs to buildroot fails with "cannot find /lib//libc.so.0"
Pär Degerman
par at degerman.org
Tue Mar 22 22:17:31 UTC 2011
Ok, replying to myself here. I solved the problem by manually editing
the libtool file (after the configure step).
The file contained these two lines;
LTCC="gcc"
CC="gcc"
The LTCC variable was defined two times, but at the first location it was
LTCC="/home/degerman/buildroot-2010.11/output/staging/usr/bin/i486-unknown-linux-uclibc-gcc
--sysroot=/home/degerman/buildroot-2010.11/output/staging"
Which seemed to be more correct to me. I simply replaced the
LTCC="gcc" and CC="gcc" lines with;
LTCC="/home/degerman/buildroot-2010.11/output/staging/usr/bin/i486-unknown-linux-uclibc-gcc
--sysroot=/home/degerman/buildroot-2010.11/output/staging"
and
CC="/home/degerman/buildroot-2010.11/output/staging/usr/bin/i486-unknown-linux-uclibc-gcc
--sysroot=/home/degerman/buildroot-2010.11/output/staging"
This made the package compile and link correctly. Does anyone know how
I can tell configure (which I guess generates the libtool file) to use
the correct compiler for those two variables? Is this perhaps a bug in
the autoconfig files for owfs?
Best regards
Pär
More information about the buildroot
mailing list