multimedia/vlc [2.0.5,3] ISSUE Use X C Bindings

Juergen Lock nox at jelal.kn-bremen.de
Sat Feb 2 19:30:11 UTC 2013


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 at jelal.kn-bremen.de>:
> > In article <CACGq7x2qkY5dr0Y2ie_0uYric07_eBgZTA6aQEnhpVsEyCo7zw at 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


More information about the freebsd-x11 mailing list