You can safely remove the xdr_int64 from afs.mod. This is an extension I addded for MR-AFS which you certainly aren't using. Therefore it probably doesn't matter how DU64 implemted xdr_int64. I implemented it in a way that two int32 numbers are transfered, 1st the high order bits 2nd the low order bits of the int64 number. I should, however, give my xdr_int64 the name afs_xdr_int64 in the future to avoid any mess. Hartmut Reuter Dieter Meinert wrote: > > -----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/auq$ > 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 > > _____________________________*__________________________________ > / * [EMAIL PROTECTED] \ > \ Dieter Meinert (- ** http://www.aip.de/~dieter/ \ > \__________________A______*__*___________________________________/ > (public pgp key from http://www.aip.de/~dieter/) > > -----BEGIN PGP SIGNATURE----- > Version: 2.6.3ia ----------------------------------------------------------------- Hartmut Reuter e-mail [EMAIL PROTECTED] phone +49-89-3299-1328 RZG (Rechenzentrum Garching) fax +49-89-3299-1301 Computing Center of the Max-Planck-Gesellschaft (MPG) and the Institut fuer Plasmaphysik (IPP) ----------------------------------------------------------------- _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
