This is the mail archive of the
mailing list for the Cygwin project.
Re: compile kernel error under Cygwin
Larry Hall (Cygwin) wrote:
> On 08/12/2009 10:33 PM, loody wrote:
>> Dear all:
>> I patch my kernel with the code below.
>> #ifdef __CYGWIN__
>> and I cross compile it with mips toolchain.
>> But I get the error message below:
>> gcc -Wp,-MD,scripts/mod/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2
>> -fomit-frame-pointer -o scripts/mod/mk_elfconfig
>> scripts/mod/mk_elfconfig.c:5:20: error: libelf.h: No such file or
>> it seems I have no libelf.h.
>> Does that mean I forget to install some packages under cygwin?
>> appreciate your help,
> From the above results, I would have to say no. I'd recommend contacting
> the providers fo the kernel you're compiling and asking them for help.
Since cygwin *does* have elf.h, I'd recommend trying again without the
patch. But that's not to say there won't be bigger problems further down the
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple