Port-hpcsh archive

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

Re: Trouble compiling -current



Seems like this is caused by the latest revision of
lib/librpcsvc/mount.x

revision 1.5
date: 2003/05/07 13:48:47;  author: yamt;  state: Exp;  lines: +87 -3
mount v3 protocol definition.  from FreeBSD.


amd compiles that code in libamu #if defined(HAVE_FS_NFS3) &&
!defined(HAVE_XDR_MOUNTRES3) and its prebuilt config.h in our tree,
usr.sbin/amd/include/config.h, have:

/* Define if have NFS3 filesystem */
#define HAVE_FS_NFS3 1

/* Define to 1 if you have the `xdr_mountres3' function. */
/* #undef HAVE_XDR_MOUNTRES3 */


Try changing that to:

#define HAVE_XDR_MOUNTRES3 1

now that we do have it.


On Sat, May 17, 2003 at 14:56:35 +0200, Torsten Harenberg wrote:

> 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

SY, Uwe
-- 
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index