delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | Re: broken ncurses-installation |
References: | <87g0epjj8f DOT fsf AT mybaby DOT home DOT felix> |
<687389018 DOT 20010501174234 AT logos-m DOT ru> | |
From: | Felix Natter <f DOT natter AT ndh DOT 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 |
egor duda <deo AT logos-m DOT ru> writes: > Hi! > > Tuesday, 01 May, 2001 Felix Natter f DOT natter AT ndh DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |