lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Problems linking dos386


From: Doug Kaufman
Subject: Re: LYNX-DEV Problems linking dos386
Date: Thu, 18 Sep 1997 18:43:26 -0700 (PDT)

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.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]