Re: import .ogg in Ardour2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2007-11-21 10:52 pm, Erik de Castro Lopo wrote:
> > My build is failing at the linker stage with...
> > 
> >  /usr/bin/ld: cannot open linker script file ./Symbols.linux: No such file or directory
> >  collect2: ld returned 1 exit status
> 
> When you ran autogen.sh, didn't you see this:
> 
>     autogen --writable test_endswap.def

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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux