multimedia/mplayer doesn't build (default options)

Tim Kellers timothyk at wallnet.com
Sun Dec 16 10:38:02 PST 2007


Dominic Fandrey wrote:
> Dominic Fandrey wrote:
>   
>> Thomas Zander wrote:
>>     
>>> Hi,
>>>
>>> You can also use mplayer's internal vorbis lib by selecting TREMOR in
>>> the options menu.
>>>       
>> I tried tremor before I did the portupgrade -fuR and it also didn't compile.
>> I'm trying tremor again, now. I'll let you know about the outcome.
>>     
>
> Tremor isn't helping:
>
> cc -O2 -pipe -march=pentium4 -O3 -ffast-math -fomit-frame-pointer
> -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -I. -I. -I./libavutil -O2 -pipe -march=pentium4
> -O3 -ffast-math -fomit-frame-pointer  -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
> -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include
> -I/usr/local/include/SDL -I/usr/local/include  -D_REENTRANT
> -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/freetype2   -I../libavcodec -I../libavformat
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I.
> -I.. -I../libavutil -O2 -pipe -march=pentium4 -O3 -ffast-math
> -fomit-frame-pointer  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include -I/usr/local/include/SDL
> -I/usr/local/include  -D_REENTRANT -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/freetype2     -c -o demux_ogg.o demux_ogg.c
> demux_lavf.c: In function 'lavf_check_preferred_file':
> demux_ogg.c: In function 'demux_ogg_add_sub':demux_lavf.c:242: warning:
> initialization from incompatible pointer type
>
> demux_ogg.c:166: warning: initialization from incompatible pointer type
> demux_ogg.c: In function 'demux_ogg_read_packet':
> demux_ogg.c:244: warning: initialization from incompatible pointer type
> demux_ogg.c:250: error: invalid operands to binary &
> demux_ogg.c:302: error: invalid operands to binary !=
> demux_ogg.c:305: error: invalid operands to binary &
> demux_ogg.c:309: error: invalid operands to binary &
> demux_ogg.c:310: error: invalid operands to binary &
> demux_ogg.c:311: warning: assignment from incompatible pointer type
> demux_ogg.c:316: error: invalid operands to binary &
> demux_ogg.c:323: error: invalid operands to binary |
> demux_ogg.c: In function 'demux_ogg_add_packet':
> demux_ogg.c:463: error: invalid operands to binary &
> demux_ogg.c:486: error: invalid operands to binary -
> demux_ogg.c:487: error: invalid operands to binary -
> demux_ogg.c: In function 'demux_ogg_scan_stream':
> demux_ogg.c:547: warning: initialization makes pointer from integer without a cast
> demux_ogg.c:603: warning: initialization makes pointer from integer without a cast
> demux_ogg.c: In function 'fixup_vorbis_wf':
> demux_ogg.c:677: warning: passing argument 2 of 'ds_get_packet' from
> incompatible pointer type
> demux_ogg.c: In function 'demux_ogg_open':
> demux_ogg.c:792: warning: assignment makes pointer from integer without a cast
> demux_ogg.c:832: warning: passing argument 1 of 'strncmp' from incompatible
> pointer type
> demux_ogg.c:839: warning: passing argument 1 of 'strncmp' from incompatible
> pointer type
> demux_ogg.c:907: warning: passing argument 1 of 'strncmp' from incompatible
> pointer type
> demux_ogg.c:915: warning: passing argument 1 of 'strncmp' from incompatible
> pointer type
> demux_ogg.c:928: warning: passing argument 1 of 'strncmp' from incompatible
> pointer type
> demux_ogg.c:936: error: aggregate value used where an integer was expected
> demux_ogg.c:936: error: aggregate value used where an integer was expected
> demux_ogg.c:936: error: aggregate value used where an integer was expected
> demux_ogg.c:936: error: aggregate value used where an integer was expected
> demux_ogg.c:979: error: invalid operands to binary &
> demux_ogg.c: In function 'demux_ogg_fill_buffer':
> demux_ogg.c:1191: warning: assignment makes pointer from integer without a cast
> demux_ogg.c: In function 'init_avi_with_ogg':
> demux_ogg.c:1281: warning: assignment makes pointer from integer without a cast
> demux_ogg.c: In function 'demux_ogg_seek':
> demux_ogg.c:1436: warning: initialization makes pointer from integer without a
> cast
> gmake[1]: *** [demux_ogg.o] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> gmake[1]: Leaving directory
> `/usr/obj/homeKamikaze.norad/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/libmpdemux'
> gmake: *** [libmpdemux/libmpdemux.a] Error 2
> *** Error code 2
>
> Stop in /usr/ports/multimedia/mplayer.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/mplayer.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>
>   
I'm having a similar problem upgrading mplayer, make-config set to the 
defaults:

#portupgrade -r mplayer-0.99.10_14

[non- errored code snipped]

freetype2     -c -o ad_libvorbis.o ad_libvorbis.c
ad_libvorbis.c: In function 'decode_audio':
ad_libvorbis.c:232: warning: passing argument 2 of 'ds_get_packet_pts' 
from incompatible pointer type
ad_libvorbis.c:238: error: too few arguments to function 'vorbis_synthesis'
gmake[1]: *** [ad_libvorbis.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/libmpcodecs'
gmake: *** [libmpcodecs/libmpcodecs.a] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mplayer.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.

cvsup'd sources about 20 minutes ago.

I've tried with and without tremor and I have the same results as posted 
above.

access# uname -a
FreeBSD access.smsd.tv 7.0-BETA4 FreeBSD 7.0-BETA4 #2: Sun Dec  9 
13:49:09 EST 2007     root at access.smsd.tv:/usr/obj/usr/src/sys/ACCESS2  i386


More information about the freebsd-ports mailing list