[icecast] Icecast drop in replacement for shoutcast

Karl Heyes karl at pts.tele2.co.uk
Sat Apr 19 01:39:48 UTC 2003

On Fri, 2003-04-18 at 23:05, Travis Pinney wrote:
> Thanks for the info. I checked the config.log and I got this information.
> configure:9311: checking for xsltParseStylesheetFile
> configure:9361: gcc -o conftest -O20 -fsigned-char -D_REENTRANT 
> -I/usr/local/inc
> lude -I/usr/local/include/libxml   conftest.c   -lpthread 
> -L/usr/local/lib -lxsl
> t -lxml2 -lz -liconv -lm >&5
> ld: -lpthread: no match
> collect2: ld returned 1 exit status
> It seems like this has to do with how openbsd works with threads. I went 
> in and change the -lpthread to just -pthread and it was able to compile. 
> I am not
> sure if this is a fix or not.

hmmm,  it seems like the pthread check failed in your case, send the
config.log to me to look at it.   The -pthread flag should be getting

> With openbsd I had to run configure like this
> ./configure --prefix=/usr/local --with-ogg-prefix=/usr/local 
> --with-vorbis-prefix=/usr/local
> When I went to make I got this problem
> --SNIP-----
> -DHAVE_CURL=1 -DHAVE_PTHREAD=1 -I. -I. -I./.. -O20 -fsigned-char 
> -D_REENTRANT -c sock.c -Wp,-MD,.deps/libicenet_la-sock.TPlo  -fPIC -DPIC 
> -o .libs/libicenet_la-sock.lo
> In file included from sock.c:37:
> /usr/include/sys/socket.h:166: syntax error before `u_char'
> /usr/include/sys/socket.h:168: syntax error before `u_char'
> /usr/include/sys/socket.h:176: syntax error before `u_short'
> /usr/include/sys/socket.h:320: syntax error before `u_int'
> /usr/include/sys/socket.h:391: syntax error before `u_short'

yeah, I've seen this before, OBSD has some broken headers, but it works
if you miss out the -D_XOPEN_SOURCE=500.  It's something specific to
OBSD.  I'll send a configure privately for you to try out.


<p><p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list