Note: If this posting is in repeat of a previous one I apologize.
Here is the description of the problem:
My system is running Red Hat Linux 9. I downloaded libxml2-2.6.10.tar.gz into the /opt directory. Then I proceeded to gunzip it into the /opt/libxml2-2.6.10 directory. I opened an xterm where I typed the following: CC=arm-linux-gcc; ./configure; Make - as was suggested to me by Daniel Veillard
I expected that the library be built and put into the /usr/local/lib which is the default directory for the built binary right? > Unfortunately, it wasn't there.
I also noticed that the Makefile never got changed to use CC=arm-linux-gcc. Instead, it still had CC=gcc. Does this mean that The built library is not an arm-linux library? The linker also needs to be arm-linux-ld not ld. If modify the Makefile by changing CC=gcc to CC=arm-linux-gcc, I get the following errors:
make all-recursive make[1]: Entering directory `/opt/libxml2-2.6.10' Making all in include make[2]: Entering directory `/opt/libxml2-2.6.10/include' Making all in libxml make[3]: Entering directory `/opt/libxml2-2.6.10/include/libxml' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/libxml2-2.6.10/include/libxml' make[3]: Entering directory `/opt/libxml2-2.6.10/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/opt/libxml2-2.6.10/include' make[2]: Leaving directory `/opt/libxml2-2.6.10/include' Making all in . make[2]: Entering directory `/opt/libxml2-2.6.10' if /bin/sh ./libtool --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -Wall -MT SAX.lo -MD -MP -MF ".deps/SAX.Tpo" -c -o SAX.lo SAX.c; \ then mv -f ".deps/SAX.Tpo" ".deps/SAX.Plo"; else rm -f ".deps/SAX.Tpo"; exit 1; fi libtool: compile: unable to infer tagged configuration make[2]: Leaving directory `/opt/libxml2-2.6.10' make[1]: Leaving directory `/opt/libxml2-2.6.10'
|