Re: Debian 2.6.12

tab-mTI/[email protected] (Vincent Hanquez)
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
On Thu, Sep 22, 2005 at 06:14:17PM +0000, A T wrote:
> Hi All,
> 
> I at compiling openmosix 2.6 patch 
> http://openmosix.snarc.org/files/releases/2.6/patch-2.6.12-om-r577.bz2  
> with debian 2.6.12, the patch applies without an error but on compiling the 
> kernel i get the following error
> 
> net/socket.c: At top level:
> net/socket.c:463: error: static declaration of 'sock_alloc' follows 
> non-static declaration
> include/linux/net.h:178: error: previous declaration of 'sock_alloc' was 
> here
> make[2]: *** [net/socket.o] Error 1
> make[1]: *** [net] Error 2
> make[1]: Leaving directory `/usr/src/linux-source-2.6.12'
> make: *** [stamp-build] Error 2

I think you trying to build a kernel without CONFIG_OPENMOSIX=y
the declaration at net/socket.c should not be static if you were.

Cheers,
-- 
Vincent Hanquez


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.