delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/29/20:33:22

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
Date: Wed, 29 Jun 2005 19:32:54 -0500 (CDT)
From: Chris Oxenreider <oxenreid AT state DOT net>
X-X-Sender: oxenreid AT odin DOT pftclub DOT com
Reply-To: oxenreid AT state DOT net
To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Cc: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Build/Compile problems with ApachPHP on Cygwin MS-XP
In-Reply-To: <42C31884.9080807@familiehaase.de>
Message-ID: <Pine.LNX.4.61.0506291720550.6243@bqva.csgpyho.pbz>
References: <Pine DOT LNX DOT 4 DOT 61 DOT 0506241534070 DOT 16426 AT bqva DOT csgpyho DOT pbz> <42C0AF23 DOT 1080706 AT familiehaase DOT de> <Pine DOT LNX DOT 4 DOT 61 DOT 0506291000430 DOT 6243 AT bqva DOT csgpyho DOT pbz> <42C31884 DOT 9080807 AT familiehaase DOT de>
MIME-Version: 1.0

On Wed, 29 Jun 2005, Gerrit P. Haase wrote:

>> My other problem with compiling PHP still persists though.   After
>> modifying the Make file to have libtool go in to debug mode
>> 
>>     LIBTOOL = $(SHELL) $(top_builddir)/libtool --debug --preserve-dup-deps
>> 
>> and modifying the libtool script so that it did not allow undefined
>> symbols by changing all the 'allow_undefined=' lines to 'no'.
>
>
> This is the wrong approach, use the linking flag -no-undefined instead.


Old habits from the days before ./configure die hard.  An era when
modifying the 'Makefile' and/or 'configh.h' was your method of
configuring source for building on a system.


>> /usr/lib/libcygwin.a(libcmain.o):: undefined reference to `_WinMain AT 16'
>> collect2: ld returned 1 exit status
>> make: *** [libphp5.la] Error 1
>
> This is an old libtool, use the latest libtool package available for
> Cygwin (the name is libtool-devel).

The version I have appears to be up to date.  Unless the mirror I am
using (mirrors.kernel.org) is out of date.

$ libtool --version
ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.246 2005/05/16 10:00:18)

When I use the setup.exe program and do a 'full' listing I see a
libtool-devel which is marked as "_obsolete (1.5.10-2)".  I have
libtool1.5 (1.5.18-1) installed from the menu list and this is part of
the "Devel" catagory.   What particular version should I have installed?



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher G. Oxenreider  | We need to find the courage to say NO to
chris DOT oxenreider AT state DOT net | the things and people that are not serving
#include<std_disclaimer.h> | us if we want to rediscover ourselves
                            | and live our lives with authenticity. 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
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