Building Minisip on UBUNTU 7.10 - ERROR:POSIX
Mikael Magnusson
mikma264 at gmail.com
Thu Nov 29 23:01:08 CET 2007
Emanuele Bottegoni wrote:
> Hello users,
>
> I'm trying to build MInisip on UBuntu 7.10 following steps shows
> at http://www.minisip.org/develop_build.html
>
> After the bootstarp of libmutil I start ./configure and I obtain this LOG with a final error:
>
> checking for pthread_attr_init in -lpthread... no
> checking pthread.h usability... no
> checking pthread.h presence... no
> checking for pthread.h... no
> checking semaphore.h usability... no
> checking semaphore.h presence... no
> checking for semaphore.h... no
> configure: error: POSIX thread library and headers are required.
>
>
> Anyone Know how Can I SOlve this problem with POSIX?
> It's strange because I think POSIX is native in the kernel,no?
Maybe, but you need POSIX thread library for user programs.
> I've checked about some posix headers in memory and I 've founfed the following
>
> /usr/src/linux-headers-2.6.22-14-generic/include/linux/posix-timers.h
...
>
> are they headers posix?
>
The headers you listed are used for building out-of-tree kernel modules,
not user programs like minisip.
> Thanks
>
> Emanuele
>
You need libc6-dev which contains /usr/include/pthread.h and other file
needed for developing programs using the POSIX thread library and other
parts of the GNU C library.
If you install the following package, then you'll be able to build most
parts of Minisip including the GTK+ GUI and video support.
build-essential, pkg-config, libgcrypt-dev, libssl-dev or libgnutls-dev
(>= 1.4.0), libgconf2-dev, libglib2.0-dev, libsamplerate0-dev,
libspeex-dev, libgsm1-dev, libavcodec-dev or libavcodeccvs51-dev,
zlib1g-dev, libdc1394-13-dev or libdc1394-11-dev, libraw1394-dev,
libxv-dev, libsdl1.2-dev, portaudio19-dev, libx11-dev, libxext-dev,
libglademm-2.4-dev (>= 2.4), libglib2.0-dev
Mikael
More information about the Minisip-users
mailing list