[sleuthkit-developers] [ sleuthkit-Bugs-3191323 ] Multiple build problems on Suse
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2011-02-24 14:56:03
|
Bugs item #3191323, was opened at 2011-02-24 15:56 Message generated for change (Tracker Item Submitted) made by ghede You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3191323&group_id=55685 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rob J Meijer (ghede) Assigned to: Nobody/Anonymous (nobody) Summary: Multiple build problems on Suse Initial Comment: In order to build the 3.2.0 release the following additional actions were needed: sleuthkit-3.2.0/tsk3/auto/sqlite3.c had to be patched by adding the following two lines: #include <dlfcn.h> #include <pthread.h> Next to this, the line: pthread_mutexattr_settype(&recursiveAttr, PTHREAD_MUTEX_RECURSIVE); did not compile, changing it to pthread_mutexattr_settype(&recursiveAttr, PTHREAD_MUTEX_RECURSIVE_NP); Fixed this, but not sure if that is the right thing to do. After fixing the above, linking failed. Managed to complete the build process using the following commands: cd tools/autotools/ g++ -g -O2 -o tsk_loaddb tsk_loaddb.o -L/usr/local/lib ../../tsk3/.libs/libtsk3.a /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.so -lm -lc -lgcc_s /usr/local/lib/libewf.so -lz -Wl,-rpath -Wl,/usr/lib/gcc/i586-suse-linux/4.1.2 -Wl,-rpath -Wl,/usr/lib/gcc/i586-suse-linux/4.1.2 -lpthread -ldl cd ../.. make The g++ command above was the one executed by make , but than with '-lpthread -ldl ' added to it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3191323&group_id=55685 |