OpenVZ Forum


Home » General » Support » problem compiling Kernel RHEL5 028stab057.2
problem compiling Kernel RHEL5 028stab057.2 [message #32577] Sun, 17 August 2008 12:27 Go to next message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
Hi, i'm getting following error when compiling Kernel RHEL5 028stab057.2
-----------------------------------------------
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC net/socket.o
CC net/core/dev.o
LD net/core/built-in.o
CC net/ipv4/route.o
In file included from net/ipv4/route.c:105:
include/net/xfrm.h:860: error: conflicting types for â
include/net/icmp.h:82: error: previous declaration of â was here
make[2]: *** [net/ipv4/route.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
-----------------------------------------------

I downloaded the config from http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab057.2/configs/kernel-2.6.18-i686.config.ovz
and made some modifications with 'make menuconfig'

Any ideas?

[Updated on: Sun, 17 August 2008 12:28]

Report message to a moderator

Re: problem compiling Kernel RHEL5 028stab057.2 [message #32580 is a reply to message #32577] Sun, 17 August 2008 18:34 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

File a bug to bugzilla.openvz.org, do not forget to provide your .config.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: problem compiling Kernel RHEL5 028stab057.2 [message #32602 is a reply to message #32577] Mon, 18 August 2008 22:05 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I have checked and this is a bug in couple of Red Hat patches. I suggest you recompile with CONFIG_XFRM option turned on. You can file a bug to http://bugzilla.redhat.com, saying their kernel 2.6.18-92.1.1.EL5 can not be compiled w/o CONFIG_XFRM

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Compatibility: FC9
Next Topic: vzdump how to restore xdelta backup file ?
Goto Forum:
  


Current Time: Wed May 08 02:09:32 GMT 2024

Total time taken to generate the page: 0.01479 seconds