[OpenAFS-devel] DU64 5.1: Kernel Build: Multiply defined: xdr_uint64, xdr_int64
Dieter Meinert
dieter.meinert@aip.de
Fri, 29 Jun 2001 11:06:35 +0200 (MEST)
-----BEGIN PGP SIGNED MESSAGE-----
Hello,
I suppose this is the right list for my Question, if not please
tell me.
I have a Dec Alpha with DU64v5.1pl3, and OpenAFS 1.0.4
The sources compile OK, but when I try to generate a new kernel,
following the instructions on
http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/QkBegin/auqbg005.htm#HDRWQ26
I get the following problem:
rm -f CALYPSO.mod
ld -dc -r -o CALYPSO.mod init_main.o ipc_globals.o vm_init.o lockinfo.o pmap_init.o alpha_init.o startup.o bootio_subrs.o bootio_net.o io.o sys.o sys_advfs.o sys_cdfs.o steal_mem.o entry.o vmunix.swap ufs_quota_stubs.o cm_data.o device_data.o gw_screen_data.o time_data.o netaf_config.o str_config.o vfs_conf.o tty_conf.o binlog_data.o conf.o ioconf.o param.o cam_config.o cam_debug.o sim_config.o cam_data.o cam_special_data.o pcxal_data.o pci_option_data.o isa_option_data.o ws_data.o cpuconf.o autoconf_data.o cons_sw_data.o
/usr/lib/cmplrs/cc/objZ CALYPSO.mod
Generating version stamp
Generating EXTRAS.mod
Linking vmunix
ld:
afs.mod: xdr_int64: multiply defined
afs.mod: xdr_uint64: multiply defined
*** Exit 1
Stop.
The two codes are defined in both afs.mod and rpc.mod.
So, where and how can I safely remove one of the definitions to
get the kernel to build ?
Since on dux50a the same rpc module exists, I suppose that
the problem is occuring there, too ?
/bin/nm rpc.mod:
...
xdr_int64 | 0000000268436160 | T | 0000000000000008
xdr_uint64 | 0000000268436128 | T | 0000000000000008
...
/bin/nm afs.mod:
...
xdr_int64 | 0000000268819712 | T | 0000000000000008
xdr_uint64 | 0000000268819984 | T | 0000000000000008
...
Tschüß,
Dieter
_____________________________*__________________________________
/ * dieter.meinert@aip.de \
\ Dieter Meinert (- ** http://www.aip.de/~dieter/ \
\__________________A______*__*___________________________________/
(public pgp key from http://www.aip.de/~dieter/)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
iQCVAwUBOzxFG/YksnFoaQ6JAQE0bwQAkbKictXd8GqPhJ7Gw0gk9srAaFA7S/Pf
RgLrBpfXhNFkLpP85IkbgZIycyBkxG6D5/0ueE2hqa6Aufa/02rGdnmoE/gSt5eB
iUIFHjdnGf9L6A8jgLEnTowvQgwejPs613AVpJPF0FueSfJugxuIWWaqpzMf6Wwt
SMlY2Nhx1tY=
=EPms
-----END PGP SIGNATURE-----