lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Lynx 2.8.3.dev6: compilation error


From: Leonid Pauzner
Subject: Re: lynx-dev Lynx 2.8.3.dev6: compilation error
Date: Mon, 16 Aug 1999 11:49:05 +0400 (MSD)

13-Aug-99 22:49 Frederic L. W. Meunier wrote:
> Hi. Trying to compile the latest Lynx with ncurses 5.0.990731, gcc 2.95 
> (binutils
> 2.9.1.0.25) on a RedHat 5.1 I get the following error:
> .. ./LYMainLoop.c
> ./LYMainLoop.c: In function `mainloop':
> ./LYMainLoop.c:1732: warning: implicit declaration of function `set_ws_title'
> ./LYMainLoop.c:1741: `temp_buff' undeclared (first use in this function)
> ./LYMainLoop.c:1741: (Each undeclared identifier is reported only once
> ./LYMainLoop.c:1741: for each function it appears in.)
> ./LYMainLoop.c:1745: warning: implicit declaration of function `str_sjis'
> ./LYMainLoop.c:1745: `sjis_buff' undeclared (first use in this function)
> ./LYMainLoop.c:1746: warning: implicit declaration of function 
> `SetConsoleTitle'
> make[1]: *** [LYMainLoop.o] Error 1

> Lynx was configured with --enable-warnings --with-screen=ncurses 
> --enable-addrlist-page
> --enable-cjk --enable-color-style --enable-default-colors --enable-file-upload
> --enable-justify-elts --enable-prettysrc --enable-read-eta 
> --enable-source-cache
> --enable-externs --enable-font-switch --enable-cgi-links --enable-change-exec
> --enable-exec-links --enable-exec-scripts --enable-nsl-fork

You compile with CJK_EX but without SH_EX (should be OK but there was some
fooling around ifdef'ing since dev~4. Finally fixed after applying the patch
below).

Please applay this patch:


diff -u old/lymainlo.c ./lymainlo.c
--- old/lymainlo.c      Mon Aug 16 11:30:12 1999
+++ ./lymainlo.c        Mon Aug 16 11:35:12 1999
@@ -46,7 +46,6 @@

 #define CHARSET_TRANS 14       /* "Transparent" in LYCharSets.c */

-#ifdef SH_EX
 PRIVATE char *str_sjis(char *to, char *from)
 {
     if (!LYRawMode) {
@@ -60,7 +59,6 @@
     }
     return to;
 }
-#endif

 PUBLIC char *str_kcode(HTkcode code)
 {
@@ -110,14 +108,12 @@
 }


-#ifdef SH_EX
 PRIVATE void set_ws_title(char * str)
 {
 #ifdef WIN_EX
     SetConsoleTitle(str);
 #endif
 }
-#endif

 #endif /* CJK_EX */


> ----------------------------------------------------
> Essa mensagem foi enviada pelo Webmail Urbi Network
> http://www.urbi.com.br/






reply via email to

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