Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: cygwin@cygwin.com
Subject: Re: broken ncurses-installation
References: <87g0epjj8f.fsf@mybaby.home.felix>
	<687389018.20010501174234@logos-m.ru>
From: Felix Natter <f.natter@ndh.net>
Date: 02 May 2001 17:24:42 +0200
In-Reply-To: <687389018.20010501174234@logos-m.ru>
Message-ID: <8766fjpydh.fsf@mybaby.home.felix>
Lines: 20
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

egor duda <deo@logos-m.ru> writes:

> Hi!
> 
> Tuesday, 01 May, 2001 Felix Natter f.natter@ndh.net wrote:
> 
> FN> hi,
> 
> FN> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
> =>> undefined reference to endwin ...
this should be:
        gcc -lcurses -static -DNCURSES_STATIC -o test_curses.exe test_curses
> you want to add '-lcurses' to the command line, just like it's being
> done on Linux.

Sorry, once again I forgot to mention this. Of course I added -lcurses to
the line (I also tried to list the static library with the full path).

-- 
Felix Natter

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

