Article View: net.micro.mac
Article #7786compiling UW v3.4 on 4.2BSD
From: John Bruner
Date: Tue, 28 Oct 1986 16:04
Date: Tue, 28 Oct 1986 16:04
19 lines
1341 bytes
1341 bytes
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
Technical Details
Message-ID:
<16351@mordor.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!mordor!jdbShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!mordor!jdb From: jdb@mordor.ARPA (John Bruner) Newsgroups: net.micro.mac Subject: compiling UW v3.4 on 4.2BSD Message-ID: <16351@mordor.ARPA> Date: Tue, 28-Oct-86 11:04:41 EST Article-I.D.: mordor.16351 Posted: Tue Oct 28 11:04:41 1986 Date-Received: Tue, 28-Oct-86 21:21:36 EST Organization: S-1 Project, LLNL Lines: 19