Tracker item #3523224, was opened at 2012-05-03 04:48
Message generated for change (Comment added) made by nosebleedkt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3523224&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: misc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nosebleedkt (nosebleedkt)
Assigned to: Nobody/Anonymous (nobody)
Summary: open-vm-tools cannot compile against Glibc >2.14 and TI-RPC

Initial Comment:
Hello everybody !
Well my system is a linux-2.6.35.14 / gcc 4.7.0 / Glibc 2.14.1 / TI-RPC 0.2.2

Inside source tree I type: 
open-vm-tools-8.6.0-425873/# ./configure --prefix=/usr --without-x 
--without-dnet --without-icu --without-gtk2
Everything OK.

Then I type make. After a while I get multiple 'undefined reference to xdr...'
This is normal as open-vm-tools think that RPC implementation is still in Glibc 
project.
However, after Glibc >2.14 the RPC implementation has been removed and it is 
now in a another project called TI-RPC which resided on
http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php .

Me going  one level further, I run ./configure LIBS="-ltirpc" --prefix=/usr 
--without-x --without-dnet --without-icu --without-gtk2
Now, open-vm-tools know where to find the xdr references so things get a lot 
better. 
But still, 'make' exits with just one error: lib/include/vmxrpc.h:190: 
undefined reference to xdr_uint32_t.

So, I kindly ask the developers to make open-vm-tools compile against TI-RPC. 

Thanks :)

----------------------------------------------------------------------

>Comment By: nosebleedkt (nosebleedkt)
Date: 2012-05-03 05:11

Message:
In addition, running #strings /lib/libtirpc.so | grep xdr_u_int32_t 
returns me xdr_u_int32_t . That's weird.

And the complete error from 'make' is 

../lib/guestRpc/.libs/libGuestRpc.a(nicinfo_xdr.o): In function
`xdr_uint32':
/root/open-vm-tools-8.6.0-425873/lib/include/vmxrpc.h:190: undefined
reference to `xdr_uint32_t'
/root/open-vm-tools-8.6.0-425873/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 `/root/open-vm-tools-8.6.0-425873/libvmtools'
make: *** [all-recursive] Error 1



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3523224&group_id=204462

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to