LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compilation aborted - Please read the FAQ for linux-libc-headers package ???? (https://www.linuxquestions.org/questions/linux-software-2/compilation-aborted-please-read-the-faq-for-linux-libc-headers-package-453935/)

idardh 06-12-2006 04:20 AM

Compilation aborted - Please read the FAQ for linux-libc-headers package ????
 
I compiled a build environment for the 'Gumstix' during the make process I was asked for some libraries as: ncurses, bison, flex and gettext, I then restarted the make process and after 15 min another error came up, not asking for anything specific just:

...
>In file included from ../include/asm/mach-types.h:9,
> from ../include/asm/arch/hardware.h:22,
> from ../include/asm/arch/pxa-regs.h:20,
> from ../include/configs/gumstix.h:28,
> from ../include/config.h:2,
> from environment.c:28:
>/usr/include/linux/config.h:1:2: error: #error "Compilation aborted. >Please read the FAQ for linux-libc-headers package."
>/usr/include/linux/config.h:2:2: error: #error "(can be found at >ht tp://ep09.pld -linux.org/~mmazur/linux-libc-headers/doc/)"
>In file included from ../include/asm/arch/hardware.h:21,
.. etc

So if anyone has encountered something slightly similar or have a good clue just by looking at the error messages, please feel free to reply.
I also checked the FAQ from the error message but I don't think it addresses my problem

Thanks
Idar

howard0401 07-17-2006 06:49 PM

Does anyone solve this gumstix issue ?

howard0401 07-17-2006 06:57 PM

I am testing this thread. If there is anyone knowing the solution of this problem.
Please let me know

rkelsen 07-17-2006 07:31 PM

Quote:

Originally Posted by idardh
"Compilation aborted. >Please read the FAQ for linux-libc-headers package."
>/usr/include/linux/config.h:2:2: error: #error "(can be found at >ht tp://ep09.pld -linux.org/~mmazur/linux-libc-headers/doc/)"
>In file included from ../include/asm/arch/hardware.h:21,

You are possibly attempting to use raw kernel headers to compile userland applications.

You need to compile stuff against some "santised" kernel headers, which are available from the link in your output. They may also be available as a package for you distribtion. The name of the package would be "linux-libc-headers".


All times are GMT -5. The time now is 03:36 AM.