For posixmodule to build, certain system call functions like mkdir()
need to have been declared. (Because they're passed by reference,
rather than invoked directly.)
I don't have any SunOS 4.1.3 on which to check this, but I bet unistd.h
does in fact declare mkdir(), and the problem is that gcc is using its
own include files, which for some reason don't.
Unless there's some reason why the vendor's C compiler is not able to do
what you want, maybe you should avoid gcc.
Donn Cave, University Computing Services, University of Washington
donn@cac.washington.edu