Ah, yes. Good hint. Compilation runs now but linking is bad:
linking: -------- g++ -I/xerces/xerces-c-src2_2_0/include -L/xerces/xerces-c-sr 2_2_0/lib -lxerces-c \ -o DomParse DOMPrintErrorHandler.o DOMTreeErrorReporter.o DomParse.o
/bin/ld: warning: libstdc++.so.5, needed by /user/abt/xerces/xerces-c-src2_2_0/l ib/libxerces-c.so, may conflict with libstdc++.so.2.7.1
libstdc++.so.5 is installed! ---------------------------- /usr/local/lib: -rw-r--r-- 1 root other 8522420 Feb 3 17:08 libstdc++.a -rwxr-xr-x 1 root other 1334 Feb 3 17:08 libstdc++.la* lrwxrwxrwx 1 root other 18 Feb 3 17:08 libstdc++.so -> libstdc++.so.5.0.0* lrwxrwxrwx 1 root other 18 Feb 3 17:08 libstdc++.so.5 -> libstdc++.so.5.0.0* -rwxr-xr-x 1 root other 2396293 Feb 3 17:08 libstdc++.so.5.0.0*
Makefile: --------- CFLAGS = INCLUDE_DIR = /user/abt/xerces/xerces-c-src2_2_0/include LIB_DIR = /user/abt/xerces/xerces-c-src2_2_0/lib
SRC = DOMPrintErrorHandler.cpp DOMTreeErrorReporter.cpp DomParse.cpp
OBJ = DOMPrintErrorHandler.o DOMTreeErrorReporter.o DomParse.o
#---------------------------------------------------------------- # use g++ #---------------------------------------------------------------- COMPILER = g++
all : $(OBJ)
$(COMPILER) $(CFLAGS) -I$(INCLUDE_DIR) -L$(LIB_DIR) -lxerces-c -o DomParse
$(OBJ)
#---------------------------------------------------------------- # object files #---------------------------------------------------------------- DomParse.o : DomParse.cpp \ DOMTreeErrorReporter.hpp \ DOMPrintErrorHandler.hpp $(COMPILER) -c $(CFLAGS) -I$(INCLUDE_DIR) -L$(LIB_DIR) -o DomParse.o DomParse.cpp
DOMPrintErrorHandler.o : DOMPrintErrorHandler.cpp
$(COMPILER) -c $(CFLAGS) -I$(INCLUDE_DIR) -L$(LIB_DIR) -o
DOMPrintErrorHandler.o DOMPrintErrorHandler.cppDOMTreeErrorReporter.o : DOMTreeErrorReporter.cpp
$(COMPILER) -c $(CFLAGS) -I$(INCLUDE_DIR) -L$(LIB_DIR) -o
DOMTreeErrorReporter.o DOMTreeErrorReporter.cpp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
