ffmpeg compiling error
Posted: 22 Sep 2010 17:30
I try to compile vlc for win32 in ubuntu 10.4 using cross compile. But i can't get beyond ffmpef in contribs. I get this error:
config.log
...
check_lib lame/lame.h hip_decode_init -lmp3lame
check_header lame/lame.h
check_cpp
BEGIN /tmp/ffconf.MtAfPLl9.c
1 #include <lame/lame.h>
2 int x;
END /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -march=i686 -std=c99 -fno-common -fomit-frame-pointer -E -o /tmp/ffconf.g8CG9U3I.o /tmp/ffconf.MtAfPLl9.c
check_func hip_decode_init -lmp3lame
check_ld -lmp3lame
check_cc
BEGIN /tmp/ffconf.MtAfPLl9.c
1 extern int hip_decode_init();
2 int main(void){ hip_decode_init(); }
END /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -march=i686 -std=c99 -fno-common -fomit-frame-pointer -c -o /tmp/ffconf.g8CG9U3I.o /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -L/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/lib -L/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/lib -o /tmp/ffconf.KFimtXPe.exe /tmp/ffconf.g8CG9U3I.o -lgsm -lm -lz -lpsapi -lmp3lame
/tmp/ffconf.g8CG9U3I.o:ffconf.MtAfPLl9.c:(.text+0xc): undefined reference to `_hip_decode_init'
collect2: ld returned 1 exit status
ERROR: libmp3lame >= 3.98.3 not found
config.log
...
check_lib lame/lame.h hip_decode_init -lmp3lame
check_header lame/lame.h
check_cpp
BEGIN /tmp/ffconf.MtAfPLl9.c
1 #include <lame/lame.h>
2 int x;
END /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -march=i686 -std=c99 -fno-common -fomit-frame-pointer -E -o /tmp/ffconf.g8CG9U3I.o /tmp/ffconf.MtAfPLl9.c
check_func hip_decode_init -lmp3lame
check_ld -lmp3lame
check_cc
BEGIN /tmp/ffconf.MtAfPLl9.c
1 extern int hip_decode_init();
2 int main(void){ hip_decode_init(); }
END /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -I/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -O3 -march=i686 -mtune=generic -DNDEBUG -isystem /root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/include -march=i686 -std=c99 -fno-common -fomit-frame-pointer -c -o /tmp/ffconf.g8CG9U3I.o /tmp/ffconf.MtAfPLl9.c
i586-mingw32msvc-gcc -L/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/lib -L/root/vlc-1.1/extras/contrib/hosts/i586-mingw32msvc/lib -o /tmp/ffconf.KFimtXPe.exe /tmp/ffconf.g8CG9U3I.o -lgsm -lm -lz -lpsapi -lmp3lame
/tmp/ffconf.g8CG9U3I.o:ffconf.MtAfPLl9.c:(.text+0xc): undefined reference to `_hip_decode_init'
collect2: ld returned 1 exit status
ERROR: libmp3lame >= 3.98.3 not found