[redland-dev] Redland on Windows

Dave Beckett dave.beckett at bristol.ac.uk
Wed Jul 30 15:34:55 BST 2003


On Thu, 24 Jul 2003 20:04:31 -0700 (PDT)
Ron Smith <rsmith7211 at yahoo.com> wrote:

> Hi,
> 
> Has anyone gotten the latest release of
> the Redland framework built and working under
> Windows?  I read some reports of it working under
> Windows.
> I'm trying it out under cygwin, but
> not having success with the build.
> 
> I'm getting undefined reference errors such as
> _XML_ParserCreateNS, _XML_Parse.
> I've tried it out using libxml2 and expat, with
> the same results.
> Here is some of the make output:
> 
> dlltool --as=as --dllname cygexpat-0.dll --def
> .libs/cygexpat-0.dll-def --output
> -lib .libs/libimp-cygexpat-0.a
> gcc -DLIBRDF_INTERNAL=1 -g -o rdfdump.exe rdfdump.o 
> .libs/libimp-cygexpat-0.a .
> /.libs/librepat.al
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x321a): In
> function `RDF_ParserCreate'
> :
> /home/Ron/redland-0.9.12/repat/rdfparse.c:2090:
> undefined reference to `_XML_Par
> serCreateNS'
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x3238):/home/Ron/redland-0.9.12/repat/
> rdfparse.c:2093: undefined reference to
> `_XML_SetUserData'
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x3253):/home/Ron/redland-0.9.12/repat/
> rdfparse.c:2094: undefined reference to
> `_XML_SetElementHandler'
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x3266):/home/Ron/redland-0.9.12/repat/
> rdfparse.c:2095: undefined reference to
> `_XML_SetCharacterDataHandler'
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x3286): In
> function `RDF_ParserFree':
> /home/Ron/redland-0.9.12/repat/rdfparse.c:2106:
> undefined reference to `_XML_Par
> serFree'
> ./.libs/librepat.al(rdfparse.lo.b)(.text+0x338f): In
> function `RDF_Parse':
> /home/Ron/redland-0.9.12/repat/rdfparse.c:2187:
> undefined reference to `_XML_Par
> se'
> collect2: ld returned 1 exit status

I think this is the same thing that came up previously.  There seems to
be some problem using repat with expat under cygwin.  repat has
been removed from the latest Redland sources so it's not a problem
in the CVS/developer version.

You can disable this by using the configure option
--enable-parsers=raptor to enable the raptor RDF parser only.
Then the compiling should get a little further.  Other people have
reported some more problems after that though.
See http://lists.usefulinc.com/pipermail/redland-dev/2003-July/000374.html

Anyone want to have a look at fixing redland under cygwin?  I don't use it.

Dave



More information about the redland-dev mailing list