[vorbis] Problem compiling ogg on OpenBSD-2.7

Monty xiphmont at xiph.org
Wed Mar 14 20:24:16 PST 2001



----- Forwarded message from owner-vorbis at xiph.org -----

Date: Mon, 12 Mar 2001 11:18:34 -0800 (PST)
From: "Jeremy C. Reed" <reed at reedmedia.net>
To: Rakhesh Sasidharan <rakhesh at cse.iitd.ernet.in>
Cc: vorbis at xiph.org
Subject: Re: [vorbis] Problem compiling ogg on OpenBSD-2.7
In-Reply-To: <Pine.LNX.4.10.10103111450280.640-100000 at deskar.cse.iitd.ernet.in>
Message-ID: <Pine.LNX.4.21.0103121109350.12722-100000 at pilchuck.reedmedia.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Rakhesh,

I also had many problems with building under NetBSD. But I was finally
successful. All my notes are posted to the vorbis and vorbis-devel mailing
lists. I'll try to implement may changes to make a NetBSD package. (This
should be useful to help port for OpenBSD.) Hopefully, the vorbis
developers looked at my postings and will make their configure.in (and
some code) more portable.

> Making all in alsa
> Making all in arts
> /bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"libao\" -DVERSION=\"0.6.0\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4  -I. -I. -I.. -I../include    -O20 -D__NO_MATH_INLINES -fsigned-char -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c
> gcc -DPACKAGE=\"libao\" -DVERSION=\"0.6.0\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I.. -I../include -O20 -D__NO_MATH_INLINES -fsigned-char -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c  -fPIC -DPIC -o audio_out.lo
> audio_out.c: In function `_get_plugin':
> audio_out.c:66: `RTLD_NOW' undeclared (first use in this function)

Try changing the code to use RTLD_LAZY instead. (Please note, I haven't
tried this under OpenBSD.)

As you work on this you'll probably find that you encounter many more
issues that you'll need to workaround.

Good luck,

   Jeremy C. Reed
   http://www.reedmedia.net/

----- End forwarded message -----

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-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 Vorbis mailing list