Tiny Core Base > TCB Bugs
5.2: glibc does not export any xdr_ symbols
lapawa:
Once again I'm compiling open-vm-tools for TCL 5.2.
They depend on rpc method exported by the glibc.
I've found the corresponding xdr_ functions in the header file /usr/include/rpc/xdr.h.
E.g.: extern bool_t xdr_int16_t (XDR *__xdrs, int16_t *__ip) __THROW;
But the linker can't find the symbols in any shared library.
Are they missing in the glibc binary of TCL5.2?
They were available back in tcl version 4.7
Thanks for any comments.
Juanito:
Perhaps you need libtirpc-dev?
curaga:
RPC was removed from upstream glibc several versions ago, IIRC in 2.14.
andyj:
What version of open-vm-tools are you using? I have some scripts that I developed for TC 5.0 which will build open-vm-tools-9.2.3-1031360 using libtirpc-0.2.3, but I haven't maintained them for the latest versions. I went around with the TC team about the move from eglibc to glibc and the lack of RPC and lost, so we're on our own. Someday I'll update the wiki for 5.0, when I get it working with libtirpc-0.2.4.
Andy
lapawa:
I'm working with the newest version from sf.net: open-vm-tools-9.4.0-1280544.tar.gz
The build does not work with the tirpc library.
--- Code: -----snipped--
dynxdr.c: In function 'DynXdr_Create':
dynxdr.c:320:7: error: initialization from incompatible pointer type [-Werror]
dynxdr.c:320:7: error: (near initialization for 'dynXdrOps.x_getpostn') [-Werror]
dynxdr.c:326:7: error: excess elements in struct initializer [-Werror]
dynxdr.c:326:7: error: (near initialization for 'dynXdrOps') [-Werror]
cc1: all warnings being treated as errors
--snipped--
--- End code ---
I've tried
CFLAGS=-I/usr/local/include/tirpc
and
LDFLAGS=-ltirpc
without success.
I don't want to dive too deep into the automake/configure mechanism this is always very time consuming.
Do you habe any patches or hints for me to get a version with tirpc running.
In the source code (e.g. lib/dynxdr/dynxdr.c and lib/include/vmxrpc.h) are some preprocessor statements #if defined(__GLIBC__) || defined(__SUN__) hidden.
Have you altered them?
Thanks for any advice
Navigation
[0] Message Index
[#] Next page
Go to full version