K 10 svn:author V 4 maho K 8 svn:date V 27 2003-08-15T22:35:55.000000Z K 7 svn:log V 518 The makefile.mk uses a ld to link the libraries, but ld fails to link with -pthread. The correct sollution is to use $(LINK) which points to the used gcc compiler. Unfortunately gcc doesn't understand --whole-archive and --no-whole-archive. You have to use -Wl,-whole-archive and -Wl,-no-whole-archive instead. The following patch does this for FreeBSD, but maybe this should also be done for the generic UNX case. See http://www.openoffice.org/issues/show_bug.cgi?id=18064 for details. Obtained from Volker Quetschke END