Compile error on kernel 2.6.16
"R Dicaire" <[email protected]> Sat, 27 May 2006 13:38:39 -0400
| Newsgroups | gmane.comp.encryption.cipe |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, I used to use cipe a few years ago and was pleased with it
immensely. I'm trying to implement it again, under linux kernel 2.6.16
and get the following:
./configure --prefix=3D/usr --sysconfdir=3D/etc/cipe
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for texinfo... no
checking for tex... no
checking for makeinfo... makeinfo
checking for gmake... gmake
checking for kernel source tree... /usr/src/linux-2.6.16
checking for kernel version... 2.6.16
checking for architecture... i386
checking for SMP... no
checking for crypto API headers... yes
checking for kernel CRC function... yes
checking for assembler parts... bf-i386.o
checking for mlock... yes
checking for mlockall... yes
checking for OpenSSL... includes /usr/include, libs /usr/lib
checking for openssl... /usr/bin/openssl
checking OpenSSL version... 0.9.7e
updating cache ./config.cache
creating ./config.status
creating Makefile
creating 2.6.16-i386-cb/Makefile
creating lib/Makefile
creating pkcipe/Makefile
creating pkcipe/rsa-keygen
creating 2.6.16-i386-cb/config.h
creating pkcipe/config.h
I then start the make, and get the following:
gcc -o ciped-cb ciped.o options.o ioctl.o ucrc32.o -L../lib -lcipe
gmake -C /usr/src/linux-2.6.16
SUBDIRS=3D/usr/src/cipe-1.6.0/2.6.16-i386-cb modules
gmake[2]: Entering directory `/usr/src/linux-2.6.16'
CC [M] /usr/src/cipe-1.6.0/2.6.16-i386-cb/module.o
In file included from /usr/src/cipe-1.6.0/2.6.16-i386-cb/cipe.h:161,
from /usr/src/cipe-1.6.0/2.6.16-i386-cb/module.c:15:
/usr/src/cipe-1.6.0/2.6.16-i386-cb/cryptoapi.h:94: error: redefinition
of `crypto_tfm_ctx'
include/linux/crypto.h:303: error: `crypto_tfm_ctx' previously defined
here
In file included from /usr/src/cipe-1.6.0/2.6.16-i386-cb/module.c:15:
/usr/src/cipe-1.6.0/2.6.16-i386-cb/cipe.h:274:1: warning:
"CURRENT_TIME_SEC" redefined
In file included from include/linux/skbuff.h:20,
from include/linux/if_ether.h:110,
from include/linux/netdevice.h:29,
from /usr/src/cipe-1.6.0/2.6.16-i386-cb/cipe.h:152,
from /usr/src/cipe-1.6.0/2.6.16-i386-cb/module.c:15:
include/linux/time.h:94:1: warning: this is the location of the
previous definition
gmake[3]: *** [/usr/src/cipe-1.6.0/2.6.16-i386-cb/module.o] Error 1
gmake[2]: *** [_module_/usr/src/cipe-1.6.0/2.6.16-i386-cb] Error 2
I've searched the mailing list archives and found nothing specific to
this issue, is there a patch or other fix?
--=20
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "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>