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

To: cipe-l,AT,inka,DOT,de
Subject: Compile error on kernel 2.6.16
From: "R Dicaire" <kritek,AT,gmail,DOT,com>
Date: Sat, 27 May 2006 13:38:39 -0400
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BiYXkTegon3K8TVNdQzdeH80MQNlFiFZiqPBTdQDn4ejUTycVnWGdJJgDqoknC4WnOR6HB5zDLsVe6+3JDd971XdO0c1deL2ZxvlwhqQPkRxTLbNzIx2yIobtWCropGKKBZKgiM8Mc3YYneWPI9E+AsZApPi3OXtZAWA+7VFvQY=

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=/usr --sysconfdir=/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=/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?

--
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u


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