<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Compile Error on Linux Kernel 2.4.2
From: Ajit Kashyap <ajitkashyap,AT,yahoo,DOT,com>
Date: Tue, 4 Jun 2002 22:40:32 +0200
In-reply-to: <5B8CCAE95227E745A8DDCF4E32ED7C752DA34E@mail.westerntitle.net>

You can try this:

Edit file output.c (under cipe-1.5.2/cipe/) and on
line 280'ish change 
ip_select_ident(iph, &rt->u.dst); to 
ip_select_ident(iph, &rt->u.dst, tunnel->sock); 
and rerun make

Ajit Kashyap

--- Garrett Taylor <gtaylor,AT,westerntitle,DOT,net> wrote:
> I'm a bit of a linux newb and very much a
> programming newb.
> First I had a problem running configure. It said I
> had an incompatible linux
> kernel version so I added 'KVER=2.4.2' to the
> configure script after the
> point where it attempts to detect the kernel version
> and I stopped getting
> errors there. 
> 
> Then I was unable to compile. I did execute make
> from /2.4.2-i386-cb after I
> figured out that running it from the root of the
> source wasn't getting me
> very far. 
> 
> The warnings from the compiler mean nothing to me
> and I can't find the
> daemon so I assume it never compiled. The cipcb.o
> did compile though and is
> in my /lib/modules folder. (though I have no idea if
> it works)
> 
> Can anyone tell what I might have done wrong?
> 
> Excerpts from output from 'make'
> 
> In file included from ../cipe/ioctl.c:15:
> ../cipe/cipe.h:411:8: warning: extra tokens at end
> of #endif directive
> ../cipe/ioctl.c: In function `ioctl_setpar':
> ../cipe/ioctl.c:36: warning: implicit declaration of
> function `strcpy'
> ../cipe/ioctl.c: In function `ioctl_setkey':
> ../cipe/ioctl.c:45: warning: implicit declaration of
> function `memset'
> 
> (../cipe/cipe.h:411:8: warning: extra tokens at end
> of #endif directive)
> This appears several more times
> 
> ../cipe/ciped.c:749: warning: implicit declaration
> of function `time'
> 
> ../cipe/cipe.h:411:8: warning: extra tokens at end
> of #endif directive
> 
> ../cipe/cipe.h:411:8: warning: extra tokens at end
> of #endif directive
> ../cipe/output.c: In function `cipe_xmit':
> ../cipe/output.c:280: too few arguments to function
> `ip_select_ident'
> make: *** [output.o] Error 1
> 
> 
> Output from 'make install'
> gcc -MD -DKCC_BUILD -I. -include ./config.h 
> -D__KERNEL__
> -I/usr/src/linux-2.4.2/include -Wall
> -Wstrict-prototypes -O2 -
> fomit-frame-pointer -fno-strict-aliasing -fno-common
> -Wno-unused -pipe
> -mpreferred-stack-boundary=2 -DMODULE -o output.o
>  -c ../cipe/output.c
> In file included from ../cipe/output.c:15:
> ../cipe/cipe.h:411:8: warning: extra tokens at end
> of #endif directive
> ../cipe/output.c: In function `cipe_xmit':
> ../cipe/output.c:280: too few arguments to function
> `ip_select_ident'
> make: *** [output.o] Error 1
> 
> --
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "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>

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com





<< | Thread Index | >> ]    [ << | Date Index | >> ]