[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV parse error
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV parse error |
Date: |
Thu, 28 Aug 1997 14:19:40 -0400 (EDT) |
> > 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:
...
> > /usr/include/curses.h:321: parse error before `__va_list'
> > /usr/include/curses.h:322: parse error before `__va_list'
...
> Hit the same problem when compiling with HP-UX. Looks like the varargs.h
...
> Any one looking into this aspect of conditional compile ? There seem to be
> some problems with the varargs.h file with HP-UX/Solaris.
probably gcc was configured (and built) for an older version of
HP-UX/Solaris. I've seen that several times before -it would explain your
success in pointing it directly to its shadow headers. For instance, my
ISP had Solaris 2.4 and 2.5 running, with gcc compiled for 2.4 - so I could
not compile curses applications on 2.5 because it had a header mismatch.
It's easy to see if you look at the directory-structure, since gcc
has the canonical version embedded, e.g.,
/usr/local
| |---lib/
| | |---gcc-lib/
| | | |---sparc-sun-solaris2.3/
| | | | |---2.5.8/
| | | | |---2.7.0/
| | | | | |---include/
| | | |---sparc-sun-solaris2.5/
| | | | |---2.7.2/
| | | | | |---include/
(it's not something that we should address in the configure script)
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;