linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem compiling 2.6.16.1
@ 2006-04-06  9:21 Paolo Ciarrocchi
  2006-04-06 22:43 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Ciarrocchi @ 2006-04-06  9:21 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi all,
a friend of mine got this error compiling 2.6.16.1 and we don't know
what's wrong:

uno:/usr/src/linux-2.6.16.1#   make O=/home/dan/build/kernel menuconfig
 HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:130,
                from /usr/include/limits.h:144,
                from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
                from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
                from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
                from /usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
                from /usr/include/netinet/in.h:24,
                from /usr/include/arpa/inet.h:23,
                from /usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c: In function `use_config':
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:214: error: `PATH_MAX'
undeclared (first use in this function)
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:214: error: (Each
undeclared identifier is reported only once
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:214: error: for each
function it appears in.)
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:214: warning: unused variable `s'
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c: In function `parse_dep_file':
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:310: error: `PATH_MAX'
undeclared (first use in this function)
/usr/src/linux-2.6.16.1/scripts/basic/fixdep.c:310: warning: unused variable `s'
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [menuconfig] Error 2
uno:/usr/src/linux-2.6.16.1#

Any hint?


--
Paolo
http://paolociarrocchi.googlepages.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem compiling 2.6.16.1
  2006-04-06  9:21 problem compiling 2.6.16.1 Paolo Ciarrocchi
@ 2006-04-06 22:43 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-04-06 22:43 UTC (permalink / raw)
  To: Paolo Ciarrocchi; +Cc: Linux Kernel Mailing List

On Thu, Apr 06, 2006 at 11:21:46AM +0200, Paolo Ciarrocchi wrote:

> Hi all,
> a friend of mine got this error compiling 2.6.16.1 and we don't know
> what's wrong:
> 
> uno:/usr/src/linux-2.6.16.1#   make O=/home/dan/build/kernel menuconfig
>  HOSTCC  scripts/basic/fixdep
>...
> /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
>...
> Any hint?

Your friend has gcc installed, but not the kernel headers that should 
be provided by his distribution for usage with his libc (although they 
are similar, these are _not_ the headers of the kernel he is trying 
to compile).

> Paolo

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-06 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-06  9:21 problem compiling 2.6.16.1 Paolo Ciarrocchi
2006-04-06 22:43 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).