Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-2.5 with IPv6 and UML
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Wed Mar 05, 2003 1:05 pm    Post subject: linux-2.5 with IPv6 and UML Reply with quote

Hi guys,

I just took my working 2.4 config - ran make oldconfig on a 2.5.63 kernel - patched with a few UML upgrades from the User Mode Linux site - but if I configure my kernel with make menuconfig ARCH=um - I can't select IPv6.

I then tried to configure it with ipv6 (and cryptoapi) - and then configure it with UML - but when I try to compile it dies :(

Anybody have any experience with this?

I use vservers (alternativ to UML with much better performance and no extra ressource usage) and I wanted to use real IPv6 (ie. IPv6 with IPSEC - as required by the RFC - and not included with 2.4 ipv6).
As there is no vserver patch for 2.5 I figured, I could use UML instead - but
i've tried it with both 2.4 and 2.5 it won't compile when I enable USAGI ipv6 (the ipv6 included in 2.5) and UML.

output from compile (make bzImage):

gcc -Wp,-MD,init/.main.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=main -DKBUILD_MODNAME=main -c -o init/main.o init/main.c
In file included from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/proc_fs.h:5,
from init/main.c:15:
include/asm/processor.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/asm/processor.h:65: requested alignment is not a constant
In file included from include/linux/fs.h:17,
from include/linux/proc_fs.h:6,
from init/main.c:15:
include/linux/dcache.h:99: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/linux/dcache.h:99: requested alignment is not a constant
In file included from include/linux/mm.h:197,
from include/linux/pagemap.h:7,
from include/linux/blkdev.h:10,
from include/linux/blk.h:4,
from init/main.c:26:
include/linux/page-flags.h:118: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/linux/page-flags.h:118: requested alignment is not a constant
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum