This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Trying to parse XML file into tree in memory



I realize this is a little bit "out there" for seeking help on this forum, but it *is* for configuring a codec application on the DM6467T.

PRIMARILY, Is there already a usable library or source somewhere for doing this, that's been compiled for or can be compiled for the DM6467T's arm processor?  Please note that I need to read a very large XML file, and so I need code that reads from the file as it parses, rather than parsing a string in memory.

ALTERNATIVELY, I have found http://www.xmlsoft.org and have downloaded, made, and installed it ("./configure; make; make install").  However, I get the errors:

Linking skin from capture.o codecs.o display.o main.o video.o ../ctrl.o ../ui.o skin_config/linker.cmd..
/opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: library search path "/usr/local/lib" is unsafe for cross-compilation
/opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libxml2.so when searching for -lxml2
/opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libxml2.a when searching for -lxml2
/opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lxml2

Well, I figure I didn't make the library correctly.  So I go back to the "./configure" step of this LIBXML2 and try to figure out how to make it cross compile.  Now I'm stuck.  It doesn't seem to work to simply export CC=/opt/arm-2009q1/bin/arm-none-linux-gnueabi-gcc.  And it doesn't seem to work to run "./configure --host arm-linux".  I just can't figure out how to get this system to (cross-) compile for me.

Thanks,

Helmut