jdb@mordor.ARPA (John Bruner) (10/28/86)
I've received mail from several people who are having trouble compiling UW (now available in "mod.mac.sources") on a 4.2BSD machine. The problem occurs when compiling the server source file "uw_pcl.c" at or around line 63. Some versions of the Portable C compiler, apparently including (at least some versions of) the 4.2BSD compiler for the VAX, do not fully support "void" datatypes. The source code is correct, but the compiler incorrectly issues an error. I know that this problem is fixed in 4.3BSD and on Sun UNIX (since it didn't fail for me during development). If your compiler is broken in this fashion, the easiest way around the problem is to add "-Dvoid=int" to CFLAGS in the "Makefile". -- John Bruner (S-1 Project, Lawrence Livermore National Laboratory) MILNET: jdb@mordor [jdb@s1-c.ARPA] (415) 422-0758 UUCP: ...!ucbvax!decwrl!mordor!jdb ...!seismo!mordor!jdb