Re: [U-Boot-Users] compilation problems
On Fri, 2008-08-01 at 16:25 +0200, Gino Mariucci wrote: > > THis is not the fault of Fedora 9 - we run this, too, on some systems, > > and it works fine here. To me it seems a sif you missed to install a > > few critical packages on your system. > > I agree with you, even though is not easy to find what is missing. > > >> ... > >> HOSTCC scripts/mod/sumversion.o > >> scripts/mod/sumversion.c: In function "get_src_version": > >> scripts/mod/sumversion.c:384: error: "PATH_MAX" undeclared (first use > >> in this function) > > > > This probably means that the "kernel-headers" package is missing. Try: > > "yum -y install kernel-headers" (running as root). > > I have checked what you say but, the answer is: > "package kernel-headers-2.6.25.11-97.fc9.i386 is already installed on > this system" On my debian based system the kernel header package is for developing kernel modules not for the userspace stuff. It's in another package. dpkg -S /usr/include/linux/limits.h linux-libc-dev: /usr/include/linux/limits.h But redhat may be different. > Could the problem be related to some path not correctly declared? > > Many Thanks > > Gino - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] compilation problems
> THis is not the fault of Fedora 9 - we run this, too, on some systems, > and it works fine here. To me it seems a sif you missed to install a > few critical packages on your system. I agree with you, even though is not easy to find what is missing. >> ... >> HOSTCC scripts/mod/sumversion.o >> scripts/mod/sumversion.c: In function "get_src_version": >> scripts/mod/sumversion.c:384: error: "PATH_MAX" undeclared (first use >> in this function) > > This probably means that the "kernel-headers" package is missing. Try: > "yum -y install kernel-headers" (running as root). I have checked what you say but, the answer is: "package kernel-headers-2.6.25.11-97.fc9.i386 is already installed on this system" Could the problem be related to some path not correctly declared? Many Thanks Gino - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Re: [U-Boot-Users] compilation problems
Dear Gino, in message <[EMAIL PROTECTED]> you wrote: > > However I hope that someone would be so kind to help me to address the > problem. > I'm working on a AT91SAM9260 board (which is quite similar to Atmel EK > board) compiling both u-boot and kernel sources with ELDK 4.1. > A couple a week ago I had the bad idea to install Fedora 9 on my THis is not the fault of Fedora 9 - we run this, too, on some systems, and it works fine here. To me it seems a sif you missed to install a few critical packages on your system. > thinkpad and now I'm not able to compile the kernel. Here is enclosed > the messages I got during the first steps of compilation: ... > HOSTCC scripts/mod/sumversion.o > scripts/mod/sumversion.c: In function "get_src_version": > scripts/mod/sumversion.c:384: error: "PATH_MAX" undeclared (first use > in this function) This probably means that the "kernel-headers" package is missing. Try: "yum -y install kernel-headers" (running as root). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Advice is seldom welcome; and those who want it the most always like it the least. -- Philip Earl of Chesterfield - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] compilation problems
Dear friends, I apologize for quite off topic questions, which is related to kernel compilation instead of u-boot. However I hope that someone would be so kind to help me to address the problem. I'm working on a AT91SAM9260 board (which is quite similar to Atmel EK board) compiling both u-boot and kernel sources with ELDK 4.1. A couple a week ago I had the bad idea to install Fedora 9 on my thinkpad and now I'm not able to compile the kernel. Here is enclosed the messages I got during the first steps of compilation: [EMAIL PROTECTED] linux-2.6.21]$ make uImage scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 Generating include/asm-arm/mach-types.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm CC arch/arm/kernel/asm-offsets.s GEN include/asm-arm/asm-offsets.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o scripts/mod/sumversion.c: In function "get_src_version": scripts/mod/sumversion.c:384: error: "PATH_MAX" undeclared (first use in this function) scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once scripts/mod/sumversion.c:384: error: for each function it appears in.) scripts/mod/sumversion.c:384: warning: unused variable "filelist" make[2]: *** [scripts/mod/sumversion.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 Any ideas? Many thanks Gino - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users