Hello Stipe,

If you replace the line

+    LIBS="$LIBS -pthread"

in your patch with

+    LIBS="$LIBS -lc_r -lkse"

then, it will compile.

If you include only -lkse, you will get an error like the following in config.log:

configure:1955: checking whether the C compiler works
configure:1961: ./a.out
Fatal error 'Spinlock called when not threaded.' at line 88 in file /usr/src/lib/
libpthread/thread/thr_spinlock.c (errno = 0)
./configure: line 1: 12840 Segmentation fault      (core dumped) ./$ac_file
configure:1964: $? = 139
configure:1973: error: cannot run C compiled programs.

HTH

- Dimitri



-- 
Dimitri Aivaliotis
EveryWare AG
Birmensdorferstrasse 125
8003 Zurich

tel: +41 (1) 466 60 00
fax: +41 (1) 466 60 10


Reply via email to