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

Subject: Compile Error on Linux Kernel 2.4.2
From: Garrett Taylor <gtaylor,AT,westerntitle,DOT,net>
Date: Tue, 4 Jun 2002 00:53:27 +0200

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





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