25.06.2011 21:34, KP Kirchdoerfer пишет:
> Hi;
>
> again a system update seems to break buildtool.
>
> I've updated from ubuntu 10.04 to 11.04.
>
> Trying to build buildenv fails:
> make[1]: Leaving directory `/opt/buildtool-
> test/source/buildenv/uClibc-0.9.30.3'
> make -j1 -C /opt/buildtool-test/source/buildenv/uClibc-0.9.30.3 \
>          PREFIX=/opt/buildtool-test/staging/ \
>          CROSS_COMPILER_PREFIX="" \
>          DEVEL_PREFIX=/ CC=gcc \
>          RUNTIME_PREFIX=/ \
>          pregen install_dev;
> make[1]: Entering directory `/opt/buildtool-
> test/source/buildenv/uClibc-0.9.30.3'
>    GEN include/bits/sysnum.h
> <stdin>:1:24: fatal error: asm/unistd.h: No such file or directory
> compilation terminated.
> <stdin>:1:24: fatal error: asm/unistd.h: No such file or directory
> compilation terminated.
> ERROR: Could not generate syscalls.
> Make sure that you have proper kernel headers.
> Your .config in KERNEL_HEADERS="" was set to:
> /usr/include/
>
> It seems that linux-libc-dev changed in the that /usr/include/asm has been
> moved to /usr/include/i386-linux-gnu/asm/.
>
> How can this be fixed?
> kp
Maybe define KERNEL_HEADERS that points to right place?
In any case, it was hidden bug from old toolchain (or even it was 
injected at toolchain migration to fresh uClibc), it's good that it 
appears now.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to