Build problems with Linux 2.6.11.7

View: New views
2 Messages — Rating Filter:   Alert me  

Build problems with Linux 2.6.11.7

by Jon Foster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to build cipe 1.6.0 against Linux 2.6.11.7. It works a while
then I start to see warnings about "CURRENT_TIME_SEC" being redefined
and then the build process finally blows with the following error:

/usr/src/cipe-1.6.0/2.6.11.7-i386-cb/output.c: In function `cipe_xmit':
/usr/src/cipe-1.6.0/2.6.11.7-i386-cb/output.c:175: structure has no
member named `inet'
/usr/src/cipe-1.6.0/2.6.11.7-i386-cb/output.c:197: structure has no
member named `inet'
gmake[3]: *** [/usr/src/cipe-1.6.0/2.6.11.7-i386-cb/output.o] Error 1

I've removed /usr/include/linux, /usr/include/asm &
/usr/include/asm-generic and then symlinked them back to my kernel
source tree just to be sure that the correct includes are being used.

What am I doing wrong?

TIA - Jon
--
Jon Foster
JF Possibilities, Inc.
jon@...
541-410-2760
Making computers work for you!

--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>

Re: Build problems with Linux 2.6.11.7

by Damion Wilson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jon Foster <jon <at> jfpossibilities.com> writes:  
  >    
> I'm trying to build cipe 1.6.0 against Linux 2.6.11.7. It works a while    
> then I start to see warnings about "CURRENT_TIME_SEC" being redefined    
> and then the build process finally blows with the following error:  
>    
> /usr/src/cipe-1.6.0/2.6.11.7-i386-cb/output.c: In function `cipe_xmit':  
...
> What am I doing wrong?  
>    
> TIA - Jon  
 
Try changing the line:  
   
    #define IOPT(c) (&(c)->sock->inet)  
   
in cipe/cipe.h to:  
   
    #define IOPT(c) (c->sock)  
   
and compile.  
   
 
   
   
   


--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>