[icecast] Compiling icecast2 under OpenBSD 3.1

Jack Moffitt jack at xiph.org
Wed Apr 24 18:48:53 PDT 2002

> Finally, I succeeded in compiling Icecast2 under OpenBSD. It neither
> worked for me on OBSD 3.0 nor my old 2.8, but the new 3.1 appears to
> come with more icecast-friendly (p)threads.

Good to know :)

> Compiling libshout failed because src/mp3.c included <stdint.h> which
> appears to be missing on OBSD3.1. Using a friend's stdint.h and seeing
> it fail again showed that machine/types.h equals stdint.h here. `ln -s
> /usr/include/machine/types.h /usr/include/stdint.h` fixed that. I have
> no clue why stdint.h wasn't there in the first place - either this is a
> bug in my snapshot or it's some competing GNU vs BSD philosophies or
> something.

tdint.h is C99.  It's not a question of bsd vs. gnu.

> The final linking of icecast2 failed with "ld: -lpthread: no match".
> Making it use -pthread instead fixed it. This problem could be avoided
> by autogen.sh/configure checking this, just like it does for the
> ogg/vorbis libraries. Happy Ogg streaming through OpenBSD servers! :)

This will get fixed before the first release.


--- >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