On 04/06/12 00:10, Bruce Dubbs wrote:
> Thomas de Roo wrote:
>> Hello,
>>
>> I’m trying to compile open-vm-tools-2012.03.13-651368. I get this error:
>>
>> ../lib/guestRpc/.libs/libGuestRpc.a(nicinfo_xdr.o): In function `xdr_uint32':
>> /usr/src/blfs/open-vm-tools-2012.03.13-651368/lib/include/vmxrpc.h:190: 
>> undefined reference to `xdr_uint32_t'
>> /usr/src/blfs/open-vm-tools-2012.03.13-651368/lib/include/vmxrpc.h:190: 
>> undefined reference to `xdr_uint32_t'
>> collect2: error: ld returned 1 exit status
>> make[1]: *** [libvmtools.la] Error 1
>> make[1]: Leaving directory 
>> `/usr/src/blfs/open-vm-tools-2012.03.13-651368/libvmtools'
>> make: *** [all-recursive] Error 1
>>
>> I checked that 
>> /usr/src/blfs/open-vm-tools-2012.03.13-651368/lib/include/vmxrpc.h has 
>> "#include<rpc/xdr.h>". /usr/include/rpc/xdr.h has a line "extern bool_t 
>> xdr_uint32_t (XDR *__xdrs, uint32_t *__up) __THROW;".
>>
>> Where should I look for a solution?
> Have you installed libtirpc?
>
> You may have to add -ltirpc to the libraries linked.
>
>     -- Bruce
I have libtirpc installed. I tried adding -ltirpc using:
LIBS="-ltirpc" ./configure --prefix=/usr --sysconfdir=/etc  --without-x 
--without-icu
The Makefile has a line "LIBS = -ltirpc". But I still get this error.

Thanks,
Thomas
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to