Re: r314670: buildworld compile failure: undefined reference to `xdr_attrstat'

From: Cy Schubert <Cy.Schubert_at_komquats.com>
Date: Sat, 04 Mar 2017 10:16:02 -0800
The reason it's supposed to link in rpcsvc.


-- 
Cheers,
Cy Schubert <Cy.Schubert_at_cschubert.com>
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.


In message <24642190-36ea-45e7-f392-de2b6e2249b0_at_protected-networks.net>, 
Micha
el Butler writes:
> Seems that SVN r314659 broke this :-(
> 
> 	Michael
> 
> On 03/04/17 11:11, O. Hartmann wrote:
> > At revision 314670, buildworld fails on all CURRENT machines with the error
>  shown below.
> > 
> > 
> > Regards,
> > 
> > oh
> > 
> > 
> > [...]
> > ===> usr.sbin/amd/hlfsd (all)
> > Building /usr/obj/usr/src/usr.sbin/amd/hlfsd/hlfsd
> > --- hlfsd ---
> > nfs_prot_svc.o: In function `nfs_program_2':
> > /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x5f): undefined reference
>  to
> > `xdr_attrstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x7d): unde
> fined
> > reference to `xdr_attrstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.tex
> t+0x82):
> > undefined reference to
> > `xdr_sattrargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0xa2): und
> efined
> > reference to `xdr_diropres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.tex
> t+0xa7):
> > undefined reference to
> > `xdr_diropargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0xb8): und
> efined
> > reference to `xdr_readlinkres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.
> text+0xc9):
> > undefined reference to
> > `xdr_readres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0xce): undef
> ined reference
> > to `xdr_readargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0xf5): u
> ndefined
> > reference to `xdr_attrstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.tex
> t+0xfa):
> > undefined reference to
> > `xdr_writeargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x11b): un
> defined
> > reference to `xdr_nfsstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text
> +0x120):
> > undefined reference to
> > `xdr_renameargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x12e): u
> ndefined
> > reference to `xdr_nfsstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text
> +0x133):
> > undefined reference to
> > `xdr_linkargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x141): und
> efined
> > reference to `xdr_nfsstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text
> +0x146):
> > undefined reference to
> > `xdr_symlinkargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x154): 
> undefined
> > reference to `xdr_diropres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.tex
> t+0x159):
> > undefined reference to
> > `xdr_createargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x167): u
> ndefined
> > reference to `xdr_nfsstat' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text
> +0x16c):
> > undefined reference to
> > `xdr_diropargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x17a): un
> defined
> > reference to `xdr_readdirres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.t
> ext+0x17f):
> > undefined reference to
> > `xdr_readdirargs' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.text+0x18d): 
> undefined
> > reference to `xdr_statfsres' /usr/src/contrib/amd/hlfsd/nfs_prot_svc.c:(.te
> xt+0x192):
> > undefined reference to `xdr_nfs_fh' stubs.o: In function
> > `nfsproc_readlink_2_svc': /usr/src/contrib/amd/hlfsd/stubs.c:(.text+0x6f7):
>  undefined
> > reference to `xdr_readlinkres' cc: error: linker command failed with exit c
> ode 1 (use -v
> > to see invocation) *** [hlfsd] Error code 1
> > 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> 
Received on Sat Mar 04 2017 - 17:16:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC