From owner-freebsd-ports@FreeBSD.ORG Thu Aug 10 05:05:41 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6702616A4E1 for ; Thu, 10 Aug 2006 05:05:41 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EBE643D55 for ; Thu, 10 Aug 2006 05:05:40 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 24151 invoked from network); 10 Aug 2006 15:05:39 +1000 Received: from 203-217-58-142.dyn.iinet.net.au (HELO localhost) (203.217.58.142) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 10 Aug 2006 15:05:39 +1000 Date: Thu, 10 Aug 2006 15:05:33 +1000 From: Norberto Meijome To: "Chris H." Message-ID: <20060810150533.6ee6499d@localhost> In-Reply-To: <20060809212436.67cc8hclc0gsogos@webmail.1command.com> References: <20060809192304.ubr18r4ogs08o8g0@webmail.1command.com> <44DAA8CB.8020008@paradise.net.nz> <20060809212436.67cc8hclc0gsogos@webmail.1command.com> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org Subject: Re: error: syntax error before "_X_SENTINEL" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 05:05:41 -0000 On Wed, 09 Aug 2006 21:24:36 -0700 "Chris H." wrote: > Hello Mark, and thank you for your prompt reply. > > Quoting Mark Kirkwood : > > > Chris H. wrote: > >> Hello, > >> I just recenlly found that I am almost always unable to > >> build X (Xorg) related applications on a 5.5 box that has > >> pretty recent source. The applications all die during the > >> make process with the following error: > >> error: syntax error before "_X_SENTINEL" > >> Any to fix this? Googling indicates that this is a common > >> problem without a solution. > >> > >> System runs Xorg 6.9. > >> > >> Thank you for all your time and consideration. > >> > > > > I saw this: > > > > http://support.zenwalk.org/index.php?PHPSESSID=84b9cfbdfe961f45c90c7c47960b2268&topic=2134.msg11956 > > > > Might be worth a try. > > Yes, I caught the thread on that board. But didn't find the solution you > provided. Thanks! That was the /magic/ required to stop the whining offender > (gdkx.h). After some more research and investigation, this anomoly > appears to be a GTK/GD issue, and not X. I'm trying to figure out how to > get this #ifdef hack sucked in globally for the gtk/gd environment. I'm > /pretty/ sure gdkx.h will probably cover it. But would rather have it > sucked in from a seperate file. So as to not contaminate the actual header > file. I've cc'd the ports list, in hopes there is a better solution and > (even better) a newer version that resolves this problem. Hi all, interesting this is appearing ... I had this problem around 23rd of march on my laptop running 6-STABLE at the time. I am not sure if this is the *same* issue, BUT I think it went like this... xproto's makefile says it conflicts with xorg-libraries-* CONFLICTS= XFree86-libraries-* xorg-libraries-* i think that I had installed by hand one of the X lib-packages and that had made the whole problem. conflicting libraries and include files. I removed all the extra Xfree86 libs and Xorg, reinstalled Xorg and that was it. I am not saying this is your problem... but it may be worth a try. Xfree86 lib-packages that were installed in my system at the time: libX11 libXau libXcursor libXdmcp libXfixes libXrender xextensions xproto They definitely install files (under include and lib/ ) that xorg provides. HIH, Beto