elf.h: No such file or directory

Mathieu <[email protected]>
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <[email protected]>
Hi,

	I have just download devkitcube-r1.zip,
1. set PATH to /home/mathieu/GameCube/devkitcube/bin.
2. download linux261
3. cvs up gc-linux
4. copy gc-linux cvs over linux261
5 copy arch/ppc/configs/gamecube_defconfig to linux-2.6.1/.config
6 cd linux-2.6.1, and then I type make

Here is what I get:

   HOSTCC  scripts/fixdep
   HOSTLD  scripts/genksyms/genksyms
   HOSTCC  scripts/split-include
   HOSTCC  scripts/conmakehash
   HOSTCC  scripts/docproc
   HOSTCC  scripts/kallsyms
   CC      scripts/empty.o
   HOSTCC  scripts/mk_elfconfig
scripts/mk_elfconfig.c:4:17: elf.h: No such file or directory
scripts/mk_elfconfig.c: In function `main':
scripts/mk_elfconfig.c:9: error: `EI_NIDENT' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:9: error: (Each undeclared identifier is reported 
only once
scripts/mk_elfconfig.c:9: error: for each function it appears in.)
scripts/mk_elfconfig.c:19: error: `ELFMAG' undeclared (first use in this 
function)
scripts/mk_elfconfig.c:19: error: `SELFMAG' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:23: error: `EI_CLASS' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:24: error: `ELFCLASS32' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:27: error: `ELFCLASS64' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:33: error: `EI_DATA' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:34: error: `ELFDATA2LSB' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:37: error: `ELFDATA2MSB' undeclared (first use in 
this function)
scripts/mk_elfconfig.c:9: warning: unused variable `ei'
make[1]: *** [scripts/mk_elfconfig] Error 1
make: *** [scripts] Error 2


What am I doing wrong

Thanks a bunch
Mathieu
Ps:  I had to remove the cygwin1.dll that come with the devkitcube, 
otherwise I get:
cygheap version mismatch detected - 0x61600000/0x615F0000 ...



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.