multimedia/mplayer doesn't build (default options)

Manfred Antar null at pozo.com
Sun Dec 16 01:46:14 PST 2007


At 10:38 PM 12/15/2007, Thomas Zander wrote:
>Hi,
>
>On 14/12/2007, Dominic Fandrey <LoN_Kamikaze at gmx.de> wrote:
>
>> ad_libvorbis.c:238: error: too few arguments to function 'vorbis_synthesis'
>> gmake[1]: *** [ad_libvorbis.o] Error 1
>> gmake[1]: Leaving directory
>
>Can't reproduce this error here. Given you are using default options,
>mplayer will get its includes from for vorbis from LOCALBASE. The
>current libvorbis installation from the ports tree
>(libvorbis-1.2.0_1,3) contains a codec.h that perfectly matches the
>argument list in ad_libvorbis.c:238.
>Do you have this libvorbis port installed correctly?
>You can also use mplayer's internal vorbis lib by selecting TREMOR in
>the options menu.
>
>Riggs
>_______________________________________________
>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 get the same error here on CURRENT.
Did a reinstall of  libvorbis-1.2.0_1,3 and still no go.
If you add #include <vorbis/codec.h>  to work/MPlayer-1.0rc2/libmpcodecs/ad_libvorbis.c
it will build past that and later fail at:

l/lib/glib-2.0/include -I/usr/local/include/freetype2     -c -o demux_ogg.o demux_ogg.c
demux_ogg.c: In function 'demux_ogg_add_sub':
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

==================================
||      null at pozo.com           ||
||      Ph. (415) 681-6235      ||
================================== 



More information about the freebsd-ports mailing list