Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 13:59:07 -0600
From:      Mark Kane <mark@mkproductions.org>
To:        vlad@vlad.uz.ua
Cc:        "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, freebsd-ports@freebsd.org
Subject:   Re: multimedia/vlc - x264 error [multimedia/mplayer - x264 error]
Message-ID:  <20061103135907.0cd7312d@localhost>
In-Reply-To: <44DA5CC3.7090006@vlad.uz.ua>
References:  <44DA4B48.2060208@gmx.de> <44DA4DE7.2020801@vlad.uz.ua> <44DA5CC3.7090006@vlad.uz.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 10, 2006, at 01:08:03 +0300, Vlad V. Teterya wrote:
> >>> I find myself unable to build vlc. The build terminates with the
> >>> following error:
> >>>
> >>> if /usr/local/bin/distcc cc -DHAVE_CONFIG_H -I. -I. -I../..
> >>> -I/usr/obj/mnt/homeKamikaze/ports/multimedia/vlc/work/vlc-0.8.5/inclu=
de
> >>> -I/usr/X11R6/include/wx-2.6/ -I/usr/local/include/dirac
> >>> -I/usr/local/include/speex -I/usr/local/include
> >>> -I/usr/X11R6/include  -I/usr/local/include -DSYS_FREEBSD6_1
> >>> -I../../include `top_builddir=3D"../.." ../../vlc-config --cflags
> >>> plugin x264` -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe
> >>> -march=3Dpentium-m -pthread -pipe -MT libx264_plugin_a-x264.o -MD
> >>> -MP -MF ".deps/libx264_plugin_a-x264.Tpo" -c -o
> >>> libx264_plugin_a-x264.o `test -f 'x264.c' || echo './'`x264.c; \
> >>> then mv -f ".deps/libx264_plugin_a-x264.Tpo"
> >>> ".deps/libx264_plugin_a-x264.Po"; else rm -f
> >>> ".deps/libx264_plugin_a-x264.Tpo"; exit 1; fi In file included
> >>> from x264.c:32: /usr/local/include/x264.h:32:4: warning: #warning
> >>> You must include stdint.h or inttypes.h before x264.h x264.c: In
> >>> function `Open': x264.c:550: error: structure has no member named
> >>> `b_cbr' distcc[10192] ERROR: compile x264.c on localhost failed
> >>> gmake[4]: *** [libx264_plugin_a-x264.o] Error 1
> >=20
> > You can get same errors when you try to build multimedia/mplayer
> > with option WITH_X264=3Dtrue (after updating multimedia/x264 to
> > x264-0.0.20060808)
> >=20
>=20
> mplayer compilation errors:
>=20
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -pipe
> - -march=3Di6
> 86 -mtune=3Dpentium3 -O3 -ffast-math -fomit-frame-pointer
> - -D_LARGEFILE_SOURCE -D_
> FILE_OFFSET_BITS=3D64 -I/usr/local/include/freetype2
> -I/usr/local/include
> - -I. -I..
>  -Inative -I../libmpdemux -I../loader  -I../libavutil -I../libavcodec
> - -I/usr/loc
>  al/include/freetype2 -I/usr/local/include   -D_GNU_SOURCE  -o
> ve_x264.o ve_x264.
>  c
>  ve_x264.c: In function `parse_cqm':
>  ve_x264.c:215: warning: passing arg 2 of `strtol' from incompatible
> pointer type
>=20
>  ve_x264.c: In function `config':
>  ve_x264.c:278: error: structure has no member named `b_cbr'
>  gmake[1]: *** [ve_x264.o] Error 1
>  gmake[1]: =D0=97=D0=B0=D0=BB=D0=B8=D1=88=D0=B0=D1=8E =D0=BA=D0=B0=D1=82=
=D0=B0=D0=BB=D0=BE=D0=B3
> "/usr/ports/multimedia/mplayer/work/MPlayer-1.0pre8/libmpcodecs"
>  gmake: *** [libmpcodecs/libmpcodecs.a] Error 2
>  *** Error code 2

Was there a solution to the vlc/mplayer build problems (without
disabling x264)?

I'm just about finished with a big cvsup/rebuild with the GNOME/GTK
updates, and vlc/mplayer are some of the last ports not upgraded. They
are both failing with the exact same errors about x264 as in this
thread.

x264-0.0.20061030
and an ports tree as of around 2:00 PM Eastern USA time on Wednesday

Thanks

-Mark

--=20
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)



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