Date: Mon, 19 Nov 2001 16:17:55 -0700 From: Ken Gunderson <kgunders@hpb50341.boi.hp.com> 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> In-Reply-To: <3BF983A3.E8D609C8@cisco.com>; from gehicks@cisco.com on Mon, Nov 19, 2001 at 02:11:47PM -0800 References: <20011118081403.A79296@w4lna.dyndns.org> <20011119145734.A21328@kasilof.boi.hp.com> <3BF983A3.E8D609C8@cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011119161755.A31756>
