[U-Boot-Users] compilation problems

Kenneth Johansson kenneth at southpole.se
Fri Aug 1 17:00:40 CEST 2008


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






More information about the U-Boot mailing list