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

next in thread | previous in thread | raw e-mail | index | archive | help
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?201302021543.r12FhSVK038296>