From owner-freebsd-ports@FreeBSD.ORG Thu Aug 10 10:25:53 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 CF32F16A5C6; Thu, 10 Aug 2006 10:25:53 +0000 (UTC) (envelope-from fbsd@1command.com) Received: from mail.1command.com (mail.1command.com [216.177.243.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AEF443D49; Thu, 10 Aug 2006 10:25:51 +0000 (GMT) (envelope-from fbsd@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id k7AAPme4001318; Thu, 10 Aug 2006 03:25:49 -0700 (PDT) (envelope-from fbsd@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id k7AAPmQg001317; Thu, 10 Aug 2006 03:25:48 -0700 (PDT) (envelope-from fbsd@1command.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [216.177.243.49]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Thu, 10 Aug 2006 03:25:47 -0700 Message-ID: <20060810032547.0mh3rwnogkkk84c4@webmail.1command.com> X-Priority: 3 (Normal) Date: Thu, 10 Aug 2006 03:25:47 -0700 From: "Chris H." To: freebsd-stable@freebsd.org References: <20060809192304.ubr18r4ogs08o8g0@webmail.1command.com> <44DAA8CB.8020008@paradise.net.nz> <20060809212436.67cc8hclc0gsogos@webmail.1command.com> <20060810150533.6ee6499d@localhost> In-Reply-To: <20060810150533.6ee6499d@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Cc: 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 10:25:54 -0000 Hello, and thank you for your reply. Quoting Norberto Meijome : > 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. Thank you for your suggestion. But if I understand you correctly, I don't think that I fall into this catagory. I installed with the Source Developer option from the CD (no X, no Games). Then performed: cvsup -g -L 2 /root/stable-src-supfile && \ cvsup -g -L 2 /root/ports-supfile && portsdb -uU && pkgdb -F Then edited: /usr/sys/i386/conf/generic and saved to my custom config. Performed a make buildworld, make buildkernel make installkernel etc, etc... Then I built the entire Xorg-6.9 server and libraries from source. Everything worked/ performed as expected. I have not made anything that required XFree86 (and friends) - it's purely Xorg. But recently, I am recieving the error(s) mentioned /every/ time I build anything that depends on GTK - /anything/. That's why I was sure there is an issue in the GTK/GD source as provided in the ports tree. I have no difficulties with anything unless GTK is involved. Thanks again for your response. --Chris > > HIH, > Beto > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- panic: kernel trap (ignored) ----------------------------------------------------------------- FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006 /////////////////////////////////////////////////////////////////