OpenVZ Forum


Home » General » Support » compiling kernel 2.6.8.1, net/ipv6/route.c: Error: request for member `lock' in something
compiling kernel 2.6.8.1, net/ipv6/route.c: Error: request for member `lock' in something [message #23356] Thu, 15 November 2007 22:22 Go to next message
yoolee is currently offline  yoolee
Messages: 23
Registered: November 2007
Junior Member
Hi, all

I am compiling kernel 2.6.8.1, for using Linux Virtual Routing and Forwarding.

Now problem occurs when compile net/ipv6/route.c,

net/ipv6/route.c: In function `ip6_del_rt':
net/ipv6/route.c:922: warning: passing arg 1 of `_raw_write_lock' from incompatible pointer type
net/ipv6/route.c:931: error: request for member `lock' in something not a structure or union

I am using gcc3.3,

I have no idea where to find a patch or how to fix it. Can you give me some advices?

Thanks!

[Updated on: Thu, 15 November 2007 22:23]

Report message to a moderator

Re: compiling kernel 2.6.8.1, net/ipv6/route.c: Error: request for member `lock' in something [message #23370 is a reply to message #23356] Fri, 16 November 2007 05:43 Go to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
2.6.8 kernels are unmaintained now.
IPV6 should be supported well in RHEL5-based 2.6.18 kernels
Do you have some reasons to use old kernels?

Thank you,
Vasily Averin

[Updated on: Fri, 16 November 2007 05:43]

Report message to a moderator

Previous Topic: SNMP Monitoring
Next Topic: Networking? (NAT)
Goto Forum:
  


Current Time: Mon Feb 26 04:19:47 GMT 2024

Total time taken to generate the page: 0.03059 seconds