Tracker item #3398994, was opened at 2011-08-26 14:34
Message generated for change (Comment added) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3398994&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: FreeBSD 'make install' failure

Initial Comment:
open-vm-tools-2011.08.21-471295
FreeBSD 8.2

automake 1.11.1
autoconf 2.68
libtool 2.4

(See full log of 'make install' in the attachment.)

% pwd # build directory
/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295
% ./configure --prefix=`pwd`/1 --without-procps --disable-unity
% patch -p0 < /usr/ports/emulators/open-vm-tools/files/patch-freebsd-8
% make # builds fine
% make install # FAILS
[...]
libtool: relink: gcc -shared  .libs/libhgfs_la-hgfslib.o  -Wl,--whole-archive 
../lib/hgfs/.libs/libHgfs.a ../lib/hgfsHelper/.libs/libHgfsHelper.a 
../lib/hgfsServer/.libs/libHgfsServer.a 
../lib/hgfsServerManagerGuest/.libs/libHgfsServerManagerGuest.a 
../lib/hgfsServerPolicyGuest/.libs/libHgfsServerPolicyGuest.a 
-Wl,--no-whole-archive  -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath 
-Wl,/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/1/lib 
-L/usr/local/lib -lgthread-2.0 
-L/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/1/lib -lvmtools 
-lglib-2.0  -Wl,-z -Wl,defs -Wl,-lc -pthread   -pthread -Wl,-soname 
-Wl,libhgfs.so.0 -o .libs/libhgfs.so.0
../lib/hgfsServer/.libs/libHgfsServer.a(hgfsServer.o)(.text+0x564): In function 
`HgfsIsCached':
/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/lib/hgfsServer/hgfsServer.c:4963:
 undefined reference to `MXUser_AcquireExclLock'
[...]
libtool: install: error: relink `libhgfs.la' with the above command before 
installing it
*** Error code 1

Stop in /usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/libhgfs.


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

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-08-26 15:00

Message:
This works for me on FreeBSD 7.1. Few questions:

. is /usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295 a local or
remote drive? If it's remote could you try a local one?

. could you try running "autoreconf" before running configure?

. what's the output of:
nm -C
/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/1/lib/libvmtools.so
| grep MXUser

I see that symbol (as a 'T' = exported symbol) in my build.

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

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

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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