[icecast] libpthread and icecast2

Jack Moffitt
Fri, 06 Aug 2004 14:22:39 -0000

> Heres a question for anyone awake at this hour, does icecast2 require
> libpthread? I'm trying to build it on a freebsd 4.3 box, and it wants
to
> link against libpthread.  If this is not required on the freebsd
> platform, then is it safe to just take out of the makefile?

It needs pthreads.  FreeBSD provides this in the reentrant c library.

For FreeBSD, you should remove -lpthread from LIBS and add -pthread to
CFLAGS.  I believe this should be the only change required.

I will fix FreeBSD building in the next few days (or at least this is my
intention) as well as Win32 building.

Once this is done, I'm planning an alpha1 release of icecast 2.0 to give
people something to concretely test, etc.

jack.