compile kernel error under Cygwin
loody
miloody@gmail.com
Thu Aug 13 02:34:00 GMT 2009
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,
miloody
--
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
More information about the Cygwin
mailing list