Tracker item #2865799, was opened at 2009-09-24 11:25 Message generated for change (Comment added) made by pirzyk You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2865799&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: libraries Group: None Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Jim (pirzyk) Assigned to: Nobody/Anonymous (nobody) Summary: make install fails Initial Comment: When compling 2009.09.18, the 'make install' target fails, can't create shared libraries because of misisng symbols. Had to add some tags in the configure.ac and */Makefile.am to get it to work. Patch attached. ---------------------------------------------------------------------- Comment By: Jim (pirzyk) Date: 2009-12-23 10:26 Message: Yes, the workaround was to update libtool. Sorry for the red herring. ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (mvanzin) Date: 2009-12-18 21:05 Message: I'll assume you found a workaround (since I wasn't able to reproduce your issue), speak up if you're still having problems. ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (mvanzin) Date: 2009-10-22 19:22 Message: I just tried the latest release on a Fedora 8 VM and it seems to work fine. This is the output of the step that seems to fail for you: libtool: install: (cd /home/vmware/ovt/open-vm-tools-2009.10.15-201664/tests/testDebug; /bin/sh /home/vmware/ovt/open-vm-tools-2009.10.15-201664/libtool --tag CC --mode=relink gcc -g -O2 -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wl,-z,defs -Wl,-lc -shared -module -avoid-version-o libtestDebug.la -rpath /usr/local/share/open-vm-tools/tests libtestDebug_la-testDebug.lo -lgobject-2.0 -lglib-2.0 /home/vmware/ovt/open-vm-tools-2009.10.15-201664/libvmtools/libvmtools.la -lglib-2.0 ../vmrpcdbg/libvmrpcdbg.la -inst-prefix-dir /home/vmware/ovt/inst) libtool: relink: gcc -shared .libs/libtestDebug_la-testDebug.o -Wl,--whole-archive ../vmrpcdbg/.libs/libvmrpcdbg.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -L/home/vmware/ovt/inst/usr/local/lib -L/usr/local/lib -lvmtools -ldl -lcrypt -lpthread -lglib-2.0 -Wl,-z -Wl,defs -Wl,-lc -Wl,-soname -Wl,libtestDebug.so -o .libs/libtestDebug.so libtool: install: /usr/bin/install -c .libs/libtestDebug.soT /home/vmware/ovt/inst/usr/local/share/open-vm-tools/tests/libtestDebug.so Are you sure you somehow don't have a mix of old and new sources you're trying to compile? (The functions that libtool complains about in your output have gone through some changes in the past few months.) I'd recommend trying with a fresh source dir. If you're getting the data from git, then there might be an issue with the version of libtool in those distros (since I used the tarball, it comes with the code generated from our version of libtool, which I think is 2.2). ---------------------------------------------------------------------- Comment By: Jim (pirzyk) Date: 2009-10-21 12:51 Message: In further testing, I have determined the problem only happens on the Fedora Core 5 and 8 systems I compile on, not on Fedora Core 11 or CentOS 5.3. Here's the errors: make[3]: Entering directory `/var/tmp/open-vm-tools-2009.10.15-201664/tests/testDebug' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/share/open-vm-tools/tests" || //bin/mkdir -p "/home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664.1.fc5-jpirzy01/usr/share/open-vm-tools/tests" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libtestDebug.la' '/home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664.1.fc5-jpirzy01/usr/share/open-vm-tools/tests/libtestDebug.la' libtool: install: warning: relinking `libtestDebug.la' libtool: install: (cd /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/tests/testDebug; /bin/sh /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/libtool --tag CC --mode=relink gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing -Wno-unknown-pragmas -Wno-uninitialized -Wl,-z,defs -Wl,-lc -shared -module -avoid-version -o libtestDebug.la -rpath /usr/share/open-vm-tools/tests libtestDebug_la-testDebug.lo -lgobject-2.0 -lglib-2.0 /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/libvmtools/libvmtools.la -lglib-2.0 ../vmrpcdbg/libvmrpcdbg.la -inst-prefix-dir /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664.1.fc5-jpirzy01) libtool: relink: gcc -shared .libs/libtestDebug_la-testDebug.o -Wl,--whole-archive ../vmrpcdbg/.libs/libvmrpcdbg.a -Wl,--no-whole-archive -lgobject-2.0 -L/usr/lib -lgmodule-2.0 -L/home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664.1.fc5-jpirzy01/usr/lib -lvmtools -ldl -ldnet -lcrypt -licui18n -licuuc -licudata -lpthread -lm -lglib-2.0 -m32 -march=i386 -mtune=generic -Wl,-z -Wl,defs -Wl,-lc -Wl,-soname -Wl,libtestDebug.so -o .libs/libtestDebug.so .libs/libtestDebug_la-testDebug.o: In function `TestDebugReceiveVersion': /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/tests/testDebug/testDebug.c:165: undefined reference to `Util_SafeInternalStrdup' ../vmrpcdbg/.libs/libvmrpcdbg.a(libvmrpcdbg_la-debugChannel.o): In function `RpcDebugSend': /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/tests/vmrpcdbg/debugChannel.c:233: undefined reference to `Util_SafeInternalStrdup' /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/tests/vmrpcdbg/debugChannel.c:245: undefined reference to `Util_SafeInternalStrdup' /home/jpirzy01/src/BUILD/open-vm-tools-2009.10.15-201664/tests/vmrpcdbg/debugChannel.c:222: undefined reference to `Util_SafeInternalStrdup' collect2: ld returned 1 exit status libtool: install: error: relink `libtestDebug.la' with the above command before installing it make[3]: *** [install-pluginLTLIBRARIES] Error 1 make[3]: Leaving directory `/var/tmp/open-vm-tools-2009.10.15-201664/tests/testDebug' ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (mvanzin) Date: 2009-09-24 20:21 Message: Could you post the error that you're seeing? It looks like there's something more fundamentally wrong here, because libMisc.la is already linked into libvmtools.so, which is already part of the libraries used by the testDebug plugin you're modifying. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=2865799&group_id=204462 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel