2000-12-28 22:06:16

by Matthew D. Pitts

[permalink] [raw]
Subject: linux 2.4.0-test12 compile error

Forgive me if this question has already been answered. I am unable to compile 2.4.0-test12 on my system.

Linux-Mandrake 7.1
gcc-2.95.3 (might be a gcc snapshot)
binutils-2.10.0.33 (freshly compiled today)
modutils-2.3.23 (compiled yesterday)

the following is the message I get

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -c -o init/main.o init/main.c

In file included from /usr/src/linux/include/linux/pagemap.h:16,

from /usr/src/linux/include/linux/locks.h:8,

from /usr/src/linux/include/linux/raid/md.h:36,

from init/main.c:24:

/usr/src/linux/include/linux/highmem.h:48: macro `clear_user_page' used with too many (3) args

/usr/src/linux/include/linux/highmem.h:90: macro `copy_user_page' used with too many (4) args

make: *** [init/main.o] Error 1



the kernel I am trying to compile is linux-2.4.0-test12 with linux-2.4.0-test12-ia64-001214 and linux-2.4.0-test12-reiserfs-3.6.23 patches applied. Is there something else I need?



Matthew D. Pitts

[email protected]


2000-12-29 04:10:08

by Matthew D. Pitts

[permalink] [raw]
Subject: Re: linux 2.4.0-test12 compile error

My fault. The ia64 patch was the problem.
----- Original Message -----
From: Matthew D. Pitts
To: [email protected]
Sent: Thursday, December 28, 2000 4:39 PM
Subject: linux 2.4.0-test12 compile error


Forgive me if this question has already been answered. I am unable to compile 2.4.0-test12 on my system.

Linux-Mandrake 7.1
gcc-2.95.3 (might be a gcc snapshot)
binutils-2.10.0.33 (freshly compiled today)
modutils-2.3.23 (compiled yesterday)

the following is the message I get

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -c -o init/main.o init/main.c

In file included from /usr/src/linux/include/linux/pagemap.h:16,

from /usr/src/linux/include/linux/locks.h:8,

from /usr/src/linux/include/linux/raid/md.h:36,

from init/main.c:24:

/usr/src/linux/include/linux/highmem.h:48: macro `clear_user_page' used with too many (3) args

/usr/src/linux/include/linux/highmem.h:90: macro `copy_user_page' used with too many (4) args

make: *** [init/main.o] Error 1



the kernel I am trying to compile is linux-2.4.0-test12 with linux-2.4.0-test12-ia64-001214 and linux-2.4.0-test12-reiserfs-3.6.23 patches applied. Is there something else I need?



Matthew D. Pitts

[email protected]