Tracker item #3398994, was opened at 2011-08-26 21:34 Message generated for change (Settings changed) made by 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: Closed Resolution: None Priority: 5 Private: No Submitted By: Henry F. () 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: Henry F. () Date: 2011-08-26 23:24 Message: @mvanzin Yes, I have existing installation of open-vm-tools. Trick with LDFLAGS solved the problem. Thanks! (As a side issue, during the installation a directory /etc/vmware-tools is created. This is not right. Firstly, by FreeBSD standards, files in that directory must be in /usr/local/etc/vmware-tools. Secondly, '--prefix=' option in configure is violated.) ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (mvanzin) Date: 2011-08-26 22:58 Message: The function is definitely there: 00018470 T MXUser_AcquireExclLock Do you have an existing installation of open-vm-tools (i.e., does /usr/local/lib/libvmtools.so exist)? If so, could you try configuring with LDFLAGS="-L/usr/local/opt/samba/tmp/open-vm-tools-2011.08.21-471295/1/lib"? ---------------------------------------------------------------------- Comment By: Henry F. () Date: 2011-08-26 22:50 Message: @mvanzin This is a local drive. Running autoreconf didn't help. nm output is: 00019d30 t MXUserAcquisition 0001b010 T MXUserAcquisitionSample 0001b750 T MXUserAcquisitionStatsSetUp 0001b5b0 T MXUserAcquisitionStatsTearDown 0001be20 T MXUserAddToList 0001b260 T MXUserAllocSerialNumber 0001af80 T MXUserBasicStatsSample 0001b6b0 T MXUserBasicStatsSetUp 0001b570 T MXUserBasicStatsTearDown 00017b10 T MXUserCreateCondVar 00018b50 t MXUserCreateRecLock 0001a2f0 t MXUserDown 0001b4c0 T MXUserDumpAcquisitionStats 000176c0 T MXUserDumpAndPanic 0001adc0 t MXUserDumpBarrier 0001b2c0 T MXUserDumpBasicStats 00017fc0 t MXUserDumpExclLock 00019970 T MXUserDumpRWLock 00018750 t MXUserDumpRecLock 0001a910 T MXUserDumpSemaphore 0001bc90 T MXUserForceHisto 00019280 t MXUserFreeHashEntry 000192b0 t MXUserGetHolderContext 0001b7d0 T MXUserHistoDump 0001ba10 T MXUserHistoSample 0001bb80 T MXUserHistoSetUp 0001b5e0 T MXUserHistoTearDown 00017620 T MXUserInstallMxHooks 00017710 T MXUserInternalSingleton 0001b0b0 T MXUserKitchen 0005d0e4 B MXUserMX_IsLockedByCurThreadRec 0005d0d8 B MXUserMX_LockRec 0005d0e0 B MXUserMX_TryLockRec 0005d0dc B MXUserMX_UnlockRec 0005d0ec b MXUserMxCheckRank 0005d0e8 b MXUserMxLockLister 00019400 t MXUserNativeRWDestroy 0001bf00 T MXUserRemoveFromList 00018090 t MXUserStatsActionExcl 00019820 t MXUserStatsActionRW 00018ce0 t MXUserStatsActionRec 0001a430 t MXUserStatsActionSema 0001b230 T MXUserStatsEnabled 0001b280 t MXUserStatsLog 0001a200 t MXUserTimedDown 0005d0d4 B MXUserTryAcquireForceFail 0001a1a0 t MXUserTryDown 00017920 T MXUserWaitCondVar 00018470 T MXUser_AcquireExclLock 0001a180 T MXUser_AcquireForRead 0001a170 T MXUser_AcquireForWrite 000190e0 T MXUser_AcquireRecLock 00018670 T MXUser_BindMXMutexRec 00017860 T MXUser_BroadcastCondVar 00017d20 T MXUser_ControlExclLock 00019530 T MXUser_ControlRWLock 000189e0 T MXUser_ControlRecLock 0001ac60 T MXUser_CreateBarrier 00017c20 T MXUser_CreateCondVarExclLock 000188e0 T MXUser_CreateCondVarRecLock 00017e80 T MXUser_CreateExclLock 00019690 T MXUser_CreateRWLock 00018ca0 T MXUser_CreateRecLock 00018cc0 T MXUser_CreateRecLockSilent 0001a730 T MXUser_CreateSemaphore 0001af00 T MXUser_CreateSingletonBarrier 000183c0 T MXUser_CreateSingletonExclLock 00019a50 T MXUser_CreateSingletonRWLock 00018e30 T MXUser_CreateSingletonRecLock 0001a8a0 T MXUser_CreateSingletonSemaphore 0001abc0 T MXUser_DestroyBarrier 000177e0 T MXUser_DestroyCondVar 00017c50 T MXUser_DestroyExclLock 00019420 T MXUser_DestroyRWLock 00018910 T MXUser_DestroyRecLock 0001a330 T MXUser_DestroySemaphore 0001a610 T MXUser_DownSemaphore 00018850 T MXUser_DumpRecLock 0001ab20 T MXUser_EnterBarrier 00018660 T MXUser_GetRecLockRank 00018650 T MXUser_GetRecLockVmm 00017600 T MXUser_InPanic 00018430 T MXUser_IsCurThreadHoldingExclLock 00019370 T MXUser_IsCurThreadHoldingRWLock 00018f50 T MXUser_IsCurThreadHoldingRecLock 0001bd00 T MXUser_PerLockData 000181e0 T MXUser_ReleaseExclLock 00019ac0 T MXUser_ReleaseRWLock 00018fb0 T MXUser_ReleaseRecLock 000175e0 T MXUser_SetInPanic 0001b630 T MXUser_SetStatsFunc 000178c0 T MXUser_SignalCondVar 0001b200 T MXUser_StatisticsControl 0001a9d0 T MXUser_TimedDownSemaphore 00017ba0 T MXUser_TimedWaitCondVarExclLock 00018860 T MXUser_TimedWaitCondVarRecLock 00018300 T MXUser_TryAcquireExclLock 00018ea0 T MXUser_TryAcquireRecLock 0001a580 T MXUser_TryDownSemaphore 0001a510 T MXUser_UpSemaphore 00017be0 T MXUser_WaitCondVarExclLock 000188a0 T MXUser_WaitCondVarRecLock ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (mvanzin) Date: 2011-08-26 22: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