2005-10-26 05:31:20

by Florian Engelhardt

[permalink] [raw]
Subject: 2.6.14-rc5-mm1 wont compile

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


2005-10-26 13:36:30

by Jiri Slaby

[permalink] [raw]
Subject: Re: 2.6.14-rc5-mm1 wont compile

Florian Engelhardt napsal(a):
> 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
.config please

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

2005-10-26 15:07:47

by Florian Engelhardt

[permalink] [raw]
Subject: Re: 2.6.14-rc5-mm1 wont compile

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]>:

> Florian Engelhardt napsal(a):
> > 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
> .config please
>
> thanks,
> --
> Jiri Slaby http://www.fi.muni.cz/~xslaby
> ~\-/~ [email protected] ~\-/~
> B67499670407CE62ACC8 22A032CC55C339D47A7E
>