2001-02-28 13:46:25

by David Anderson

[permalink] [raw]
Subject: Can't compilete 2.4.2 kernel

Please CC [email protected] on your replies - I'm not on the mailing list.

Slackware 7.1
cd /usr/src
tar -xvyf linux-2.4.2.tar.bz2
mv linux linux-2.4
cd linux-2.4
make mrproper
make menuconfig - {selection options, etc.}
make dep
make clean
make bzImage

Get this with bzImage:

gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1


THANKS!


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com


2001-02-28 13:50:16

by Mr. James W. Laferriere

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel


Hello David ,
do a 'ln -s linux-2.4 linux' in directory /usr/src . Hth , JimL

On Wed, 28 Feb 2001, David Anderson wrote:

> Please CC [email protected] on your replies - I'm not on the mailing list.
>
> Slackware 7.1
> cd /usr/src
> tar -xvyf linux-2.4.2.tar.bz2
> mv linux linux-2.4
> cd linux-2.4
> make mrproper
> make menuconfig - {selection options, etc.}
> make dep
> make clean
> make bzImage
>
> Get this with bzImage:
>
> gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o scripts/split-include scripts/split-include.c
> In file included from /usr/include/errno.h:36,
> from scripts/split-include.c:26:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [scripts/split-include] Error 1
>
>
> THANKS!
>
>
> Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

+----------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 25416 22nd So | Give me Linux |
| [email protected] | DesMoines WA 98198 | only on AXP |
+----------------------------------------------------------------+

2001-02-28 13:57:06

by Xavier Ordoquy

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel


simply in /usr/src do
ln -s linux-2.4 linux

---
Xavier Ordoquy,
Aurora-linux, http://www.aurora-linux.com


2001-02-28 14:02:16

by David Woodhouse

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel


[email protected] said:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory

Your glibc include files are broken. Rather than having their own copy of
the /usr/include/linux/ directory, they have a symlink into
/usr/src/linux/include/linux.

The correct fix is to put the kernel header files against which your glibc
was compiled into the /usr/include/linux/ directory. But it should suffice,
for now, to fix the symlink which you've broken by moving your kernel
sources.



--
dwmw2


2001-02-28 14:32:44

by David Anderson

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel

*CC [email protected]* on reply.

ln -s linux-2.4 linux

That helps a bit. Here's what I get now when doing 'make bzImage':

In file included from /usr/src/linux/include/linux/string.h:21,
from /usr/src/linux/include/linux/fs.h:23,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function)
/usr/src/linux/include/asm/string.h: In function `__memcpy3d':
/usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function)
make: *** [init/main.o] Error 1


Thanks!
--

On Wed, 28 Feb 2001 14:59:04 Xavier Ordoquy wrote:
>
>simply in /usr/src do
> ln -s linux-2.4 linux
>
>> Please CC [email protected] on your replies - I'm not on the mailing list.
>>
>> Slackware 7.1
>> cd /usr/src
>> tar -xvyf linux-2.4.2.tar.bz2
>> mv linux linux-2.4
>> cd linux-2.4
>> make mrproper
>> make menuconfig - {selection options, etc.}
>> make dep
>> make clean
>> make bzImage
>>
>> Get this with bzImage:
>>
>> gcc -Wall -Wstrict-prototypes -O2- fomit-frame-pointer -o scripts/split-include scripts/split-include.c
>> In file included from /usr/include/errno.h:36,
>> from scripts/split-include.c:26:
>> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
>> make: *** [scripts/split-include] Error 1
>>
>>
>> THANKS!
>>
>>
>> Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>>
>>
>
>---
> Xavier Ordoquy,
> Aurora-linux, http://www.aurora-linux.com
>
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

2001-03-01 01:28:41

by Erik Mouw

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel

On Wed, Feb 28, 2001 at 09:32:09AM -0500, David Anderson wrote:
> *CC [email protected]* on reply.
>
> ln -s linux-2.4 linux
>
> That helps a bit. Here's what I get now when doing 'make bzImage':
>
> In file included from /usr/src/linux/include/linux/string.h:21,
> from /usr/src/linux/include/linux/fs.h:23,
> from /usr/src/linux/include/linux/capability.h:17,
> from /usr/src/linux/include/linux/binfmts.h:5,
> from /usr/src/linux/include/linux/sched.h:9,
> from /usr/src/linux/include/linux/mm.h:4,
> from /usr/src/linux/include/linux/slab.h:14,
> from /usr/src/linux/include/linux/proc_fs.h:5,
> from init/main.c:15:
> /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function)
> /usr/src/linux/include/asm/string.h: In function `__memcpy3d':
> /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function)
> make: *** [init/main.o] Error 1

Known problem. Disable "SMP support" for Athlon CPUs.


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/

2001-03-01 04:05:23

by David Anderson

[permalink] [raw]
Subject: Re: Can't compilete 2.4.2 kernel

THANK YOU so much, Erik. You are now my new hero. :)

Worked like a charm! Thanks again.
--

On Thu, 1 Mar 2001 01:27:17 Erik Mouw wrote:
>On Wed, Feb 28, 2001 at 09:32:09AM -0500, David Anderson wrote:
>> *CC [email protected]* on reply.
>>
>> ln -s linux-2.4 linux
>>
>> That helps a bit. Here's what I get now when doing 'make bzImage':
>>
>> In file included from /usr/src/linux/include/linux/string.h:21,
>> from /usr/src/linux/include/linux/fs.h:23,
>> from /usr/src/linux/include/linux/capability.h:17,
>> from /usr/src/linux/include/linux/binfmts.h:5,
>> from /usr/src/linux/include/linux/sched.h:9,
>> from /usr/src/linux/include/linux/mm.h:4,
>> from /usr/src/linux/include/linux/slab.h:14,
>> from /usr/src/linux/include/linux/proc_fs.h:5,
>> from init/main.c:15:
>> /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function)
>> /usr/src/linux/include/asm/string.h: In function `__memcpy3d':
>> /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function)
>> make: *** [init/main.o] Error 1
>
>Known problem. Disable "SMP support" for Athlon CPUs.
>
>
>Erik
>
>--
>J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
>of Electrical Engineering, Faculty of Information Technology and Systems,
>Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
>Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected]
>WWW: http://www-ict.its.tudelft.nl/~erik/
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com