lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV parse error


From: RamNarayan S
Subject: Re: LYNX-DEV parse error
Date: Thu, 28 Aug 1997 23:34:40 +0500 (IST)

On Thu, 28 Aug 1997, Giovanna Pavarani wrote:

Hi,

> i'm trying to compile lynx2-7-1 on my ultra solaris2.5.
> Everything goes well just before Compiling Lynx sources, there this
> is what i get:
> 
> Compiling Lynx sources
> gcc -O -DFANCY_CURSES -DUNIX -DSVR4 -DSOLARIS2 -DCURS_PERFORMANCE
> -DUTMPX_FOR_UTMP -DUSE_DIRENT -DLOCALE -DHAVE_TERMIOS_H
> -I../WWW/Library/Implementation -DDIRED_SUPPORT -DARCHIVE_ONLY -DSOCKS -I..
> -c LYClean.c -o LYClean.o

> In file included from LYCurses.h:49,
>                  from LYClean.c:3:
> /usr/include/curses.h:321: parse error before `__va_list'
> /usr/include/curses.h:322: parse error before `__va_list'
> make[1]: *** [LYClean.o] Error 1
> make[1]: Leaving directory `/utenti/pavarang/tar/lynx2-7-1/src'
> make: *** [solaris2] Error 1
> 
> i tried with no FANCY_COURSES, same thing.
> i tried to include stdarg.h or varargs.h, it doesn't seem help

Hit the same problem when compiling with HP-UX. Looks like the varargs.h
definitions used are quite incompatible with those in the OS library
headers. I modified my GCC_INCLUDE paths to point to the Gnu library
headers and the compile  went through  fine.  If you don't have Gnu's header
files, you might have to muck around explicitly with the header files to get
around this.

Any one looking into this aspect of conditional compile ? There seem to be
some problems with the varargs.h file with HP-UX/Solaris.

RamNarayan S
+----------------------+-----------------------+--{ o o }--+---------------+
| <<< RamNarayan S >>> |  address@hidden  |    \ /    | HASTEN SLOWLY |
+----------------------+-----------------------+-----Y-----+---------------+
| In that sweet mood when pleasant thoughts bring sad   thoughts   to  the |
| mind.                                       - William Wordsworth         |
+--------------------------------------------------------------------------+

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