This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
problem with missing headers in ramfs for redboot
- From: Warwick Brown <me at moonman dot me dot uk>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 22 Feb 2006 16:34:33 +0000
- Subject: [ECOS] problem with missing headers in ramfs for redboot
Hi,
I am currently trying to build redboot for the Altera EPXA1, but have
hit upon a snag.
It appears I am missing some header files. I found ktypes.h and kapi.h
and copied them into their rightful place in install/include/cyg/kernel
but I could not find a coresponding kernel.h, the closest being
kernel.hxx, and some versions of kernel.h for other packages. I tried
kernel.hxx but that just threw up page after page of errors, so
obviously not the one.
Please could you/someone enlighten me to which kernel.h I need, any help
would me much appreciated.
Kind Regards,
Warwick Brown
Below is the original error:
make -r -C fs/ram/current build
make[1]: Entering directory
`/opt/ecos/build/redboot-20060222/fs/ram/current'
arm-elf-gcc -c
-I/ecos-c/cygwin/opt/ecos/build/redboot-20060222/install/include
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/tests
-I.
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/-finline-limit=7000
-mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-g -O2 -ffunction-sections -fdata-sections -fno-exceptions
-Wp,-MD,src/ramfs.tmp -o src/fs_ram_ramfs.o
/opt/ecos/src/ecos-current/ecos
/packages/fs/ram/current/src/ramfs.c
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:228:28:
pkgconf/kernel.h: No such file or directory
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:232:60:
cyg/kernel/ktypes.h: No such file or directory
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:248:29:
cyg/kernel/kapi.h: No such file or directory
make[1]: *** [src/ramfs.o.d] Error 1
make[1]: Leaving directory `/opt/ecos/build/redboot-20060222/fs/ram/current'
make: *** [build] Error 2
Below is the error after copying in the missing include files (except
kernel.h):
make -r -C fs/ram/current build
make[1]: Entering directory
`/opt/ecos/build/redboot-20060222/fs/ram/current'
arm-elf-gcc -c
-I/ecos-c/cygwin/opt/ecos/build/redboot-20060222/install/include
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/tests -I.
-I/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/
-finline-limit=7000 -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -Wp,-MD,src/ramfs.tmp -o src/fs_ram_ramfs.o
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:228:28:
pkgconf/kernel.h: No such file or directory
In file included from
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:232:
/ecos-c/cygwin/opt/ecos/build/redboot-20060222/install/include/cyg/kernel/ktypes.h:63:2:
#error "No Configuration file included"
In file included from
/opt/ecos/src/ecos-current/ecos/packages/fs/ram/current/src/ramfs.c:248:
/ecos-c/cygwin/opt/ecos/build/redboot-20060222/install/include/cyg/kernel/kapi.h:62:28:
pkgconf/kernel.h: No such file or directory
make[1]: *** [src/ramfs.o.d] Error 1
make[1]: Leaving directory `/opt/ecos/build/redboot-20060222/fs/ram/current'
make: *** [build] Error 2
make: Leaving directory `/opt/ecos/build/redboot-20060222'
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss