Problem with cygwin & xerces-2.6

mchojrin@activesec.biz mchojrin@activesec.biz
Wed Dec 1 17:31:00 GMT 2004


Hi:

  I'm developing a c++ application which uses xerces-c2.6
  It works just fine on the Linux Platform, but when I try to make the
binary file under cygwin I get some errors regarding the linking of the
xerces library. I've compiled the sources for the xerces lib following
the instructions on the website and all of the examples compile & run
fine.

  Here's the Makefile I'm using:

CC=g++
LIB_PATH=/home/mchojrin/xerces-c-src_2_6_0/Lib
LIB_NAME=xerces-c
BIN_NAME=main

all: soapC.o soapClient.o stdsoap2.o xmlconfig.o extraconfig.o
actionexecutor.o agentconfig.o action.o agent.o module.o serversock.o
dbfile.o parameter.o command.o actionresult.o serverinterface.o main.o

	$(CC) -D__CYGWIN__ -o$(BIN_NAME) -L$(LIB_PATH) -L/usr/lib -l$(LIB_NAME)
xmlconfig.o extraconfig.o actionexecutor.o agentconfig.o action.o agent.o
module.o serversock.o dbfile.o parameter.o command.o serverinterface.o
actionresult.o soapC.o soapClient.o stdsoap2.o main.o


.cpp.o:
	$(CC) -w -O -DAPP_NO_THREADS -DXML_USE_NO_THREADS -c -D__CYGWIN__ -I.
-I/include $<

clean:
	rm *.o

  Can anybody tell me what I'm doing wrong? Thanks!




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list