[OSM-talk] Regarding libxml2 Usage
yuri bay
ksh_wong at msn.com
Wed Feb 7 15:37:51 GMT 2007
Hi Igor,
First of all thanks for the libxml binary. I have downloaded it and other
binaries (just in case) because I need to use it with a converter called
osm2pgSQL.c . It basically convert xml data into pgSQL data. I have the
osm2pgsql.c file and other files that it depended on (bst.h, bst.c, avl.h,
avl.c, Makefile). Unfortunately there is no instruction on how to compile
and use them in Window. As it requires iconv.h, xmlstring.h and xreader.h,
I have put these files in the MinGW/include folder where they can be found
when I compile osm2pgsql. But I have the following errors and I am trying
to understand what they means? I would be grateful if you could let me know
what does the errors means, e.g. missing files, modules?
$ make osm2pgsql
gcc osm2pgsql.c -o osm2pgsql
C:/Docume~1/Casey/Local~1/Temp/ccsDaaaa.o(.text+0xae6):osm2pgsql.c:
undefined reference to 'xmlStrEqual'
....undefined reference to 'xmlStrEqual'
....undefined reference to 'xmlTestReaderGetAttribute'
....undefined reference to 'bst_insert'
....undefined reference to '_imp_xmlFree'
....undefined reference to 'avl_insert'
....undefined reference to 'bst_balance'
...
...
make: *** [osm2pgsql] Error 1
Thanks
Best Regards
Casey Wong
_________________________________________________________________
MSN Hotmail is evolving check out the new Windows Live Mail
http://ideas.live.com
More information about the talk
mailing list