Warren Spits
2000-Nov-06 16:41 UTC
[vorbis-dev] Problems compiling with --with-ogg-prefix=xxx
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 hould 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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jack Moffitt
2000-Nov-06 16:46 UTC
[vorbis-dev] Problems compiling with --with-ogg-prefix=xxx
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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.