[Openswan dev] CIFS and OpenSWAN CVS don't play

CaT cat at zip.com.au
Wed Sep 8 01:35:26 CEST 2004


I get the following compile errors with both enabled and as I'm unsure
who's at fault I'm emailing both the openswan folks and the cifs
maintainer. The kernel version is 2.6.9-rc1.

---8<---
net/built-in.o(.text+0xf1c70): In function `MD5Final':
: multiple definition of `MD5Final'
fs/built-in.o(.text+0xaf370): first defined here
ld: Warning: size of symbol `MD5Final' changed from 248 in fs/built-in.o to 152 in net/built-in.o
net/built-in.o(.text+0xf1b50): In function `MD5Init':
: multiple definition of `MD5Init'
fs/built-in.o(.text+0xaf220): first defined here
net/built-in.o(.text+0xf1b90): In function `MD5Update':
: multiple definition of `MD5Update'
fs/built-in.o(.text+0xaf260): first defined here
ld: Warning: size of symbol `MD5Update' changed from 262 in fs/built-in.o to 209 in net/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/data/kernel/linux'
packaging/utils/errcheck out.kbuild

***ERRORS DETECTED in out.kbuild (examine file for details):
make[1]: *** [.tmp_vmlinux1] Error 1

make: *** [kernel] Error 1
---8<---

A grep -rl reveals the following:

./drivers/char/random.c
./include/openswan/ipsec_md5h.h
./fs/cifs/md5.h
./fs/cifs/cifsencrypt.c
./fs/cifs/md5.c
./fs/cifs/md5.o
./fs/cifs/cifsencrypt.o
./fs/cifs/cifs.o
./fs/cifs/built-in.o
./fs/built-in.o
./net/ipsec/ipsec_ah.c
./net/ipsec/ipsec_esp.c
./net/ipsec/ipsec_md5c.c
./net/ipsec/ipsec_rcv.c
./net/ipsec/ipsec_xmit.c
./net/ipsec/pfkey_v2_parser.c
./net/ipsec/ipsec_xmit.o
./net/ipsec/ipsec_rcv.o
./net/ipsec/pfkey_v2_parser.o
./net/ipsec/ipsec_esp.o
./net/ipsec/ipsec_md5c.o
./net/ipsec/ipsec_ah.o
./net/ipsec/built-in.o
./net/built-in.o
./openswan.patch                            

-- 
    Red herrings strewn hither and yon.


More information about the Dev mailing list