From owner-freebsd-stable Mon Nov 19 15:16:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from atlrel6.hp.com (atlrel6.hp.com [192.151.27.8]) by hub.freebsd.org (Postfix) with ESMTP id F039F37B405 for ; Mon, 19 Nov 2001 15:16:49 -0800 (PST) Received: from hpbs5002.boi.hp.com (hpbs5002.boi.hp.com [15.2.216.28]) by atlrel6.hp.com (Postfix) with ESMTP id 4C3A31F79E for ; Mon, 19 Nov 2001 18:16:49 -0500 (EST) Received: from kasilof.boi.hp.com (hpb50341.boi.hp.com [15.56.24.166]) by hpbs5002.boi.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id QAA24872 for ; Mon, 19 Nov 2001 16:16:48 -0700 (MST) Received: by kasilof.boi.hp.com (Postfix, from userid 1000) id BF46C988D; Mon, 19 Nov 2001 16:17:55 -0700 (MST) Date: Mon, 19 Nov 2001 16:17:55 -0700 From: Ken Gunderson To: freebsd-stable@freebsd.org Subject: Re: Problem building KDE 2.2.1 on 4.4-stable Message-ID: <20011119161755.A31756@kasilof.boi.hp.com> References: <20011118081403.A79296@w4lna.dyndns.org> <20011119145734.A21328@kasilof.boi.hp.com> <3BF983A3.E8D609C8@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BF983A3.E8D609C8@cisco.com>; from gehicks@cisco.com on Mon, Nov 19, 2001 at 02:11:47PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 19, 2001 at 02:11:47PM -0800, W Gerald Hicks wrote: > Can you show me a few lines of context around lines 70 and 217 of > /usr/local/include/libxml2/libxml/globals.h ? > > Cheers, > > Jerry Hicks > gehicks@cisco.com > > Ken Gunderson wrote: > > > > On Sun, Nov 18, 2001 at 08:14:03AM -0600, Mike W4LNA wrote: > > > > > > I rebuilt 4.4-stable after a fresh cvsup yesterday and deleted > > > all of my ports to get rid of some nagging dependency problems. > > > Had the following problem while rebuilding KDE 2.2.1 that I > > > haven't been able to find mention of in the archives: > > > > > > Making all in kdoctools > > > gmake[2]: Entering directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctoo > > > Making all in libxslt > > > gmake[3]: Entering directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctoo > > > /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. - > > > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/local/include/libxml2/libxml -I > > > In file included from /usr/local/include/libxml2/libxml/parser.h:576, > > > from /usr/local/include/libxml2/libxml/xmlerror.h:4, > > > from templates.c:18: > > > /usr/local/include/libxml2/libxml/globals.h:70: syntax error before `xmlGenericE > > > /usr/local/include/libxml2/libxml/globals.h:217: syntax error before `xmlGeneric > > > /usr/local/include/libxml2/libxml/globals.h:217: warning: data definition has no > > > gmake[3]: *** [templates.lo] Error 1 > > > gmake[3]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctool > > > gmake[2]: *** [all-recursive] Error 1 > > > gmake[2]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1/kdoctool > > > gmake[1]: *** [all-recursive] Error 1 > > > gmake[1]: Leaving directory `/usr/ports/x11/kdelibs2/work/kdelibs-2.2.1' > > > gmake: *** [all-recursive-am] Error 2 > > > *** Error code 2 > > > > > > Stop in /usr/ports/x11/kdelibs2. > > > *** Error code 1 > > > > > > > > > libxml2 was freshly built before this. > > > > > > Any clues? > > > > > > > nope- but i am seeing the exact same error... > > here ya go... 55 typedef xmlGlobalState *xmlGlobalStatePtr; 56 struct _xmlGlobalState 57 { 58 const char *xmlParserVersion; 59 60 xmlSAXLocator xmlDefaultSAXLocator; 61 xmlSAXHandler xmlDefaultSAXHandler; 62 xmlSAXHandler docbDefaultSAXHandler; 63 xmlSAXHandler htmlDefaultSAXHandler; 64 65 xmlFreeFunc xmlFree; 66 xmlMallocFunc xmlMalloc; 67 xmlStrdupFunc xmlMemStrdup; 68 xmlReallocFunc xmlRealloc; 69 70 xmlGenericErrorFunc xmlGenericError; 71 void *xmlGenericErrorContext; 72 73 int oldXMLWDcompatibility; 74 75 xmlBufferAllocationScheme xmlBufferAllocScheme; 76 int xmlDefaultBufferSize; 77 78 int xmlSubstituteEntitiesDefaultValue; 79 int xmlDoValidityCheckingDefaultValue; 80 int xmlGetWarningsDefaultValue; 81 int xmlKeepBlanksDefaultValue; 82 int xmlLineNumbersDefaultValue; 83 int xmlLoadExtDtdDefaultValue; 84 int xmlParserDebugEntities; 85 int xmlPedanticParserDefaultValue; 86 87 int xmlSaveNoEmptyTags; 88 int xmlIndentTreeOutput; 89 }; 90 91 void xmlInitializeGlobalState(xmlGlobalStatePtr gs); 92 204 #ifdef LIBXML_THREAD_ENABLED 205 extern int *__xmlDoValidityCheckingDefaultValue(void); 206 #define xmlDoValidityCheckingDefaultValue \ 207 (*(__xmlDoValidityCheckingDefaultValue())) 208 #else 209 LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue; 210 #endif 211 212 #ifdef LIBXML_THREAD_ENABLED 213 extern xmlGenericErrorFunc *__xmlGenericError(void); 214 #define xmlGenericError \ 215 (*(__xmlGenericError())) 216 #else 217 LIBXML_DLL_IMPORT extern xmlGenericErrorFunc xmlGenericError; 218 #endif 219 220 #ifdef LIBXML_THREAD_ENABLED 221 extern void * *__xmlGenericErrorContext(void); 222 #define xmlGenericErrorContext \ 223 (*(__xmlGenericErrorContext())) 224 #else 225 LIBXML_DLL_IMPORT extern void * xmlGenericErrorContext; 226 #endif 227 228 #ifdef LIBXML_THREAD_ENABLED 229 extern int *__xmlGetWarningsDefaultValue(void); 230 #define xmlGetWarningsDefaultValue \ 231 (*(__xmlGetWarningsDefaultValue())) 232 #else 233 LIBXML_DLL_IMPORT extern int xmlGetWarningsDefaultValue; 234 #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message