Hello:
First thank to all the people that works for familiar (developers,
helpers, ...). I think you are doing a great work.
I'm trying to compile the kernel 2.4.19-rmk6-pxa1-hh13 for a h3970 iPAQ
but I got some errors. Up to now:
- I have downloaded the kernel
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.bz2
- I have downloaded the following patchs:
ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel/v2.4/patch-2.4.19-rmk6.gz
ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/nico/diff-2.4.19-rmk6-
pxa1.gz
ftp://ftp.handhelds.org/pub/linux/kernel/patch-2.4.19-rmk6-pxa1-hh13.gz
- I have applied all the patches without any trouble.
- I have modified the CROSS_COMPILE line in the Makefile, now it looks
CROSS_COMPILE = /usr/local/arm/3.2.3/bin/arm-linux-
- I have copied the configuration file for my iPAQ from arch/arm/def-
configs/h3900 to .config
- I have done "make menuconfig" just to activate the "IPv6: source
address subtree support (EXPERIMENTAL)" in "Networking Options".
- I have done "make dep" without any error nor warning
- When I try to "make bzImage" some errors raise (sorry it is in
Spanish):
En el fichero incluído de /usr/arm/linux-2.4.19/include/linux/wait.h:13,
de /usr/arm/linux-2.4.19/include/linux/fs.h:12,
de /usr/arm/linux-2.4.19/include/linux/capability.h:17,
de /usr/arm/linux-2.4.19/include/linux/binfmts.h:5,
de /usr/arm/linux-2.4.19/include/linux/sched.h:9,
de /usr/arm/linux-2.4.19/include/linux/mm.h:4,
de sched.c:23:
/usr/arm/linux-2.4.19/include/linux/kernel.h:10:20: stdarg.h: No existe
el fichero o el directorio
En el fichero incluído de /usr/arm/linux-2.4.19/include/linux/wait.h:13,
de /usr/arm/linux-2.4.19/include/linux/fs.h:12,
de /usr/arm/linux-2.4.19/include/linux/capability.h:17,
de /usr/arm/linux-2.4.19/include/linux/binfmts.h:5,
de /usr/arm/linux-2.4.19/include/linux/sched.h:9,
de /usr/arm/linux-2.4.19/include/linux/mm.h:4,
de sched.c:23:
/usr/arm/linux-2.4.19/include/linux/kernel.h:73: error de
decodificación antes de "va_list"
/usr/arm/linux-2.4.19/include/linux/kernel.h:73: aviso: la declaración
de la función no es un prototipo
/usr/arm/linux-2.4.19/include/linux/kernel.h:76: error de
decodificación antes de "va_list"
/usr/arm/linux-2.4.19/include/linux/kernel.h:76: aviso: la declaración
de la función no es un prototipo
/usr/arm/linux-2.4.19/include/linux/kernel.h:80: error de
decodificación antes de "va_list"
/usr/arm/linux-2.4.19/include/linux/kernel.h:80: aviso: la declaración
de la función no es un prototipo
make[2]: *** [sched.o] Error 1
make[2]: Saliendo directorio `/usr/arm/linux-2.4.19/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Saliendo directorio `/usr/arm/linux-2.4.19/kernel'
make: *** [_dir_kernel] Error 2
The problem seems to be that stdarg.h does not exist, then kernel.h
fails (also because of "va_list", maybe it is related to stdarg.h) and
all the
other files return errors because they include either kernel.h or a
file that includes kernel.h.
Do you know where this file stdarg.h is? (If I comment the line where
it is included it fails anyway).
Did I get the kernel or patches from the wrong site?
Do I need other toolchain? (Time ago I downloaded arm-linux-toolchain-
current.tar.gz)
I have tried to copy stdarg.h (I found it in the toolchain I have
installed) to the include directory, I also tried to add more
directories to the
HPATH variable in the Makefile, but nothing worked.
Thanks for your help,
Ruth.
Received on Tue Sep 23 2003 - 08:38:32 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:14:00 EDT