Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 23:02:54 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        riggs@rrr.de
Cc:        freebsd-ports@FreeBSD.org
Subject:   mplayer failing on -current
Message-ID:  <alpine.BSF.2.00.1004172259500.76683@qbhto.arg>

next in thread | raw e-mail | index | archive | help
When I attempt to build mplayer with default OPTIONS I get the following:

cc -O2 -pipe -g -fno-strict-aliasing -I./libavcodec -I./libavformat 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-I. -I. -I./libavutil -O2 -pipe -g -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-DHAVE_CONFIG_H -I/usr/local/include/freetype2 -I.. -I../libavutil 
-I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 
-I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2   -I../libavcodec -I../libavformat 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-I. -I.. -I../libavutil -O2 -pipe -g -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-DHAVE_CONFIG_H -I/usr/local/include/freetype2 -I... -I.../libavutil 
-I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 
-I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2     -c -o dvb_tune.o dvb_tune.c
dvb_tune.c:33:19: error: error.h: No such file or directory
gmake[1]: *** [dvb_tune.o] Error 1
gmake[1]: Leaving directory 
`/usr/local/tmp/usr/local/ports/multimedia/mplayer/work/MPlayer-1.0rc2/stream'
gmake: *** [stream/stream.a] Error 2
*** Error code 1


Simply removing that line from dvb_tune.c allows it to continue building, 
but then I run into this:

cc -O2 -pipe -g -fno-strict-aliasing -I./libavcodec -I./libavformat 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-I. -I. -I./libavutil -O2 -pipe -g -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-DHAVE_CONFIG_H -I/usr/local/include/freetype2 -I.. -I../libavutil 
-I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 
-I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2   -I../libswscale -I../libavcodec 
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization 
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil 
-O2 -pipe -g -fno-strict-aliasing  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
-I/usr/local/include/freetype2 -I... -I.../libavutil -I/usr/local/include 
-I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include 
-D_THREAD_SAFE -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2    -c -o h264.o h264.c
h264.c: In function 'decode_cabac_residual':
h264.c:5350: warning: passing argument 4 of 'decode_significance_8x8_x86' 
discards qualifiers from pointer target type
cabac.h: In function 'get_cabac_noinline':
cabac.h:525: error: can't find a register in class 'GENERAL_REGS' while 
reloading 'asm'
cabac.h:525: error: 'asm' operand has impossible constraints
gmake[1]: *** [h264.o] Error 1
gmake[1]: Leaving directory 
`/usr/local/tmp/usr/local/ports/multimedia/mplayer/work/MPlayer-1.0rc2/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2
*** Error code 1



-- 

 	Improve the effectiveness of your Internet presence with
 	a domain name makeover!    http://SupersetSolutions.com/

 	Computers are useless. They can only give you answers.
 			-- Pablo Picasso




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1004172259500.76683>