[MPlayer-users] Mplayer compiling failure

Alexandre Schenberg ale.schenberg at gmail.com
Tue Jul 24 09:18:36 CEST 2012


It worked. What there is in <stdlib.h> whose absence was causing the error.
Unfortunately, here is another error:

make V=1
make -C ffmpeg libpostproc/libpostproc.a
make[1]: Entering directory `/abaco/mplayer-checkout-2012-07-19/ffmpeg'
common.mak:120: no file name for `-include'
Makefile:98: no file name for `-include'
doc/Makefile:74: no file name for `-include'
tests/Makefile:159: no file name for `-include'
touch .version
make[1]: Leaving directory `/abaco/mplayer-checkout-2012-07-19/ffmpeg'
make[1]: Entering directory `/abaco/mplayer-checkout-2012-07-19/ffmpeg'
common.mak:120: no file name for `-include'
Makefile:98: no file name for `-include'
doc/Makefile:74: no file name for `-include'
tests/Makefile:159: no file name for `-include'
cc -I. -I./  -DHAVE_AV_CONFIG_H -Wundef -Wall -Wno-switch
-Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes
-Wmissing-prototypes -Wdisabled-optimization
-Wdeclaration-after-statement -std=gnu99
-Werror-implicit-function-declaration -O4 -march=athlon-xp
-mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/X11R6/include
-I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -I/usr/include/freetype2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -MD -MP -c -o
libpostproc/postprocess.o libpostproc/postprocess.c
cc1: ffmpeg: Not a directory
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/abaco/mplayer-checkout-2012-07-19/ffmpeg'
make: *** [ffmpeg/libpostproc/libpostproc.a] Error 2

2012/7/19, Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Alexandre Schenberg <ale.schenberg <at> gmail.com> writes:
>
>> libvo/sdl_common.c:68: error: implicit declaration of function `setenv'
>
> Does adding the following line on top of libvo/sdl_common.c help?
> #include <stdlib.h>
>
> Carl Eugen
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>


More information about the MPlayer-users mailing list