X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0	tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SARE_TO_EMPTY,TW_BX,TW_IB,TW_LX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
Date: Tue, 27 Jul 2010 18:42:12 +0200
From:  cygwin.20.maillinglist@spamgourmet.com
Message-ID: <20100727164212.97850@gmx.net>
MIME-Version: 1.0
Subject: ld didn't find self compiled libxml
To:  "cygwin@cygwin.com" <>
X-Spamgourmet:
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi folks

I'm not an expert on compiling things for cygwin. Normally configure, make, make install work fine. But not now.

I tried to compile a program which needs libxml support.

I compiled and installed the libxml myself. While running configure everything is ok. The libxml is found. But when I try to build the program
I get the following error.

-------------------------------------------------------
$ make
make  all-am
make[1]: Entering directory `/cygdrive/c/pm/fromsource/xml2-0.4'
gcc  -g -O2   -o xml2.exe  xml2.o -lxml
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lxml
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [xml2.exe] Fehler 1
make[1]: Leaving directory `/cygdrive/c/pm/fromsource/xml2-0.4'
make: *** [all] Fehler 2
-------------------------------------------------------

What could I do that the libxml is linked to the program?
Must I convert the libxml to a dll?

Thank for any hint
   Franz



-- 
IMPORTANT
I will read replies only from the mailing list. 
If you send me email directly it will be deleted.


Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail


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

