[icecast] Compiling ices2 under OBSD3.1 (was: Compiling icecast2 under OpenBSD 3.1)

Moritz Grimm gtgbr at gmx.net
Thu Apr 25 03:30:04 PDT 2002



Michael Smith wrote:
> >It is currently impossible to compile it under *BSD, at least afaik.
> >src/im_sun.c includes stropts.h, which doesn't come with OpenBSD. After
> >feeding one .h file after another from a linux box, it finally wanted
> >gnu/stubs.h. There will never be GNU stuff in *BSD, so that must be
> >solved differently.
> Why on earth are you trying to compile im_sun.c on a non-solaris machine?

The only reason why I was doing so is because autogen.sh/configure
decided to do so. ;P I also read in im_sun.c what this file was all
about and couldn't see why I need it, but apparently I always compiled
it so far during my experiments under Linux, too...? It *SHOULD* compile
on every GNU/Linux system, no matter whether Solaris or not. I'm still
learning *BSD, so I might get a lot of stuff wrong here either.

But I *do* have /dev/audio as the default
throw-stuff-at-me-and-i'll-play-it-device, and it might be that OBSD
uses a modified SUN driver on all platforms...? So, compiling the
solaris thingie might make sense after all ...

> magically screwed there? Anyway, just don't compile that file at all -

What's the elegant method to do this? So far, when I poked at code that
didn't work, I screwed around in the Makefiles manually until it
eventually works (or doesn't). That's more like random guessing .. ;)

> means solaris only). im_oss.c serves the same purpose for OSS audio, which
> is probably what openbsd uses (this is needed if you want to do live

I haven't seen OSS on any OpenBSD so far, I have the choice between
aRts, ESD or the Sun Audio driver. Those are for the outputs at least, I
don't know about the other way, since I never tried that yet. I have no
/dev/dsp, which means that there really is no OSS, I suppose.

Oh ... I just noticed even more weirdnesses. I now can offer your two
coredumps in ogg123. Unfortunately, I don't have the time at the moment
to dig any deeper, but I will hand in anything you and others might need
later, either on IRC or via mail.

<p><p>Moritz

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