Re: [LAU] import .ogg in Ardour2?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Wednesday, November 21, 2007 - 1:04 pm

On 2007-11-21 10:52 pm, Erik de Castro Lopo wrote:

Doh, I was missing the Archlinux autogen package on this box.

However, now I get a different error, using...

libvorbis 1.2.0, vorbis-tools 1.1.1, flac 1.2.1, gcc 4.2.2, glibc 2.7

...
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'
collect2: ld returned 1 exit status
make[4]: *** [test] Error 1
make[4]: Leaving directory `/home/abs/local/proaudio/libsndfile/src/libsndfile-vorbis/src/VORBIS/test'

> sudo apt-get install autogen

I'm writing a PKGBUILD for Archlinux systems.

pkgname=libsndfile
pkgver=bzr
pkgrel=1
options="NOLIBTOOL"
pkgdesc="a C library for reading and writing files containing sampled sound"
arch=(i686 x86_64)
url="http://www.mega-nerd.com/libsndfile"
depends=('alsa-lib' 'flac>=1.1.4')

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
}

--markc
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] import .ogg in Ardour2?, Josh Lawrence, (Wed Nov 21, 4:27 am)
Re: [LAU] import .ogg in Ardour2?, drew Roberts, (Wed Nov 21, 11:37 am)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Wed Nov 21, 12:21 pm)
Re: [LAU] import .ogg in Ardour2?, Paul Davis, (Mon Nov 26, 2:28 am)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Mon Nov 26, 7:06 am)
Re: [LAU] import .ogg in Ardour2?, Edgar Aichinger, (Wed Nov 21, 9:34 am)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Wed Nov 21, 11:04 am)
Re: [LAU] import .ogg in Ardour2?, Mark Constable, (Wed Nov 21, 11:30 am)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Wed Nov 21, 12:18 pm)
Re: [LAU] import .ogg in Ardour2?, Mark Constable, (Wed Nov 21, 1:04 pm)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Wed Nov 21, 8:31 pm)
Re: [LAU] import .ogg in Ardour2?, Wolfgang Woehl, (Wed Nov 21, 7:37 pm)
Re: [LAU] import .ogg in Ardour2?, Erik de Castro Lopo, (Wed Nov 21, 7:58 pm)