2003-06-20 19:24:29

by Benoit Beauchamp

[permalink] [raw]
Subject: 2.5.72 fixdep / cant make *config

HOSTCC scripts/fixdep
In file included from /usr/include/netinet/in.h:212,
from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts] Error 2


For some reason, I cant even make config, make menuconfig or anything like
that. I did find something weird when I tried the 2.4.21 kernel .. Did make
menuconfig and nothing showed up on screen except Load Alternate config and
Save..

I think its only a variable that I need to set but I don't know where to
look. Help



2003-06-20 20:33:30

by Sam Ravnborg

[permalink] [raw]
Subject: Re: 2.5.72 fixdep / cant make *config

On Fri, Jun 20, 2003 at 12:38:04PM -0700, Benoit Beauchamp wrote:
> HOSTCC scripts/fixdep
> In file included from /usr/include/netinet/in.h:212,
> from scripts/fixdep.c:107:
> /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
> scripts/fixdep.c: In function `use_config':

What is LANG set to?
Try:
$ echo $LANG

Evantually try:
LANG=C; make

With some installations gcc gets confused, and cannot locate the include files.

Sam

2003-06-20 20:45:30

by Benoit Beauchamp

[permalink] [raw]
Subject: RE: 2.5.72 fixdep / cant make *config

root@high:/usr/src# echo $LANG
C

_________________________________________

Benoit Beauchamp

> -----Original Message-----
> From: Sam Ravnborg [mailto:[email protected]]
> Sent: June 20, 2003 1:47 PM
> To: Benoit Beauchamp
> Cc: [email protected]
> Subject: Re: 2.5.72 fixdep / cant make *config
>
>
> On Fri, Jun 20, 2003 at 12:38:04PM -0700, Benoit Beauchamp wrote:
> > HOSTCC scripts/fixdep
> > In file included from /usr/include/netinet/in.h:212,
> > from scripts/fixdep.c:107:
> > /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or
> > directory
> > scripts/fixdep.c: In function `use_config':
>
> What is LANG set to?
> Try:
> $ echo $LANG
>
> Evantually try:
> LANG=C; make
>
> With some installations gcc gets confused, and cannot locate
> the include files.
>
> Sam
>


2003-06-20 21:46:58

by Kai Germaschewski

[permalink] [raw]
Subject: Re: 2.5.72 fixdep / cant make *config

On Fri, 20 Jun 2003, Benoit Beauchamp wrote:

> HOSTCC scripts/fixdep
> In file included from /usr/include/netinet/in.h:212,
> from scripts/fixdep.c:107:
> /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
> scripts/fixdep.c: In function `use_config':
> scripts/fixdep.c:193: `PATH_MAX' undeclared (first use in this function)
> scripts/fixdep.c:193: (Each undeclared identifier is reported only once
> scripts/fixdep.c:193: for each function it appears in.)
> scripts/fixdep.c:193: warning: unused variable `s'
> scripts/fixdep.c: In function `parse_dep_file':
> scripts/fixdep.c:289: `PATH_MAX' undeclared (first use in this function)
> scripts/fixdep.c:289: warning: unused variable `s'
> make[1]: *** [scripts/fixdep] Error 1
> make: *** [scripts] Error 2

Make sure that /usr/include/asm has a proper set of headers, i.e. it's not
just a symlink pointing to your current kernel source. google.com will get
you more information ;)

--Kai