Mark Constable wrote:
> gcc -Werror -march=i686 -mtune=generic -O2 -pipe -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -pipe -o test util.o write_read.o test.o ../lib/.libs/libvorbisenc.a ../lib/.libs/libvorbis.a ../../../src/OGG/.libs/libogg.a -lm
> write_read.o: In function `write_vorbis_data_or_die':
> write_read.c:(.text+0x6b2): undefined reference to `vorbis_encode_init_vbr'
Thats doesn't make sense!
The function vorbis_encode_init_vbr is in libvorbisenc and libvorbisenc.a
is included in the compile line.
> build() {
> cd $startdir/src/
> bzr get http://www.mega-nerd.com/Bzr/libsndfile-vorbis/
> cd libsndfile-vorbis/
> ./autogen.sh
> make all check || return 1
> make DESTDIR=$startdir/pkg install
> }
Maybe try splitting out the make to two different stanges:
make
make check
Erik
-- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "It has been discovered that C++ provides a remarkable facility for concealing the trival details of a program -- such as where its bugs are." -- David Keppel _______________________________________________ Linux-audio-user mailing list Linux-audio-user@email-addr-hidden http://lists.linuxaudio.org/mailman/listinfo/linux-audio-userReceived on Thu Nov 22 00:15:02 2007
This archive was generated by hypermail 2.1.8 : Thu Nov 22 2007 - 00:15:02 EET