[MPlayer-users] make error

Thoralf Dassler thoralf.dassler at gmail.com
Thu May 18 02:39:40 EEST 2017


Hi.

Distro: Slackware-14.2 (not current)
mplayer and ffmpeg both from git

./configure --extra-cflags="-O2 -fPIC" \
--prefix=/usr --libdir=/usr/lib64 --confdir=/etc/mplayer \
--codecsdir=/usr/lib64/codecs --disable-menu --disable-ossaudio \
--disable-lirc --disable-lircc --disable-vdpau

no issues; but then make produces this:

cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror=format-security -Wstrict-prototypes 
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 
-Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 
-D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native 
-mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 
-fPIC -fpie -DPIC -D_REENTRANT -I/usr/include/p11-kit-1 
-I/usr/include/samba-4.0 -I/usr/X11/include -I/usr/include/    
-D_REENTRANT  -I/usr/include/freetype2 -I/usr/include/fribidi 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DZLIB_CONST  -c 
-o cpudetect.o cpudetect.c
cpudetect.c: In function 'do_cpuid':
cpudetect.c:259:18: error: expected ':' or ')' before 'REG_b'
          ("mov %%"REG_b", %%"REG_S"\n\t"
                   ^
Makefile:729: recipe for target 'cpudetect.o' failed
make: *** [cpudetect.o] Error 1




More information about the MPlayer-users mailing list