Skip to contentSkip to conversation

xen 2.0.3 and kernel 2.4

DISCUSSION Tobias Hunger 2 participants 2 messages Jan 12, 2005 – Jan 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi there!

I get the following error when trying to build a linux 2.4.28 kernel with xen 2.0.3 support:

make[4]: Entering directory `/home/hunger/long-tmp/xen-2.0/linux-2.4.28-xen2/arch/xen/mm'
gcc -D__KERNEL__ -I/home/hunger/long-tmp/xen-2.0/linux-2.4.28-xen2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=init
-c -o init.o init.c
init.c: In function `free_pages_init':
init.c:381: error: too many arguments to function one_highpage_init' init.c:356: warning: unused variable bad_ppro'
make[4]: *** [init.o] Error 1

I get the same error with today's unstable xen. It builds fine using yesterdays unstable (with identical configuration).

Any ideas?

Thanks!

--
Gruss,
Tobias

------------------------------------------------------------
Tobias Hunger The box said: 'Windows 95 or better'
[email protected] So I installed Linux.
------------------------------------------------------------

#1 lore raw
Quoted 17 lines

Hi there!

I get the following error when trying to build a linux 2.4.28 kernel with xen 2.0.3 support:

make[4]: Entering directory `/home/hunger/long-tmp/xen-2.0/linux-2.4.28-xen2/arch/xen/mm' gcc -D__KERNEL__ -I/home/hunger/long-tmp/xen-2.0/linux-2.4.28-xen2/include

(quoted diff) +0 -4
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon 
-fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=init  
-c -o init.o init.c

init.c: In function `free_pages_init':
init.c:381: error: too many arguments to function one_highpage_init' init.c:356: warning: unused variable bad_ppro'
make[4]: *** [init.o] Error 1

Quoted 2 lines

I get the same error with today's unstable xen. It builds fine using yesterdays unstable (with identical configuration).

I'll wager that the config you used yesterday didn't include CONFIG_HIGHMEM4G.

It's a bug that was introduced a while ago. I'll check in a fix.

Ian

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt