[MPlayer-DOCS] problem compiling static mplayer on debian etch

In Incognito in.incognito at gmail.com
Sat Mar 28 01:45:32 CET 2009


I'm running debian and for some reason mplayer will not compile with
"--enable-static". It'll compile fine without it though.

make spits out this error:

make[1]: Leaving directory `/home/sam/mplayer-export-2009-03-27/libavformat'
make[1]: Entering directory
`/home/sam/mplayer-export-2009-03-27/libavformat'
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I..
-Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I.    -Ilibdvdread4 -I/usr/include/freetype2   -c -o
output-example.o output-example.c
cc -L../libavcodec -L../libavutil  -o output-example output-example.o
libavformat.a -lavcodec -lavutil
cc: libavformat.a: No such file or directory
make[1]: *** [output-example] Error 1
rm output-example.o
make[1]: Leaving directory `/home/sam/mplayer-export-2009-03-27/libavformat'
make: *** [libavformat/libavformat.a] Error 2

Am I missing something? During configure all the ffmpeg checks come back as
static:

Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for FFmpeg libswscale ... yes (static)


More information about the MPlayer-DOCS mailing list