Re: compiling 1.3.2 on FreeBSD 5.2.1

Dimitri Aivaliotis <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization EveryWare AG
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.