[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV help -> compiling lynx on linux
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV help -> compiling lynx on linux |
Date: |
Wed, 1 Apr 1998 05:21:15 -0500 (EST) |
> I receive this messages when compiling lynx 2.7.2 in a linux 2.0.27:
scrollok is a macro in BSD curses.h, but a function in ncurses curses.h
-- so it looks like you are picking up the header for the latter, while
linking with the library for the former. (just a guess).
> cd WWW/Library/unix; make CC="gcc" LYFLAGS="-DLINUX -DNSL_FORK \
> -DDIRED_SUPPORT -DLONG_LIST "
> make[1]: Entering directory `/home/jacques/work/lynx2-7-2/WWW/Library/unix'
> make[1]: `../../Library/unix/libwww.a' is up to date.
> make[1]: Leaving directory `/home/jacques/work/lynx2-7-2/WWW/Library/unix'
> cd src; make all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX \
> -DNO_KEYPAD -DNO_TTYTYPE \
> -I../WWW/Library/Implementation -DDIRED_SUPPORT -DOK_TAR -DOK_ZIP
> -DOK_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT " \
> LIBS="-lcurses -ltermcap \
> " \
> WWWLIB="../WWW/Library/unix/libwww.a"
> make[1]: Entering directory `/home/jacques/work/lynx2-7-2/src'
> Compiling Lynx sources
> cd chrtrans; make MCFLAGS="-O -DUNIX -DLINUX -DNO_KEYPAD -DNO_TTYTYPE
> -I../WWW/Library/Implementation -DDIRED_SUPPORT -DOK_TAR -DOK_ZIP -DOK_GZIP
> -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT " CC="gcc" tables
> make[2]: Entering directory `/home/jacques/work/lynx2-7-2/src/chrtrans'
> make[2]: Nothing to be done for `tables'.
> make[2]: Leaving directory `/home/jacques/work/lynx2-7-2/src/chrtrans'
> Linking and creating Lynx executable
> gcc -O -DUNIX -DLINUX -DNO_KEYPAD -DNO_TTYTYPE
> -I../WWW/Library/Implementation -DDIRED_SUPPORT -DOK_TAR -DOK_ZIP -DOK_GZIP
> -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT -I.. -o lynx LYClean.o
> LYShowInfo.o LYEdit.o LYStrings.o LYMail.o HTAlert.o GridText.o LYGetFile.o
> LYMain.o LYMainLoop.o LYCurses.o LYBookmark.o LYUtils.o LYOptions.o
> LYReadCFG.o LYSearch.o LYHistory.o LYForms.o LYPrint.o LYrcFile.o
> LYDownload.o LYNews.o LYKeymap.o HTML.o HTFWriter.o HTInit.o DefaultStyle.o
> LYLocal.o LYUpload.o LYLeaks.o LYexit.o LYJump.o LYList.o LYCgi.o
> LYTraversal.o LYEditmap.o LYCharSets.o LYCharUtils.o LYMap.o LYCookie.o
> UCdomap.o UCAux.o UCAuto.o ../WWW/Library/unix/libwww.a -lcurses -ltermcap
> LYMail.o: In function `reply_by_mail':
> LYMail.o(.text+0x17f8): undefined reference to `scrollok'
> LYMail.o(.text+0x1d28): undefined reference to `scrollok'
> LYMail.o(.text+0x2009): undefined reference to `scrollok'
> LYMail.o(.text+0x21e4): undefined reference to `scrollok'
> LYMail.o(.text+0x228c): undefined reference to `scrollok'
> LYMail.o(.text+0x23d6): more undefined references to `scrollok' follow
> GridText.o: In function `display_page':
> GridText.o(.text+0x12fb): undefined reference to `clearok'
> LYMainLoop.o: In function `mainloop':
> LYMainLoop.o(.text+0x34a8): undefined reference to `clearok'
> LYCurses.o: In function `LYbox':
> LYCurses.o(.text+0x21): undefined reference to `wborder'
> LYBookmark.o: In function `select_multi_bookmarks':
> LYBookmark.o(.text+0xbf4): undefined reference to `clearok'
> LYBookmark.o: In function `select_menu_multi_bookmarks':
> LYBookmark.o(.text+0xff1): undefined reference to `clearok'
> LYOptions.o: In function `options':
> LYOptions.o(.text+0xb9): undefined reference to `clearok'
> LYOptions.o: In function `boolean_choice':
> LYOptions.o(.text+0x24a1): undefined reference to `clearok'
> LYOptions.o: In function `edit_bookmarks':
> LYOptions.o(.text+0x2bd1): undefined reference to `clearok'
> LYOptions.o: In function `popup_choice':
> LYOptions.o(.text+0x33c5): undefined reference to `scrollok'
> LYOptions.o(.text+0x3ce9): undefined reference to `clearok'
> LYForms.o: In function `popup_options':
> LYForms.o(.text+0xbc1): undefined reference to `scrollok'
> LYForms.o(.text+0x1449): undefined reference to `clearok'
> LYNews.o: In function `LYNewsPost':
> LYNews.o(.text+0x191): undefined reference to `scrollok'
> LYNews.o(.text+0x615): undefined reference to `scrollok'
> LYNews.o(.text+0x803): undefined reference to `scrollok'
> LYNews.o(.text+0xb38): undefined reference to `scrollok'
> HTFWriter.o: In function `HTFWriter_free':
> HTFWriter.o(.text+0x194): undefined reference to `clearok'
> make[1]: *** [lynx] Error 1
> make[1]: Leaving directory `/home/jacques/work/lynx2-7-2/src'
> make: *** [linux] Error 2
>
> --------
> Can anyone help me?
>
> --
> * Jacques Maciel * <PGP Key available>
> SysAdmin Painet Informatica.
> address@hidden
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey