[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Lynx compile time error on AIX
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV Lynx compile time error on AIX |
Date: |
Sat, 18 Oct 1997 08:45:38 -0500 (CDT) |
On Fri, 17 Oct 1997, Jim Chivas wrote:
> Greetings: I have added below a script capture of the ./config and then
> make. If you look at the last few lines in this email you will see an
> error message I don't know what to do with.
>
> Can you offer any help or suggestions?
>
> Thanks
>
> Jim
[ big snip ]
> gcc -DHAVE_CONFIG_H -I.. -I../WWW/Library/Implementation -O2 -DAIX4
> -D_BSD=44 -c ./LYLocal.c
>
> ./LYLocal.c: In function `LYExecv':
> ./LYLocal.c:2242: request for member `w_status' in something not a structure
> or union
> ./LYLocal.c:2242: request for member `w_status' in something not a structure
> or union
> ./LYLocal.c:2243: request for member `w_status' in something not a structure
> or union
> ./LYLocal.c:2243: request for member `w_status' in something not a structure
> or union
> ./LYLocal.c:2243: request for member `w_status' in something not a structure
> or union
> make: 1254-004 The error code from the last command is 1.
There is something wrong with the logic about HAVE_TYPE_UNIONWAIT and
HAVE_WAITPID and AIX4 it seems. I hope Tom can look into it.
Apparently WEXITSTATUS and WTERMSIG expect a (union wait) argument but
configure and the logic in LYLocal.c have decided to make wstatus an it.
In the meantime you should be able to compile by moving the line
#endif /* DIRED_SUPPORT */
from before
PUBLIC int LYExecv ARGS3(
in src/LYLocal.c to the very end of the file and running configure with
the --disable-dired flag (you obviously then won't get the dired disk
functions).
Or you might just remove the lines
if (WEXITSTATUS(wstatus) != 0 ||
WTERMSIG(wstatus) > 0) { /* error return */
sprintf(tmpbuf, "Probable failure to %s due to system error!",
msg);
rc = 0;
}
with the effect that some errors from dired functions won't get
detected.
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;