C-News ?
Ronald S H Khoo
ronald at robobar.co.uk
Tue Apr 30 20:12:18 AEST 1991
sginn at hlthnt.UUCP (Steve Ginn) writes:
> warning.c (30): error C2143: syntax error: missing ')' before ';'
> warning.c (30): error C2143: syntax error: missing ';' before ';'
>
> 30 fprintf(stderr, "(%s)", strerror(saverrno));
SCO broke string.h by #define'ing strerror in /usr/include/string.h
You can't do it like that.
To fix: edit /usr/include/string.h and delete the line which says
#define strerror(error) /* whatever */
up until the end of the definition.
Then rerun "build" and make sure you tell it that you *don't* have
strerror. The strerror() implementation in libfake/ is good enough
for most normal uses.
--
Ronald Khoo <ronald at robobar.co.uk> +44 81 991 1142 (O) +44 71 229 7741 (H)
More information about the Comp.unix.xenix.sco
mailing list