Re: pmwho (10 ports)
Johan Persson (Johan.Persson@abc.se)
Thu, 21 Sep 1995 05:30:39 +0200 (DST)
>
> On Sep 20 at 22:21, Johan.Persson@abc.se (Johan Persson) writes:
>
> Thanks for the new source, but I'm having trouble compiling under SunOS
> 4.x, compiling as you suggest with -DSUNOS4.
>
> I needed to comment out the inclusion of <stdarg.h> because that file
> doesn't exist. I got lots of errors so I tracked down some of the
> missing functions and added <stddef.h> and <varargs.h>, but I'm still
> getting errors:
>
> Script started on Wed Sep 20 14:16:31 1995
> denwa [/usr2/src/pmwho] 51 >cc -DSUNOS4 pmwho.c -o pmwho
> pmwho.c: 507: va_start: argument mismatch
> pmwho.c: 519: va_start: argument mismatch
> "pmwho.c", line 190: syntax error at or near type word "int"
> ...
You don't need to add anything to the program, what you however need is an
ANSI-C compiler (such as gcc, acc, ...). Must have forgotten to mention that
in the comments but I sort of took that for granted.
/jp