Skip to contentSkip to conversation

2.5.72 fixdep / cant make *config

DISCUSSION Benoit Beauchamp 3 participants 4 messages Jun 20, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Benoit Beauchamp

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

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

_________________________________________

Benoit Beauchamp

Quoted 28 lines

-----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

Quoted 6 lines · Benoit Beauchamp

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

#3 lore raw
In reply to Benoit Beauchamp
Quoted 14 lines · Benoit Beauchamp

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