Hi, I've come a step further in my attempt to compile Icecast2 under OpenBSD... I didn't have the pth library installed (d'oh), but ´cd /usr/ports/devel/pth && make install´ did the job. It still bails out at the same point, though, but this time with another error message: [...] gcc -O20 -fsigned-char -D_REENTRANT -I/usr/local/include/libxml -I/usr/local/include -I/include -I/include -o icecast config.o main.o logging.o sighandler.o connection.o global.o util.o source.o stats.o refbuf.o client.o format.o format_vorbis.o net/.libs/libicenet.al thread/.libs/libicethread.al httpp/.libs/libicehttpp.al log/.libs/libicelog.al avl/.libs/libiceavl.al timing/.libs/libicetiming.al -L/usr/local/lib -lpthread -lxml -lz -L/lib -lvorbis -logg -lm -R/usr/local/lib -R/usr/local/lib thread.lo: Undefined symbol `_pthread_detach' referenced from text segment collect2: ld returned 1 exit status gmake[2]: *** [icecast] Error 1 [...] The question still is, whether it is trivial to fix (even for non-coders like me) and if yes, how? My workaround is a port redirect from my OBSD gateway to a linux box. This is not the solution I prefer but it does its job, at least for simple testing. Normally, I use the nice Oddcast DSP as a source, but since I am forced to use linux for OGG streaming now - which sources for linux are there that support stable OGG streaming, with reencoding and resampling? My goal is something similar to what I have under Windows right now: A huge playlist on shuffle, mixed with MP3s and OGGs of all kinds plus the possibility to pick tunes by hand (to actively play what's wished by me or someone else), with decent crossfading, so changing tunes doesn't hurt too much. (== Winamp + Oddcast + SC Crossfading plugin) TIA, Moritz -- _______________________________________________________________________ "They who would give up an essential liberty for temporary security, deserve neither liberty or security" - Benjamin Franklin --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> >The question still is, whether it is trivial to fix (even for non-coders >like me) and if yes, how?Does openbsd's pthread library not have pthread_detach? Or is it the extra underscore at the start there that's causing problems? Dealing without pthread_detach would be painful, though not impossible.> >My workaround is a port redirect from my OBSD gateway to a linux box. >This is not the solution I prefer but it does its job, at least for >simple testing. Normally, I use the nice Oddcast DSP as a source, but >since I am forced to use linux for OGG streaming now - which sources for >linux are there that support stable OGG streaming, with reencoding and >resampling? My goal is something similar to what I have under Windows >right now: A huge playlist on shuffle, mixed with MP3s and OGGs of all >kinds plus the possibility to pick tunes by hand (to actively play >what's wished by me or someone else), with decent crossfading, so >changing tunes doesn't hurt too much. (== Winamp + Oddcast + SC >Crossfading plugin)ices2 is most likely what you want - it's very stable, does both live encoding and reencoding, and various other things. It doesn't yet do resampling - I've been WAY short on time lately and I'm going away soon, so I won't be able to add it, but someone else should be able to do so pretty easily, if anyone is interested. It also doesn't have crossfading, and won't - crossfading annoys the crap out of me on radio, having it on internet radio as well would just annoy me even more. Scripting support (like in ices1) for more general playlist manipulation support (though you can do this externally without requiring explicit support) will get added at some point, it's actually really easy to add - but again, I don't have the time at the moment for new features. Michael --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith wrote:> Does openbsd's pthread library not have pthread_detach? Or is it theTo be honest, I have no idea. If there's a way I could check this out for you, please tell me how I should do it. Obtw, I just had another try to get icecast2 running - this time using the linux emulation. I used the ninary I compiled under Linux + the Linux libraries that are used by it. Icecast2 segfaults, but I can offer a ktrace.out (or a text version made with kdump). If anyone's interested in that, I can mail it to him or the list.> >resampling? My goal is something similar to what I have under Windows[...]> >changing tunes doesn't hurt too much. (== Winamp + Oddcast + SC > >Crossfading plugin) > ices2 is most likely what you want - it's very stable, does both live encoding > and reencoding, and various other things. It doesn't yet do resamplingSounds beautiful, I'll try that.> pretty easily, if anyone is interested. It also doesn't have crossfading, > and won't - crossfading annoys the crap out of me on radio, having itA well-thought out playlist doesn't need crossfading, true. But if your station is kinda "interactive" (like, you've someone in an IRC chat and you want to show them a couple tunes or they prefer to listen to something else, etc), crossfading eliminated the ugly breaks between tunes when skipping tracks in the middle of a song. That's when I find it useful ... or course not for "real" streaming in production environments, but the former is what I usually do with my weak upstream. Maybe it'd be an idea for Ices3 or so (in the far future, of course) to feature plugin support, so others can upgrade it with features they need and you don't want to bother yourself with? Moritz -- _______________________________________________________________________ "They who would give up an essential liberty for temporary security, deserve neither liberty or security" - Benjamin Franklin --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.