[MPlayer-users] rpmbuild fail for MPlayer-1.0rc2.tar.bz2

Anshuman G anshu.pg at gmail.com
Sat Oct 13 11:43:46 CEST 2007


Hello,

Trying to compile by rpmbuild gave following error, anyone has solution?

===================================
 MPlayer-1.0rc2.tar.bz2

sudo rpmbuild -bb --target=i386 MPlayer-1.0rc2/rpm/mplayer.spec
===================================


error end-lines as follows.

===================================
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/
-I/usr/include/SDL  -D_REENTRANT -I/usr/include/cdda
-I/usr/include/freetype2 -I/usr/include/fribidi
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o
stream_dvd.o stream_dvd.c
stream_dvd.c: In function 'dvd_parse_chapter_range':
stream_dvd.c:168: warning: passing argument 2 of 'strtol' from
incompatible pointer type
stream_dvd.c: In function 'open_s':
stream_dvd.c:934: error: invalid operands to binary &
stream_dvd.c:952: error: invalid operands to binary >>
stream_dvd.c:1003: error: invalid operands to binary &
stream_dvd.c:1024: error: invalid operands to binary >>
stream_dvd.c:1030: error: invalid operands to binary >>
make[1]: *** [stream_dvd.o] Error 1
make[1]: Leaving directory
`/home/anshu/rpmbuild/BUILD/mplayer-export-2007-10-13/stream'
make: *** [stream/stream.a] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7969 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.7969 (%build)
[anshu at Fedora7 ~]$
==================================================



More information about the MPlayer-users mailing list