Skip to contentSkip to conversation

2.6.14-rc5-mm1 wont compile

DISCUSSION Florian Engelhardt 2 participants 3 messages Oct 26, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

i patched the vanilla 2.6.13 with the 2.6.14-rc5 patch and after that with the 2.6.14-rc5-mm1 patch, configured the kernel and executed make:

CC net/core/filter.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from include/net/ip.h:28,
                 from net/core/filter.c:28:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
CC net/core/net-sysfs.o
In file included from net/core/net-sysfs.c:16:
include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
LD net/core/built-in.o
CC net/ethernet/eth.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from net/ethernet/eth.c:49:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'

  CC      net/ethernet/sysctl_net_ether.o
  LD      net/ethernet/built-in.o
  CC      net/ipv4/route.o
In file included from include/linux/mroute.h:129,
                 from net/ipv4/route.c:89:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
net/ipv4/route.c: In function `rt_check_expire':
net/ipv4/route.c:663: warning: dereferencing void *' pointer net/ipv4/route.c:663: error: request for member raw_lock' in something not a structure or union
make[2]: *** [net/ipv4/route.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

Kind regards

Flo

#1 lore raw

Florian Engelhardt napsal(a):

Quoted 41 lines

Hello,

i patched the vanilla 2.6.13 with the 2.6.14-rc5 patch and after that with the 2.6.14-rc5-mm1 patch, configured the kernel and executed make:

CC net/core/filter.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from include/net/ip.h:28,
                 from net/core/filter.c:28:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
CC net/core/net-sysfs.o
In file included from net/core/net-sysfs.c:16:
include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
LD net/core/built-in.o
CC net/ethernet/eth.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from net/ethernet/eth.c:49:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'

  CC      net/ethernet/sysctl_net_ether.o
  LD      net/ethernet/built-in.o
  CC      net/ipv4/route.o
In file included from include/linux/mroute.h:129,
                 from net/ipv4/route.c:89:
Quoted 13 lines

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
net/ipv4/route.c: In function `rt_check_expire':
net/ipv4/route.c:663: warning: dereferencing void *' pointer net/ipv4/route.c:663: error: request for member raw_lock' in something not a structure or union
make[2]: *** [net/ipv4/route.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

.config please

thanks,

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
~\-/~      [email protected]      ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
#2 lore raw

Someone else pointed me to a patch, which fixes this:

http://marc.theaimsgroup.com/?l=linux-kernel&m=113017024807880&q=raw

Flo

Zitat von Jiri Slaby <[email protected]>:

Quoted 64 lines

Florian Engelhardt napsal(a):

Quoted 41 lines

Hello,

i patched the vanilla 2.6.13 with the 2.6.14-rc5 patch and after that with the 2.6.14-rc5-mm1 patch, configured the kernel and executed make:

CC net/core/filter.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from include/net/ip.h:28,
                 from net/core/filter.c:28:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
CC net/core/net-sysfs.o
In file included from net/core/net-sysfs.c:16:
include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
LD net/core/built-in.o
CC net/ethernet/eth.o
In file included from include/net/request_sock.h:22,

                 from include/linux/ip.h:84,
                 from net/ethernet/eth.c:49:

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'

  CC      net/ethernet/sysctl_net_ether.o
  LD      net/ethernet/built-in.o
  CC      net/ipv4/route.o
In file included from include/linux/mroute.h:129,
                 from net/ipv4/route.c:89:
Quoted 9 lines

include/net/sock.h: In function `sk_dst_get':
include/net/sock.h:972: warning: implicit declaration of function `__raw_read_unlock'
include/net/sock.h: In function `sk_dst_set':
include/net/sock.h:991: warning: implicit declaration of function `__raw_write_unlock'
net/ipv4/route.c: In function `rt_check_expire':
net/ipv4/route.c:663: warning: dereferencing void *' pointer net/ipv4/route.c:663: error: request for member raw_lock' in something not

a

Quoted 4 lines

structure or union
make[2]: *** [net/ipv4/route.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

.config please

thanks,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ [email protected] ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E