Probleme beim kompilieren von transcode

Michael Schwendt fedora at wir-sind-cool.org
Wed Mar 30 18:29:00 UTC 2005


On Wed, 30 Mar 2005 20:09:44 +0200, Cedric Laczny wrote:

> Am Mi, den 30.03.2005 schrieb Michael Schwendt um 19:16:
> > Was steht denn dazu in config.log?
> 
> Dazu hab ich folgendes gefunden:
> configure:30011: checking lame version
> configure:30049: gcc -o conftest -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -I/usr/include  
> conftest.c -lm -lz -ldl  -L/usr/local/include/lame//lib -lmp3lame  >&5
> conftest.c: In function `main':
> conftest.c:96: error: `lame_version_t' undeclared (first use in this
> function)
> conftest.c:96: error: (Each undeclared identifier is reported only once
> conftest.c:96: error: for each function it appears in.)
> conftest.c:96: error: syntax error before "lv"
> conftest.c:97: error: `lv' undeclared (first use in this function)

Da hast Du eine inkompatible LAME Version installiert, deren API
nicht mit dem Test übereinstimmt.

> Aber ich habe jetzt mal mit "autoconf" eine neue configure Datei
> erstellt und jetzt läuft es weiter :)

Merkwürdig. Ein Aufruf von autoconf sollte sowas nicht beheben können.

> gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -g -O2 -o tcdecode tcdecode-tcdecode.o
> tcdecode-decode_ac3.o tcdecode-decode_mpeg2.o tcdecode-decode_yuv.o
> tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-decode_dv.o
> tcdecode-decode_mp3.o tcdecode-mpg123.o tcdecode-decode_a52.o
> tcdecode-decode_af6.o tcdecode-scan_dv.o tcdecode-decode_lavc.o
> tcdecode-decode_xvid.o tcdecode-decode_ogg.o tcdecode-decode_mov.o
> tcdecode-decode_lzo.o  -L/usr/lib -lavcodec
> -L/usr/local/include/lame//lib -lmp3lame ../libac3/.libs/libac3_tc.a
> ../libmpeg2/.libs/libmpeg2cvs.a ../libvo/.libs/libvout.a
> -L/usr/X11R6/lib -ldv -lpthread /usr/lib/libgtk.so /usr/lib/libgdk.so
> /usr/lib/libgmodule.so -lXi -lXext -lX11 /usr/lib/libglib.so
> -lvorbisfile -lvorbis -logg ../aclib/.libs/libac.a -lm -lz -ldl
> /usr/lib/libavcodec.a(xvidff.o)(.text+0x12b): In function
> `ff_xvid_encode_init':
> : undefined reference to `xvid_global'
> /usr/lib/libavcodec.a(xvidff.o)(.text+0x1f2): In function
> `ff_xvid_encode_init':
> : undefined reference to `xvid_plugin_single'

> /usr/lib/libavcodec.a(oggvorbis.o)(.text+0x37): In function
> `oggvorbis_init_encoder':
> : undefined reference to `vorbis_encode_init'
> collect2: ld returned 1 exit status

Inkompatible oder fehlende Libraries. Kann ich von hier nicht beurteilen,
welche libvorbis bei Dir nun gelinkt wird. vorbis_encode_init ist in
libvorbisenc enthalten, die in obiger Ausgabe nicht gelinkt wird.





More information about the Fedora-de-list mailing list