[vorbis-dev] Problems compiling with --with-ogg-prefix=xxx

Jack Moffitt jack at icecast.org
Mon Nov 6 16:46:55 PST 2000



good catch.  this will fix the beos problem reported earlier today.

jack.

On Mon, Nov 06, 2000 at 07:41:13PM -0500, Warren Spits wrote:
> My ogg library is located in /home/warren/local. So when I configure and 
> compile the vorbis module on my linux box using
> 
> configure --with-ogg-prefix=/home/warren/local
> make
> 
> I get the following error during the make:
> 
> gcc -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0.0\" -DHAVE_ALLOCA_H=1 
> -DHAVE_ALLOCA=1 -I. -I. -I../include -O20 -ffast-math -mno-ieee-fp 
> -D_REENTRANT -fsigned-char -DUSE_MEMORY_H -Wp,-MD,.deps/mdct.pp -c  -fPIC 
> -DPIC mdct.c -o .libs/mdct.lo
> In file included from mdct.h:22,
>                  from mdct.c:40:
> ../include/vorbis/codec.h:27: ogg/ogg.h: No such file or directory
> In file included from mdct.c:41:
> os.h:22: ogg/os_types.h: No such file or directory
> 
> 
> I have tracked down the problem to lib/Makefile.am. $(OGG_CFLAGS) needs to be 
> added to the INCLUDE variable. This is because some of the *.c files reference 
> ogg/ogg.h.
> 
> ie
> 
> INCLUDES = -I$(top_srcdir)/include
> 
> should be changed to
> 
> INCLUDES = -I$(top_srcdir)/include $(OGG_CFLAGS)
> 
> cheers,
> Warren.
> 
> 
> --- >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-dev-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.

--- >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-dev-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-dev mailing list