On 11/29/2011 10:47 AM, Bruce Dubbs wrote:
> scrat wrote:
>> On 11/29/2011 01:05 AM, Bruce Dubbs wrote:
>>> I'm still having problems with nfs.
>>>
>>> I installed the rpc headers and built libtirpc-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
>>>
>>>
>> You might have a look at arch linux build sequence, the build with
>> libtiprc>= 0.2.1
>>
>> http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nfs-utils
> I am using libtirpc-0.2.2.

Yes the libtiprc >= means that it will work with 0.2.1 or newer....BTW 
they are using 0.2.2 as well the same one that you are using

>
> Your reference says --enable-nfsv3, but nfs-utils-1.2.5 says that's an
> unrecognized option.

Yes when I build it, configure does say it is not recognized but it does 
build on my arch system

>
> arch doesn't say what version of glibc they are using.
>
>     -- Bruce

They are using glibc-2.14

I look to the arch package build when I am stuck building a pacake as 
they are usally on top of the problems. They are on the knife edge of 
bleeding edge.
Arch usally has the latest packages available and working.

This link will get to to the package build search: 
http://www.archlinux.org/packages/
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to