Re: Int Crypto Patch and FreeS/Wan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 27 October 2000 00:56, you wrote:
> On Thu, 26 Oct 2000, William Ahern wrote:
> > I have the 2.2.17 kernel, 2.2.17.9 international kernel patch and
> > frees/wan 1.6. any tips on how to get it to compile? DES, MD5 and SHA1
> > routines seems to be conflicting. everything compiles fine until it hits
> > these....
> >
> > i ran the freeswan-import script.... no beans....
>
> Could you please tell which symboles that are conflicting. It
> would make it easier to find the problem and/or fix problems
> in kerneli.

I've compiled w/ freeswan and the crypto patch, seperately. freeswan won't 
patch w/ the crypto patch already in, but the crypto patch will take after 
the freeswan patch. here are the compile errors:

cc -D__KERNEL__ -I/usr/src/kernel-source-2.2.17/include -E -C -P 
-I/usr/src/kernel-source-2.2.17/include -imacros 
/usr/src/kernel-source-2.2.17/include/asm-i386/page_offset.h -Ui386 
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /usr/src/kernel-source-2.2.17/arch/i386/vmlinux.lds -e 
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
init/version.o \        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        crypto/crypto.a drivers/block/block.a drivers/char/char.a 
drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a 
drivers/cdrom/cdrom.a drivers/sound/sound.a drivers/pci/pci.a 
drivers/pnp/pnp.a drivers/video/video.a \
        /usr/src/kernel-source-2.2.17/arch/i386/lib/lib.a 
/usr/src/kernel-source-2.2.17/lib/lib.a 
/usr/src/kernel-source-2.2.17/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
crypto/crypto.a(des.o): In function `des_set_key':
des.o(.text+0x0): multiple definition of `des_set_key'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/libdes/set_key.c:163: 
first defined here
ld: Warning: size of symbol `des_set_key' changed from 629 to 1184 in des.o
crypto/crypto.a(des.o): In function `des_encrypt':
des.o(.text+0x1750): multiple definition of `des_encrypt'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_sha1.c:165: 
first defined here
ld: Warning: size of symbol `des_encrypt' changed from 4157 to 104 in des.o
crypto/crypto.a(des.o): In function `des_ecb_encrypt':
des.o(.text+0x19d0): multiple definition of `des_ecb_encrypt'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/libdes/ecb_enc.c:114: 
first defined here
ld: Warning: size of symbol `des_ecb_encrypt' changed from 186 to 143 in des.o
crypto/crypto.a(des_ede3.o): In function `des_ede3_cbc_encrypt':
des_ede3.o(.text+0x19f0): multiple definition of `des_ede3_cbc_encrypt'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_sha1.c:165: 
first defined here
ld: Warning: size of symbol `des_ede3_cbc_encrypt' changed from 480 to 226 in 
des_ede3.o
crypto/crypto.a(md5glue.o): In function `MD5Init':
md5glue.o(.text+0x0): multiple definition of `MD5Init'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_md5c.c:148: 
first defined here
crypto/crypto.a(md5glue.o): In function `MD5Update':
md5glue.o(.text+0x30): multiple definition of `MD5Update'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_md5c.c:166: 
first defined here
crypto/crypto.a(md5glue.o): In function `MD5Final':
md5glue.o(.text+0xf8): multiple definition of `MD5Final'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_md5c.c:208: 
first defined here
ld: Warning: size of symbol `MD5Final' changed from 120 to 122 in md5glue.o
crypto/crypto.a(sha1glue.o): In function `SHA1Transform':
sha1glue.o(.text+0x0): multiple definition of `SHA1Transform'
net/network.a(ipsec.o):/usr/src/linux/include/asm/string.h:285: first defined 
here
crypto/crypto.a(sha1glue.o): In function `SHA1Init':
sha1glue.o(.text+0x1e24): multiple definition of `SHA1Init'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_sha1.c:101: 
first defined here
crypto/crypto.a(sha1glue.o): In function `SHA1Update':
sha1glue.o(.text+0x1e5c): multiple definition of `SHA1Update'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_sha1.c:115: 
first defined here
ld: Warning: size of symbol `SHA1Update' changed from 216 to 224 in sha1glue.o
crypto/crypto.a(sha1glue.o): In function `SHA1Final':
sha1glue.o(.text+0x1f3c): multiple definition of `SHA1Final'
net/network.a(ipsec.o):/usr/src/kernel-source-2.2.17/net/ipsec/ipsec_sha1.c:143: 
first defined here
make: *** [vmlinux] Error 1

Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux