Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 18 Sep 2002 16:00:19 -0400 From: Jason Tishler Subject: Re: PHP Apache module with PostgreSQL support In-reply-to: To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20020918200019.GC1764@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20020918122303 DOT GD1648 AT tishler DOT net> Andreas, On Wed, Sep 18, 2002 at 09:38:12PM +0200, Andreas wrote: > I read this in (/usr/doc/Cygwin/)php-4.2.0-1.README: > ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \ > -L ../../../.libs -lphp4 \ > [addional -lfoobar ld flags] \ ^^^^^^^^ The above seems important. > /usr/bin/cyghttpd.dll > > I tried: > ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \ > -L ../../../.libs -lphp4 -lpq \ > /usr/bin/cyghttpd.dll > > output: > gcc -shared -o > cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh > ole-archive libsapi.al -Wl,--no-whole-archive -L ../../../.libs -lphp4 -lpq > /usr/bin/cyghttpd.dll > Creating library file: libsapi.dll.a > ../../../.libs/libphp4.a(crypt.lo): In function 'zif_crypt': > /usr/src/php-4.2.0-1/ext/standard/crypt.c:161: undefined reference to > 'crypt' The above implies that you need -lcrypt. > ../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml': > /usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to > '_imp__php_XML_ExpatVersion' > ... The above implies that you need more -l options. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/