Subject: Trouble compiling -current
To: None <port-hpcsh@netbsd.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-hpcsh
Date: 05/17/2003 14:56:35
Dear list,

I just like to announce, that since several weeks it seems that one 
cannot compile recent -current versions for the hpcsh target anymore 
(building from i386). The error occoured is:

/usr/src/tools/obj/tools.NetBSD-1.6S-i386/bin/shle--netbsdelf-gcc   -o 
amd -nostdlib  /usr/hpcshbuild/usr/lib/crt0.o 
/usr/hpcshbuild/usr/lib/crti.o /usr/hpcshbuild/usr/lib/crtbegin.o 
am_ops.o amd.o amfs_auto.o amfs_direct.o amfs_error.o amfs_host.o 
amfs_inherit.o amfs_link.o amfs_linkx.o amfs_nfsl.o amfs_nfsx.o 
amfs_program.o amfs_root.o amfs_toplvl.o amfs_union.o amq_subr.o 
amq_svc.o autil.o clock.o conf.o get_args.o info_file.o info_ndbm.o 
info_passwd.o info_union.o map.o mapc.o mntfs.o nfs_prot_svc.o 
nfs_start.o nfs_subr.o ops_cdfs.o ops_mfs.o ops_nfs.o ops_nfs3.o 
ops_nullfs.o ops_pcfs.o ops_tfs.o ops_tmpfs.o ops_ufs.o ops_umapfs.o 
ops_unionfs.o opts.o restart.o rpc_fwd.o sched.o srvr_amfs_auto.o 
srvr_nfs.o conf_parse.o conf_tok.o -L/usr/src/usr.sbin/amd/libamu/obj 
-lamu  -lrpcsvc -L/usr/src/usr.sbin/amd/libamu/obj -lamu 
-L/usr/hpcshbuild/usr/lib  -lgcc -lc -lgcc 
/usr/hpcshbuild/usr/lib/crtend.o /usr/hpcshbuild/usr/lib/crtn.o
/usr/hpcshbuild/usr/lib/librpcsvc.a(mount_xdr.o): In function 
`xdr_mountstat3':
mount_xdr.o(.text+0x94): multiple definition of `xdr_mountstat3'
/usr/src/usr.sbin/amd/libamu/obj/libamu.a(xdr_func.o)(.text+0x28): first 
defined here
/usr/src/tools/obj/tools.NetBSD-1.6S-i386/shle--netbsdelf/bin/ld: 
Warning: size of symbol `xdr_mountstat3' changed from 44 to 56 in 
/usr/hpcshbuild/usr/lib/librpcsvc.a(mount_xdr.o)
/usr/hpcshbuild/usr/lib/librpcsvc.a(mount_xdr.o): In function 
`xdr_mountres3_ok':
mount_xdr.o(.text+0xcc): multiple definition of `xdr_mountres3_ok'
/usr/src/usr.sbin/amd/libamu/obj/libamu.a(xdr_func.o)(.text+0x54): first 
defined here
/usr/hpcshbuild/usr/lib/librpcsvc.a(mount_xdr.o): In function 
`xdr_fhandle3':
mount_xdr.o(.text+0x24): multiple definition of `xdr_fhandle3'
/usr/src/usr.sbin/amd/libamu/obj/libamu.a(xdr_func.o)(.text+0x0): first 
defined here
/usr/hpcshbuild/usr/lib/librpcsvc.a(mount_xdr.o): In function 
`xdr_mountres3':
mount_xdr.o(.text+0x120): multiple definition of `xdr_mountres3'
/usr/src/usr.sbin/amd/libamu/obj/libamu.a(xdr_func.o)(.text+0xa8): first 
defined here
collect2: ld returned 1 exit status
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/amd/amd
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/amd/amd
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin/amd
*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.sbin
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

Cheers,

    Torsten

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB 8 - Physik             Tel.: +49 (0)202 439-2740          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>