This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ncurses missing link term.h to ncurses/term.h


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 <curses.h> and <term.h>.
/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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]