Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 20:27:39 +0100
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        awarecons <awarecons@gmail.com>
Cc:        x11@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, multimedia@freebsd.org, ports-bugs@freebsd.org
Subject:   Re: multimedia/vlc [2.0.5,3] ISSUE Use X C Bindings
Message-ID:  <20130202192739.GA46013@triton8.kn-bremen.de>
In-Reply-To: <CACGq7x3a_0GoS1-WNDVcGrsAKW7_xcnH5wAiSL1VyhBpeQxZGA@mail.gmail.com>
References:  <CACGq7x2qkY5dr0Y2ie_0uYric07_eBgZTA6aQEnhpVsEyCo7zw@mail.gmail.com> <201302021543.r12FhSVK038296@triton8.kn-bremen.de> <CACGq7x3a_0GoS1-WNDVcGrsAKW7_xcnH5wAiSL1VyhBpeQxZGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 02, 2013 at 11:04:23PM +0400, awarecons wrote:
> Mine has:
> ...
> /**
>  * @brief xcb_randr_output_property_t
>  **/
> typedef struct xcb_randr_output_property_t {
>     xcb_window_t       window; /**<  */
>     xcb_randr_output_t output; /**<  */
>     xcb_atom_t         atom; /**<  */
>     xcb_timestamp_t    timestamp; /**<  */
>     uint8_t            status; /**<  */
>     uint8_t            pad0[11]; /**<  */
> m xcb_randr_output_property_t;
> 
> /**
>  * @brief xcb_randr_output_property_iterator_t
>  **/
> typedef struct xcb_randr_output_property_iterator_t {
>     xcb_randr_output_property_t *data; /**<  */
>     int                          rem; /**<  */
>     int                          index; /**<  */
> } xcb_randr_output_property_iterator_t;
> 
> ...
> 
Aah-haah! :)

 You have a bitflip there, '}' (0x7d) became 'm' (0x6d).  Try
reinstalling the x11/libxcb port, that should fix it.

 HTH,
	Juergen

> 2013/2/2 Juergen Lock <nox@jelal.kn-bremen.de>:
> > In article <CACGq7x2qkY5dr0Y2ie_0uYric07_eBgZTA6aQEnhpVsEyCo7zw@mail.gmail.com> you write:
> >>If chosen
> >>
> >>[*] XCB               Use X C Bindings for X11 output
> >>
> >>GCC 4.6.3:
> >>gmake[5]: Entering directory
> >>`/usr/ports/multimedia/vlc/work/vlc-2.0.5/modules/video_filter'
> >>  CC     libpanoramix_plugin_la-panoramix.lo
> >>  CC     libpostproc_plugin_la-postproc.lo
> >>In file included from panoramix.c:50:0:
> >>/usr/local/include/xcb/randr.h:1168:1: error: unknown type name 'm'
> >>/usr/local/include/xcb/randr.h:1173:1: error: expected
> >>specifier-qualifier-list before 'typedef'
> >>gmake[5]: *** [libpanoramix_plugin_la-panoramix.lo] Error 1
> >>
> >>gcc4.2:
> >>
> >>gmake[5]: Entering directory
> >>`/usr/ports/multimedia/vlc/work/vlc-2.0.5/modules/video_filter'
> >>  CC     libpanoramix_plugin_la-panoramix.lo
> >>  CCLD   libpostproc_plugin.la
> >>In file included from panoramix.c:50:
> >>/usr/local/include/xcb/randr.h:1168: error: expected
> >>specifier-qualifier-list before 'm'
> >>gmake[5]: *** [libpanoramix_plugin_la-panoramix.lo] Error 1
> >>
> >>But, for e.g., mplayer using XCB compiles fine.
> >
> > Hmm what's in/around those lines in your /usr/local/include/xcb/randr.h ?
> > Mine doesn't have an identifier 'm' there anywhere...
> >
> > [...]
> > /**
> >  * @brief xcb_randr_output_property_t
> >  **/
> > typedef struct xcb_randr_output_property_t {
> >     xcb_window_t       window; /**<  */
> >     xcb_randr_output_t output; /**<  */
> >     xcb_atom_t         atom; /**<  */
> >     xcb_timestamp_t    timestamp; /**<  */
> >     uint8_t            status; /**<  */
> >     uint8_t            pad0[11]; /**<  */
> > } xcb_randr_output_property_t;
> >
> > /**
> >  * @brief xcb_randr_output_property_iterator_t
> >  **/
> > typedef struct xcb_randr_output_property_iterator_t {
> >     xcb_randr_output_property_t *data; /**<  */
> >     int                          rem; /**<  */
> >     int                          index; /**<  */
> > } xcb_randr_output_property_iterator_t;
> > [...]
> >
> >  Thanx,
> >         Juergen



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