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 Message-ID: <3D9B3FAE.2040505@mkco.ro> Date: Wed, 02 Oct 2002 20:49:18 +0200 From: George Lefter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20020929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: ncurses missing link term.h to ncurses/term.h Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Oct 2002 18:49:14.0468 (UTC) FILETIME=[67635A40:01C26A44] hi. i'm trying to compile lftp-2.6.2, but i have run into some problems: 1. the man page for setupterm says to #include and . /usr/include/curses.h is a link to /usr/include/ncurses/curses.h, but but there is no /usr/include/term.h. i've fixed this linking /usr/include/term.h to /usr/include/ncurses/term.h the version of ncurses is 5.2-8 2. multiple warnings like: /bin/bash ../libtool --silent --mode=link gcc -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -s -o libnetwork.la -avoid-version -rpath /usr/local/lftp/lib/lftp/2.6.2 NetAccess.lo Resolver.lo lftp_ssl.lo buffer_ssl.lo -lssl -lcrypto -lutil -lcurses -lsupc++ libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries ..which finally lead to: gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O2 -Wall -c `test -f 'lftp_rl.c' || echo './'`lftp_rl.c /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 libnet work.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+0x81) : 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 `/usr/local/src/lftp-2.6.2/src' make: *** [all-recursive] Error 1 any advice? how can i find out what these undefined symbols are? -- 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/