delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/01/12:32:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <1071.201.252.23.241.1101922259.squirrel@www.activesec.biz>
Date: Wed, 1 Dec 2004 14:30:59 -0300 (ART)
Subject: Problem with cygwin & xerces-2.6
From: <mchojrin AT activesec DOT biz>
To: <cygwin AT cygwin DOT com>
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019