delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/19/13:01:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3E78B06E.9040808@N.O.S.P.A.M.cip.wiwi.uni-karlsruhe.de>
Date: Wed, 19 Mar 2003 19:01:18 +0100
From: Huijing Zhou <hj AT N DOT O DOT S DOT P DOT A DOT M DOT cip DOT wiwi DOT uni-karlsruhe DOT de>
Organization: University of Karlsruhe
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3; MultiZilla v1.4.0.0) Gecko/20030312
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin binary of lftp 2.6.5?
References: <3E76BA13 DOT 4020007 AT cip DOT wiwi DOT uni-karlsruhe DOT de> <20030318160852 DOT GA16495 AT bklyn DOT org> <3E774B7C DOT 9030808 AT cip DOT wiwi DOT uni-karlsruhe DOT de> <20030318164135 DOT GB16495 AT bklyn DOT org> <3E77C405 DOT 3020004 AT cip DOT wiwi DOT uni-karlsruhe DOT de> <20030319012731 DOT GB1330 AT redhat DOT com>
In-Reply-To: <20030319012731.GB1330@redhat.com>

> Absolutely.  There is no reason why building with -mno-cygwin package
> would have any effect on any Windows DLLs unless you attempt the
> standard thinko of trying to mix cygwin and non-cygwin DLLs or
> libraries.  You can't do this by default but if you add cygwin libraries
> to the gcc command line you can get into trouble.

In my case, "./configure" was fine, and "make" stopped here:

/bin/bash ../libtool --silent --mode=link gcc  -O2 -Wall -Wwrite-strings
-Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines
-Winline  -s -o lftp.exe -export-dynamic  lftp.o complete.o lftp_rl.o
libjobs.a libtasks.a libnetwork.la proto-ftp.la proto-http.la
proto-file.la proto-fish.la cmd-mirror.la cmd-sleep.la -lreadline
../lib/liblib.a -lssl -lcrypto -lintl -lutil -lcurses -lsupc++
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)
(.text+0x7c): undefined reference to `_WinMain AT 16'
collect2: ld returned 1 exit status
../libtool: line 6: .libs/impgen: No such file or directory
make[1]: *** [lftp.exe] Error 127
make[1]: Leaving directory `/home/tmp/lftp-2.6.5/src'
make: *** [all-recursive] Error 1

And I can see two files "impgen.c" and "cygintl-2.dll-def" in 
"src/.lib", both 0 byte.

Does this say anything?

Huijing

-- 
Huijing Zhou <hj AT N DOT O DOT S DOT P DOT A DOT M DOT cip DOT wiwi DOT uni-karlsruhe DOT de>
CIP Computer Lab, Faculty of Economics
University of Karlsruhe, Germany
http://www2.wiwi.uni-karlsruhe.de


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

- Raw text -


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