[xml] Libxml2 portability issue



Hi, 

I'm currently working for a space project and have been trying to convince the
people around me -- manily scientists -- that switching to xml-based data
representation is a good idea. I work on a redhat 7.3 linux release and things
work fine for me but my problem is that the people around me work on a variety
of plateforms and systems most of which are outdated (from mac OS X to 64 bit
alpha machines using OSF1). I would hence need to be able to distribute a
minimum version of libxml2 -- I use only the xml parser and the dtd validation
-- along with my code so that my users could easily -- most of them are
scientists, not software engineers -- compile things on their plateforms. I have
 tried to compile it on the afore-mentionned plateforms and got errors during
the link step as (on the 64-bit machine):

gcc -shared ${wl}-expect_unresolved ${wl}\*  SAX.o entities.o encoding.o error.o
parserInternals.o parser.o tree.o hash.o list.o xmlIO.o xmlmemory.o uri.o
valid.o xlink.o HTMLparser.o HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o
nanohttp.o nanoftp.o DOCBparser.o catalog.o globals.o threads.o c14n.o
xmlregexp.o xmlschemas.o xmlschemastypes.o xmlunicode.o triostr.o trio.o   -lz
-liconv -lm  -Wl,-msym -Wl,-soname -Wl,libxml2.so `test -n
"6.4.25:2.0:3.0:4.0:5.0:6.0" && echo -Wl,-set_version
-Wl,6.4.25:2.0:3.0:4.0:5.0:6.0` -Wl,-update_registry -Wl,.libs/so_locations -o
.libs/libxml2.so.6.4.25
/usr/ucb/ld:
No symbolic information for: xmlschemas.o

Mac OS X complains about the -undefined suppress option. Is there anywhere I can
find such a source or can you help me select the appropriate pieces of code ?

Thanks,

Shan

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]