I have submited a patch for building CB CVS in FreeBSD 6.0. You can see it at http://sourceforge.net/tracker/index.php?func=detail&aid=1370946&group_id=126998&atid=707418.
Now, the command
make install-strip
works.
However, there are some errors still unfixed in some plugins like compilergcc and debuggergdb . Below is the log:
/usr/local/share/codeblocks/plugins/libcompiler.so: Undefined symbol "_ZN11EditPairDlgC1EP8wxWindowR8wxStringS3_RKS2_NS_10BrowseModeE"
/usr/local/share/codeblocks/plugins/libdebuggergdb.so: Undefined symbol "_ZN13DebuggerState7CleanUpEv"
Also the Pthread init was a bit off so I re did that.
I think you mean line 225 with that. Before it was:
static pthread_once_t br_thread_key_once = PTHREAD_ONCE_INIT;
Now it is:
static pthread_once_t br_thread_key_once = {0, (pthread_mutex_t)NULL};//PTHREAD_ONCE_INIT;
I have no idea why this should be changed. Anyway, I am not a pthread expert so I assume you know what you are doing. But: This line seems to break the Linux-version:
prefix.cpp:225: error: no matching function for call to `pthread_mutex_t::._10(NULL)'
/usr/include/bits/pthreadtypes.h:89: note: candidates are: pthread_mutex_t::._10()
/usr/include/bits/pthreadtypes.h:89: note: pthread_mutex_t::._10(const pthread_mutex_t&)
prefix.cpp:225: error: initializer for scalar variable requires one element
Well, if I undo the change made in rev1482 to the old version (which even can be found in the manpage for pthread_once!) everything seems to be ok.