Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   Perhaps your kernel source is broken? (http://www.linux-archive.org/gentoo-embedded/447792-perhaps-your-kernel-source-broken.html)

Kfir Lavi 11-03-2010 09:52 PM

Perhaps your kernel source is broken?
 
Hi,
I want to create this tuple:
crossdev -S -P -v -t --target i686-gentoo-linux-uclibc

Build the shared library loader with early debugging support (SUPPORT_LD_DEBUG_EARLY) [N/y/?] n
Compiler Warnings (WARNINGS) [-Wall] -Wall

Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
+ ./extra/scripts/fix_includes.sh -k /usr/i686-gentoo-linux-uclibc/usr -t i386


The file /usr/i686-gentoo-linux-uclibc/usr/Makefile or /usr/i686-gentoo-linux-uclibc/usr/include/linux/version.h is missing!

Perhaps your kernel source is broken?


make: *** [headers] Error 1
** ERROR: cross-i686-gentoo-linux-uclibc/uclibc-0.9.28.3-r8 failed:

Ok, it says it doesn't have /usr/i686-gentoo-linux-uclibc/usr/include/linux/version.h, but ofcourse it don't, because we are just installing it for the first time?!


What should I do to solve this problem?

Tnx
Kfir

Mike Frysinger 12-04-2010 09:49 AM

Perhaps your kernel source is broken?
 
On Wednesday, November 03, 2010 18:52:59 Kfir Lavi wrote:
> I want to create this tuple:
> crossdev -S -P -v -t --target i686-gentoo-linux-uclibc

this invocation doesnt look right ... you've specified --target twice

> The file /usr/i686-gentoo-linux-uclibc/usr/Makefile or
> /usr/i686-gentoo-linux-uclibc/usr/include/linux/version.h is missing!
> Perhaps your kernel source is broken?
>
>
> make: *** [headers] Error 1
> * ERROR: cross-i686-gentoo-linux-uclibc/uclibc-0.9.28.3-r8 failed:
>
> Ok, it says it doesn't have
> /usr/i686-gentoo-linux-uclibc/usr/include/linux/version.h, but ofcourse it
> don't, because we are just installing it for the first time?!

crossdev always installs linux-headers before the libc-headers and before the
libc. so i cant tell you why it isnt working since you havent shown the
crossdev output.
-mike


All times are GMT. The time now is 09:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.