Skip site navigation (1) Skip section navigation (2)

compile error in contrib/xml2

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: compile error in contrib/xml2
Date: 2004-07-09 14:04:30
Message-ID: 1089381869.3239.29.camel@dicaprio.akademie1.de (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,

I'm trying to compile the CVS version of contrib/xml2 for
postgresql-7.4.2. I'm hitting that error:

[bertheau(at)dicaprio pgxml2]$ gcc -fpic -c xpath.c -I`pg_config --includedir-server` `pkg-config libxml-2.0 --cflags`
xpath.c: In function `xpath_table':
xpath.c:653: error: `work_mem' undeclared (first use in this function)
xpath.c:653: error: (Each undeclared identifier is reported only once
xpath.c:653: error: for each function it appears in.)

I haven't found a declaration of work_mem anywhere in /usr/include/pgsql
- what am I doing wrong?

-- 
Markus Bertheau <twanger(at)bluetwanger(dot)de>


Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2004-07-09 14:15:35
Subject: Re: BUG #1118: Misleading Commit message
Previous:From: Ted KremenekDate: 2004-07-08 17:50:48
Subject: Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group