[MPlayer-users] x86/h264dsp_mmx.c:384:1: error: expected declaration or statement at end of input

Antonio Olivares olivares14031 at yahoo.com
Tue Apr 12 17:07:35 CEST 2011



In file included from ../libavcodec/mpegvideo.h:32:0,
                 from x86/dsputilenc_mmx.c:28:
../libavcodec/get_bits.h: In function 'skip_bits':
../libavcodec/get_bits.h:305:45: warning: variable 're_cache' set but not used [-Wunused-but-set-variable]
CC	x86/fdct_mmx.o
CC	x86/fft.o
CC	x86/fmtconvert_mmx.o
CC	x86/h264_intrapred_init.o
x86/h264_intrapred_init.c: In function 'ff_h264_pred_init_x86':
x86/h264_intrapred_init.c:100:9: warning: unused variable 'mm_flags' [-Wunused-variable]
CC	x86/h264dsp_mmx.o
x86/h264dsp_mmx.c: In function 'ff_h264dsp_init_x86':
x86/h264dsp_mmx.c:384:1: error: expected declaration or statement at end of input
make[1]: *** [x86/h264dsp_mmx.o] Error 1
make[1]: Leaving directory `/home/olivares/Downloads/mplayer/ffmpeg/libavcodec'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2


part of config.log shows added below:

============ Checking for GUI ============
============ Checking for automatic gdb attach ============
Result is: no 
##########################################

============ Checking for compiler support for noexecstack ============

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-12607-17470/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -DFF_API_MAX_STREAMS=0  /usr/local/lib/live/liveMedia/libliveMedia.a                  /usr/local/lib/live/groupsock/libgroupsock.a                  /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lfreetype -lfontconfig  -lz  -lstdc++ -lxvidcore -lm   -lXext -lX11 -lpthread -lXss -lXv -lXxf86vm -lXxf86dga -lSDL -lGL -ldl -lmp3lame  -lmp3lame -o
 /tmp/mplayer-configure-12607-17470/tmp -Wl,-z,noexecstack


Result is: yes 
##########################################

============ Checking for linker support for --nxcompat --no-seh --dynamicbase ============

int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-12607-17470/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -DFF_API_MAX_STREAMS=0  -Wl,-z,noexecstack /usr/local/lib/live/liveMedia/libliveMedia.a                  /usr/local/lib/live/groupsock/libgroupsock.a                  /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lfreetype -lfontconfig  -lz  -lstdc++ -lxvidcore -lm   -lXext -lX11 -lpthread -lXss -lXv -lXxf86vm -lXxf86dga -lSDL -lGL -ldl -lmp3lame 
 -lmp3lame -o /tmp/mplayer-configure-12607-17470/tmp -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase
/usr/bin/ld: unrecognized option '--nxcompat'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status


Result is: no 
##########################################

============ Checking for joystick ============
Result is: no 
##########################################

============ Checking for lirc ============

#include <lirc/lirc_client.h>
int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-12607-17470/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -DFF_API_MAX_STREAMS=0  -Wl,-z,noexecstack /usr/local/lib/live/liveMedia/libliveMedia.a                  /usr/local/lib/live/groupsock/libgroupsock.a                  /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lfreetype -lfontconfig  -lz  -lstdc++ -lxvidcore -lm -lpthread -ldl -rdynamic   -lXext -lX11 -lpthread -lXss -lXv -lXxf86vm -lXxf86dga -lSDL
 -lGL -ldl -lmp3lame  -lmp3lame -o /tmp/mplayer-configure-12607-17470/tmp -llirc_client
/tmp/mplayer-configure-12607-17470/tmp.c:1:30: fatal error: lirc/lirc_client.h: No such file or directory
compilation terminated.


Result is: no 
##########################################

============ Checking for lircc ============

#include <lirc/lircc.h>
int main(void) { return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-12607-17470/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -DFF_API_MAX_STREAMS=0  -Wl,-z,noexecstack /usr/local/lib/live/liveMedia/libliveMedia.a                  /usr/local/lib/live/groupsock/libgroupsock.a                  /usr/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lfreetype -lfontconfig  -lz  -lstdc++ -lxvidcore -lm -lpthread -ldl -rdynamic   -lXext -lX11 -lpthread -lXss -lXv -lXxf86vm -lXxf86dga -lSDL
 -lGL -ldl -lmp3lame  -lmp3lame -o /tmp/mplayer-configure-12607-17470/tmp -llircc
/tmp/mplayer-configure-12607-17470/tmp.c:1:24: fatal error: lirc/lircc.h: No such file or directory
compilation terminated.


Result is: no 
##########################################

============ Checking for DVD support (libdvdnav) ============
Result is: yes (internal)
##########################################


I've compiled it successfully before on Fedora 15 x86_64 machines, but now it failed.  

Thanks,

Antonio 


More information about the MPlayer-users mailing list