Re: xml2 compile error - work_mem undeclared

From: George Weaver <gweaver(at)shaw(dot)ca>
To: "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: xml2 compile error - work_mem undeclared
Date: 2004-11-23 16:13:36
Message-ID: 002a01c4d177$6572eb00$6400a8c0@Dell4500
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Vishal,

I do not have libxpath installed, but I have installed libxml2,
libxml2-devel, and libxslt from Cygwin.

I have solved the compilation problem by using SortMem in place of work_mem
and removing one of the arguments to align with the tuplestore.h version of
7.3.2 which only takes two arguements.

Now I receive the message:

dlltool --export-all --output-def pgxml.def xpath.o xslt_proc.o
dllwrap -o pgxml.dll --dllname pgxml.dll --def pgxml.def xpath.o xslt_proc.o
../../src
/utils/dllinit.o -L/usr/local/lib -lxml2 -lxslt -L../../src/backend -lpostgres
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/ld: cannot find -lxml2
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpgxml.a] Error 1

George

----- Original Message -----
From: "Vishal Kashyap @ [SaiHertz]" <vishalonlist(at)gmail(dot)com>
To: "George Weaver" <gweaver(at)shaw(dot)ca>
Sent: Monday, November 22, 2004 2:11 PM
Subject: Re: [NOVICE] xml2 compile error - work_mem undeclared

> Is libxpath installed
>
>
> On Mon, 22 Nov 2004 13:48:50 -0600, George Weaver <gweaver(at)shaw(dot)ca> wrote:
>>
>> I am trying to compile contrib/xml2 under version 7.3.2, and receive the
>> following error message:
>>
>>
>> xpath.c:659: error: `work_mem' undeclared (first use in this function)
>> xpath.c:659: error: (Each undeclared identifier is reported only once
>> xpath.c:659: error: for each function it appears in.)
>> xpath.c:659: error: too many arguments to function
>> `tuplestore_begin_heap'
>> Can someone help?
>>
>> George
>>
>>
>>
>>
>
>
> --
> With Best Regards,
> Vishal Kashyap.
> Did you know SaiPACS is one and only PACS
> Management tool.
> http://saihertz.com,
> http://vishalkashyap.tk
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message sarlav kumar 2004-11-23 20:46:33 lock problem
Previous Message Jeff Flowers 2004-11-23 15:21:04 Re: Year Only Date Column