From owner-freebsd-x11@FreeBSD.ORG Sat Feb 2 19:30:10 2013 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F00C860B; Sat, 2 Feb 2013 19:30:10 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7E27916B; Sat, 2 Feb 2013 19:30:09 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 1BF6D1E007A7; Sat, 2 Feb 2013 20:30:09 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r12JRdr9046193; Sat, 2 Feb 2013 20:27:39 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r12JRdRw046192; Sat, 2 Feb 2013 20:27:39 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 2 Feb 2013 20:27:39 +0100 To: awarecons Subject: Re: multimedia/vlc [2.0.5,3] ISSUE Use X C Bindings Message-ID: <20130202192739.GA46013@triton8.kn-bremen.de> References: <201302021543.r12FhSVK038296@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org, Juergen Lock , multimedia@freebsd.org, ports-bugs@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 19:30:11 -0000 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 : > > In article 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