This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile kernel error under Cygwin


On 08/12/2009 10:33 PM, loody wrote:
Dear all:
I patch my kernel with the code below.

#ifdef __CYGWIN__
#include<libelf.h>
#else
#include<elf.h>
#endif

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
scripts/mod/mk_elfconfig.c:5:20: error: libelf.h: No such file or directory

it seems I have no libelf.h.
Does that mean I forget to install some packages under cygwin?
appreciate your help,

<http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libelf>


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.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]