[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Compilation error
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV Compilation error |
Date: |
Thu, 11 Sep 1997 20:24:00 -0500 (CDT) |
On Thu, 11 Sep 1997, Francisco A. Tomei Torres wrote:
> Hello,
>
> I tried to compile the latest lynx development version under
> NeXTstep/OpenStep 4.0, and failed.
>
> >
> ./LYLocal.c: In function `LYExecv':
> ./LYLocal.c:2233: request for member `w_status' in something not a
> structure or union
> ./LYLocal.c:2234: request for member `w_status' in something not a
> structure or union
> make[1]: *** [LYLocal.o] Error 1
> make[1]: Leaving directory `/private/Net/sandburg/root/temp/lynx2-7-1/src'
> make: *** [all] Error 2
Those messages are about the last tow lines the following section:
#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID
while (wait(&wstatus) != pid)
; /* do nothing */
#else
waitpid(pid, &wstatus, 0); /* wait for child */
#endif
if (WEXITSTATUS(wstatus) != 0 ||
WTERMSIG(wstatus) > 0) { /* error return */
The #if line has recently changed (between ac-0.61 amd 0.62), before that
the line was
#if defined(NeXT) || defined(AIX4) || defined(sony_news)
It seems that HAVE_TYPE_UNION_WAIT should be defined for you but isn't.
Try adding the line
#define HAVE_TYPE_UNION_WAIT 1
to the lynx_cfg.h after you have run ./configure (which creates that
file).
Tom: There seems to be an inconsistency in the configure files, in some
places HAVE_TYPE_UNIONWAIT appears instead of HAVE_TYPE_UNION_WAIT.
Neither of them is in config.hin.
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV Compilation error, Francisco A. Tomei Torres, 1997/09/09
- Re: LYNX-DEV Compilation error, Klaus Weide, 1997/09/09
- Message not available
- LYNX-DEV Compilation error, Francisco A. Tomei Torres, 1997/09/10
- Re: LYNX-DEV Compilation error, T.E.Dickey, 1997/09/10
- Re: LYNX-DEV Compilation error, Klaus Weide, 1997/09/10
- Message not available
- Re: LYNX-DEV Compilation error, Francisco A. Tomei Torres, 1997/09/10
- Re: LYNX-DEV Compilation error, T.E.Dickey, 1997/09/11
- Re: LYNX-DEV Compilation error, RamNarayan S, 1997/09/14
Message not available