On Tue, Nov 29, 2011 at 12:05:00AM -0600, Bruce Dubbs wrote:
> I'm still having problems with nfs.
>
> I installed the rpc headers and built libtiprc-0.2.2 as described in the
> book.
>
> I built and installed rpcbind-0.2.0 without problems. It seems to start
> with the bootscript OK and rpcinfo seems OK.
>
> I can't build nfs-utils. mountd fails to link. It gives lots of
> unresolved references. I can manually add -ltirpc -lpthread and it
> reduces the unresolved references to one: `__rpc_thread_svc_fdset
>
> The is because the module is using fdset which is defined in rpc.h as:
>
> extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__));
>
> I've looked and can't find a reference to this anywhere except in glibc:
> sunrpc/rpc_thread.c
>
> libc gives a name __rpc_thread_svc_fdset@GLIBC_2.2.5, but I don't know
> what that means.
>
> I know I did have nfs-utils building at one time, but now it's failing.
>
> Does anyone have any ideas?
>
> -- Bruce
>
Sorry to hear that, Bruce. No ideas, and google (using lynx -
might be better when I have firefox installed) is not helpful. All
I can offer is my own build versions and instructions. Nfs-utils
continues to build and DESTDIR install for me - I'm building it
agaisnt tcp_wrappers.
tcp_wrappers-7.6 with tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
make install
rm -v /usr/lib/libwrap.a
mv -v /usr/lib/libwrap.so* /lib
ln -sfv /lib/libwrap.so.0 /usr/lib/libwrap.so
rpcnis headers - installed early for postfix-2.8.5.
libtirpc-0.2.2 with libtirpc-0.2.2-remove-nis-2.patch
autoreconf
./configure --prefix=/usr --enable-static=no
make
make libdir=/lib pkgconfigdir=/usr/lib/pkgconfig install
ln -sfv /lib/libtirpc.so /usr/lib
rpcbind-0.2.0
./configure --prefix=/usr --enable-libwrap \
--with-statedir=/run
LDLIBS=-ltirpc make
make install
mv -v /usr/bin/rpcbind /sbin
mv -v /usr/bin/rpcinfo /usr/sbin
attr-2.4.44
as BLFS, then
rm -v /usr/lib/libattr.a
libcap2_22.orig
make
make RAISE_SETFCAP=no install
rm -v /lib/libcap.a
libevent-2.0.16
./configure --prefix=/usr --enable-static=no
make
make install
libnfsidmap-0.24
./configure --prefix=/usr --libdir=/lib --enable-static=no
make
make install
mv -v /lib/pkgconfig/libnfsidmap.pc /usr/lib/pkgconfig
rmdir -v /lib/pkgconfig
LVM2.2.02.88 (device mapper)
as in BLFS
nfs-utils-1.2.5
./configure --prefix=/usr --sysconfdir=/etc \
--disable-gss --with-tcp-wrappers --enable-static=no
# the --disable-gss is required, as I'm sure you know,
# the --with-tcp-wrappers and --enable-ststic=no
# do not alter my ability to bouild/not-build this
make
make install
Obviously, I don't expect that my removing the static libs makes
any difference, but something unusual is happening to you so I've
left those instructions in to give a full picture.
Good luck!
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page