[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: Lynx .IDE file for Borland C ++
From: |
Vlad Harchev |
Subject: |
Re: lynx-dev Re: Lynx .IDE file for Borland C ++ |
Date: |
Sat, 8 Jan 2000 14:08:41 +0400 (SAMT) |
On Wed, 5 Jan 2000, Mike Bledig wrote:
> Ok! yea! All most there! :-)
>
> I've used bc5.0 to tri and compile the Lynx source. But during the
> linking stage, I get the following errror:
> Error: Unresolved external '_current_codepage' referenced from
> module src/lycurses.c
> Error: Unresolved external '_errno' referenced from module gzio.c
>
> ** error 1 ** deleting lynx.exe
>
> Original messsage
> From: Hiroyuki Senshu <address@hidden>
> Date sent: Wed, 05 Jan 2000 19:42:34 +0900
> To: address@hidden
>
> > This is because it is the form which isn't supported in Bcc32 ver
> > 4.x(?) .
> >
> > #if 0 ... #endif is to try to surround it at present with Lynx
> > because w32_strerror() isn't being used.
> >
> > __Hiroyuki
> >
>
The 'current_codepage' is referenced in the following code fragement in
LYCurses.c:
#if defined(WIN_EX) && defined(CJK_EX) /* 1999/08/26 (Thu) 17:53:38 */
{
extern int current_codepage; /* PDCurses lib. */
if (current_codepage == 932)
LYcols = COLS - 1;
}
#endif
Just hide this fragment from compiler - eg change 1st line to
#if 0 && defined(WIN_EX) && defined(CJK_EX) /* 1999/08/26 (Thu) 17:53:38 */
You don't need this fragment.
As for _errno - I haven't encountered this problem (I used BCB 3.0).
Does borland C 5.0 has <errno.h>?
If yes, then (this is my guess) modify zutil.h
to include <errno.h> unconditionally. By default, it contains:
#ifdef NO_ERRNO_H
extern int errno;
#else
# include <errno.h>
#endif
and it looks like NO_ERRNO_H is definied for some reason.
HTH
Best regards,
-Vlad
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, T.E.Dickey, 2000/01/04
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Hiroyuki Senshu, 2000/01/04
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Mike Bledig, 2000/01/04
- lynx-dev Re: Lynx .IDE file for Borland C ++, Webmaster Jim, 2000/01/04
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Mike Bledig, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Hiroyuki Senshu, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Mike Bledig, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Hiroyuki Senshu, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++,
Vlad Harchev <=
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Klaus Weide, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Hiroyuki Senshu, 2000/01/05
- lynx-dev current_codepage in WIN_EX&&CJK_EX (was: Lynx .IDE file for Borland C ++), Klaus Weide, 2000/01/05
- lynx-dev current_codepage in WIN_EX&&CJK_EX (was: Lynx .IDE file for Borland C ++), Klaus Weide, 2000/01/06
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Vlad Harchev, 2000/01/05
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Mike Bledig, 2000/01/06
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Vlad Harchev, 2000/01/06
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Mike Bledig, 2000/01/07
- Re: lynx-dev Re: Lynx .IDE file for Borland C ++, Vlad Harchev, 2000/01/08
- lynx-dev Re: Lynx .IDE file for Borland C ++, Webmaster Jim, 2000/01/06