[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Problems linking dos386
From: |
Bill Schiavo |
Subject: |
Re: LYNX-DEV Problems linking dos386 |
Date: |
Fri, 19 Sep 1997 01:39:15 -0400 (EDT) |
Hello everyone. For the last few days, I have been helping Mr. Hasan
Karahasan build and compile Lynx and for the most part, it wend well but
for some reason, he discontinued or refused to work with me. Thanks,
doug. I forgot that I also applied the patches attached to this message
and that is why he is getting lots of undefined symbols, naturally. The
version of PDCurses he is using is 2.23 beta dated 05-28 so applying the
patches should go well for him. Also, I accidently gave him a broken
makefile and it caused other problems that were subsequently fixed.
If Mr. Karahasan wants to work with me, all he needs to do is contact me
via e-mail and I will help him until he gets a running executable.
Regards!
On Thu, 18 Sep 1997, Doug Kaufman wrote:
> On 18 Sep 1997, Hasan Karahasan wrote:
>
> > c:\lynx2-7-\src>make -s -f MAKEFILE.DOS Compiling Lynx sources Linking and
> > creating Lynx executable c:/djgpp/lib/libc.a(conio.o)(.text+0x640):conio.c:
> > multiple definition of `unget ch'
> > ../curses/pdcurses.a(getch.o)(.text+0x2a8):getch.c: first defined here
> > make.exe: *** [lynx] Error 1
> You didn't state which version of PDCurses you are using. For the beta
> version of PDCurses 2.3, the following patches, previously reported to
> this list, work. I can't help with PDCurses 2.2. To get the latest
> PDCurses see Mark Hessling's home page at:
> "http://www.lightlink.com/hessling/".
> Doug
>
>
> *** pdcurses/getch.c wed jul 2 21:45:38 1997
> --- pdcurses/getch.c.new wed jul 2 21:45:40 1997
> ***************
> *** 114,119 ****
> --- 114,120 ----
>
> /* this define to get around dos libraries conflict */
> #define getch pdc_getch
> + #define ungetch pdc_ungetch
> /***********************************************************************/
> #ifdef have_proto
> int pdc_cdecl pdc_getch(void)
> ***************
> *** 369,377 ****
> }
> /***********************************************************************/
> #ifdef have_proto
> ! int PDC_CDECL ungetch(int ch)
> #else
> ! int PDC_CDECL ungetch(ch)
> int ch;
> #endif
> /***********************************************************************/
> --- 370,378 ----
> }
> /***********************************************************************/
> #ifdef HAVE_PROTO
> ! int PDC_CDECL PDC_ungetch(int ch)
> #else
> ! int PDC_CDECL PDC_ungetch(ch)
> int ch;
> #endif
> /***********************************************************************/
> *** dos/pdckbd.c Wed Jul 2 21:45:44 1997
> --- dos/pdckbd.c.new Wed Jul 2 21:45:46 1997
> ***************
> *** 443,449 ****
> _watch_breaks();
> #else
> # ifdef GO32
> ! /* (void*)signal(SIGINT,(setting ? SIG_DFL : SIG_IGN));*/
> /* __djgpp_set_ctrl_c(setting);*/
> setcbrk(setting);
> # else
> --- 443,449 ----
> _watch_breaks();
> #else
> # ifdef GO32
> ! (void*)signal(SIGINT,(setting ? SIG_DFL : SIG_IGN));
> /* __djgpp_set_ctrl_c(setting);*/
> setcbrk(setting);
> # else
>
>
> *** curses.h Fri Aug 15 23:26:56 1997
> --- curses.h.new Tue Sep 2 23:11:48 1997
> ***************
> *** 1753,1758 ****
> --- 1753,1759 ----
> #define getbegx(w) (w)->_begx
> #define getbegy(w) (w)->_begy
> #define getbegyx(w,y,x) ( y = (w)->_begy, x = (w)->_begx )
> + #define getbkgd(win) ((win)->_bkgd)
> #define getch() wgetch(stdscr)
> #define getmaxx(w) (w)->_maxx
> #define getmaxy(w) (w)->_maxy
>
> __
> Doug Kaufman
> Internet: address@hidden (preferred)
> address@hidden
>
> ;
> ; To UNSUBSCRIBE: Send a mail message to address@hidden
> ; with "unsubscribe lynx-dev" (without the
> ; quotation marks) on a line by itself.
> ;
>
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;