From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 21:49:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D05FA16A4CE for ; Sat, 12 Jun 2004 21:49:49 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 972BD43D41 for ; Sat, 12 Jun 2004 21:49:49 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (rwcrmhc12) with ESMTP id <2004061221484801400c0hh6e>; Sat, 12 Jun 2004 21:48:48 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 3214474; Sat, 12 Jun 2004 17:48:48 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Joe References: <1971.192.168.0.1.1087051975.squirrel@192.168.0.1> From: Lowell Gilbert Date: 12 Jun 2004 17:48:48 -0400 In-Reply-To: <1971.192.168.0.1.1087051975.squirrel@192.168.0.1> Message-ID: <44r7skwipr.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: known error building expat2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 21:49:49 -0000 Joe writes: > Could someone take pity on me - I am not a C programmer. The following error appears in building expat2, it has been reported as a bug in the port and it doesn't look like it will get attention soon. Unfortunately I need to get through this port. > > I've done some investigation. Short of a crash course in C programming, I am quite lost trying to figure out the error. > > In /usr/ports/textproc/expat2 > > xmlwf/xmlwf.c:24: syntax error before `characterData' > *** Error code 1 > > Stop in /usr/ports/textproc/expat2/work/expat-1.95.7. > *** Error code 1 > > This has been reported as an error: > ports/64259: expat-1.95.7 compile fails with non-obvious syntax error > (http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2004-March/027615.html) and has been assigned a severity - low, rightly so I *am* a C programmer, and the problem is obviously that the XMLCALL macro isn't getting defined, but I can't see why it wouldn't. The expat.h in the port will define it as long as __GNUC__ is defined, which it should be for any version of gcc I can recall. Non of the usual -questions information is included in the message (see http://www.lemis.com/questions.html for guidance), and the problem does not occur on my system (-STABLE and ports updated within the last week).