[MPlayer-users] On a NSLU2 the $(AS) -DHAVE_AV_CONFIG_H etc line fails

old.codger at mac.com old.codger at mac.com
Tue Jun 2 20:13:01 CEST 2009


Reimar thanks for your advice.

Here's the problem I get with $(AS) in common.mak

cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/dsputil_arm.o arm/dsputil_arm.c
In file included from arm/dsputil_arm.c:22:
../libavcodec/dsputil.h:637:5: warning: "HAVE_NEON" is not defined
arm/dsputil_arm.c:23:5: warning: "HAVE_IPP" is not defined
arm/dsputil_arm.c:96:5: warning: "HAVE_IPP" is not defined
arm/dsputil_arm.c:133:7: warning: "HAVE_IPP" is not defined
arm/dsputil_arm.c:135:7: warning: "HAVE_NEON" is not defined
arm/dsputil_arm.c:170:5: warning: "HAVE_IPP" is not defined
arm/dsputil_arm.c:177:5: warning: "HAVE_NEON" is not defined
arm/dsputil_arm.c:214:5: warning: "HAVE_NEON" is not defined
as -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/dsputil_arm_s.o arm/ 
dsputil_arm_s.S
as: unrecognized option '-HAVE_AV_CONFIG_H'
make[2]: *** [arm/dsputil_arm_s.o] Error 1
make[2]: Leaving directory `/usr/src/mplayer/mplayer/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] Error 2
make[1]: Leaving directory `/usr/src/mplayer/mplayer'
make: *** [configure-stamp] Error 2

A change to commom.mak $(AS)  to $(CC)

make[2]: Entering directory `/usr/src/mplayer/mplayer/libavcodec'
cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/dsputil_arm_s.o arm/ 
dsputil_arm_s.S
cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/jrevdct_arm.o arm/jrevdct_arm.S
cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/simple_idct_arm.o arm/ 
simple_idct_arm.S
...
cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/mpegvideo_armv5te_s.o arm/ 
mpegvideo_armv5te_s.S
cc -DHAVE_AV_CONFIG_H -I.. -I.. -Wundef -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno- 
switch -Wpointer-arith -Wredundant-decls -O4  -mcpu=xscale -pipe - 
ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -I.    -c -o arm/simple_idct_armv5te.o arm/ 
simple_idct_armv5te.S
rm -f libavcodec.a




More information about the MPlayer-users mailing list