Re: libc.so.7: undefined reference to `rpc_call'

From: Chris H <bsd-lists_at_BSDforge.com>
Date: Wed, 10 Jan 2018 10:10:21 -0800
On Tue, 09 Jan 2018 23:13:47 -0800 <bsd-lists_at_BSDforge.com> said

> On Tue, 09 Jan 2018 18:30:49 -0800 <bsd-lists_at_BSDforge.com> said
> 
> > Apologies in advance, as this is on RELENG_11. But I'm not on the releng
> > list.
> > I get
> > libc.so.7: undefined reference to `rpc_call'
> > building world on a jail I created to update some older boxes that are well
> > past due. The jail(8) host is running a recent -CURRENT, and the jail is
> > running 11.1 from the most recent install media for releng.
> > 
> > Is this a known problem? If at all possible I'd like to stay as close
> > to the version of 11 I'm currently attempting to build. Anyway, any
> > information
> > is greatly appreciated.
> > 
> Here's some better context:
> 
> cc -target x86_64-unknown-freebsd11.1 --sysroot=/usr/obj/usr/src/tmp
> -B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -D_INCOMPLETE_XOPEN_C063
> -I/usr/src/lib/libnetbsd -I/usr/src/contrib/netbsd-tests -g -std=gnu99
> -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
> -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
> -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
> -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments 
> -L/usr/obj/usr/src/lib/libnetbsd -o faccessat_test.full t_faccessat.o 
> -lprivateatf-c -L/usr/obj/usr/src/lib/libnetbsd -lnetbsd
> /usr/obj/usr/src/tmp/lib/libc.so.7: undefined reference to `rpc_call'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> > 
> > 
> --Chris
Feel free to disregard. I'm under pressure to get this done. So I've
svn up'ped the src to 11-STABLE, and ports to HEAD, and am making another
attempt. I'll report back, should this also happen on these revisions.

Thanks!

--Chris
> 
> 
> _______________________________________________
> 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 Wed Jan 10 2018 - 17:10:06 UTC

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