On Tue, Jan 14, 2014 at 8:08 AM, William Darryl Jackson < wm.djack...@comcast.net> wrote:
> Greetings, > > I am trying to get glibc installed on my system, so I can continue/begin > LFS. I get the same error from Glibc versions 2-17, and 18. > > */home/william/Downloads/glibc-2.18/nis/nis_file.c:42: undefined reference > to `xdrstdio_create' * > > *collect2: error: ld returned 1 exit status * > > *make[2]: *** [/home/william/Downloads/glibc-build/nscd/nscd] Error 1 * > > *make[2]: Leaving directory `/home/william/Downloads/glibc-2.18/nscd' * > > *make[1]: *** [nscd/others] Error 2 * > > *make[1]: Leaving directory `/home/william/Downloads/glibc-2.18' * > > *make: *** [all] Error 2* > > > Research says it is trying to do a sunrpc (procedure call) and seems to > have something to do with ports. It is a known problem on some platforms: > > 12.57.45 xdrstdio_create > > Gnulib module: — > > Portability problems fixed by Gnulib: > > Portability problems not fixed by Gnulib: > > - This function is missing on some platforms: Minix 3.1.8, Cygwin > 1.7.4, mingw, MSVC 9, BeOS. > > > > Any idea how I get around it. I tried installing Debian NSCD package but > go the same error. > > Thanks, > > William > > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > > If you are building the temporary toolchain, a quick question: Do you have the sunrpc Headers installed? At the beginning of the Glibc installation instructions, the instructions mention running the following commands: if [ ! -r /usr/include/rpc/types.h ]; then su -c 'mkdir -p /usr/include/rpc' su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc' fi Hopefully this should do it. Thank you, Douglas Reno
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page