Probleme beim kompilieren von transcode

Cedric Laczny UrShadow at gmx.net
Wed Mar 30 18:09:44 UTC 2005


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)
configure:30052: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "transcode"
| #define PACKAGE_TARNAME "transcode"
| #define PACKAGE_VERSION "0.6.14"
| #define PACKAGE_STRING "transcode 0.6.14"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "transcode"
| #define VERSION "0.6.14"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBDL 1
| #define HAVE_DLOPEN 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_ALLOCA_H 1
| #define TIME_WITH_SYS_TIME 1
| #define ATTRIBUTE_ALIGNED_MAX 64
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_VPRINTF 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRCOLL 1
| #define RETSIGTYPE void
| #define HAVE_STRTOL 1
| #define HAVE_MEMALIGN 1
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MEMSET 1
| #define HAVE_STRERROR 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STAT 1
| #define HAVE_ATEXIT 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKFIFO 1
| #define HAVE_VSSCANF 1
| #define HAVE_STRPTIME 1
| #define HAVE_LIBM_LRINT 1
| #define ARCH_X86 1
| #define HAVE_ASM_MMX 1
| #define HAVE_MMX 1
| #define HAVE_ASM_NASM 1
| #define HAVE_ASM_3DNOW 1
| #define HAVE_3DNOW 1
| #define HAVE_ASM_SSE 1
| #define HAVE_SSE 1
| #define HAVE_ASM_SSE2 1
| #define HAVE_SSE2 1
| #define HAVE_CMOV 1
| #define HAVE_DLFCN_H 1
| #define HAVE_X11 1
| #define HAVE_LIBXV 1
| #define HAVE_X11_XAW_SIMPLE_H 1
| #define HAVE_XAW_SIMPLE 1
| #define HAVE_LIBXPM 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBM 1
| #define HAVE_FFMPEG_LIBS 1
| #define STATBUFFER 1
| #define HAVE_FREETYPE2 1
| #define HAVE_AVIFILE 1
| #define HAVE_AVIFILE_INCLUDES 7
| #define HAVE_LAME_INC 1
| /* end confdefs.h.  */
| 
| #include <stdio.h>
| 
| #ifdef HAVE_LAME_INC
| #include <lame/lame.h>
| #else
| #include <lame.h>
| #endif
| 
| int main () {
|   lame_version_t lv;
|   get_lame_version_numerical(&lv);
|   if(lv.alpha || lv.beta) lv.minor--;
|   printf("%d%d\n", lv.major, lv.minor);
|   return 0;
| }
| 
configure:30066: error: lame requested, but cannot compile and run a
test program

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

Jetzt hab ich aber Probleme bei "make"...


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(xvidff.o)(.text+0x232): In function
`ff_xvid_encode_init':
: undefined reference to `xvid_plugin_lumimasking'
/usr/lib/libavcodec.a(xvidff.o)(.text+0x420): In function
`ff_xvid_encode_init':
: undefined reference to `xvid_encore'
/usr/lib/libavcodec.a(xvidff.o)(.text+0x5b1): In function
`ff_xvid_encode_init':
: undefined reference to `xvid_plugin_2pass2'
/usr/lib/libavcodec.a(xvidff.o)(.text+0x816): In function
`ff_xvid_encode_frame':
: undefined reference to `xvid_encore'
/usr/lib/libavcodec.a(xvidff.o)(.text+0x9a0): In function
`ff_xvid_encode_close':
: undefined reference to `xvid_encore'
/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
make[3]: *** [tcdecode] Fehler 1
make[3]: Leaving directory
`/home/user1/Downloads/gepackt/transcode-0.6.14/import'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/home/user1/Downloads/gepackt/transcode-0.6.14/import'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/home/user1/Downloads/gepackt/transcode-0.6.14'
make: *** [all] Fehler 2

Hatte was gefunden, dass quicktime da Probleme machen könnte, darum hab
ich die Unterstützung mal ausgeschaltet, aber dann kommen immer noch
diese Fehlermeldungen...


Gruß

Cedric Laczny





More information about the Fedora-de-list mailing list