Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!ubc-cs!alberta!atha!aupair.cs.athabascau.ca!lyndon From: lyndon@cs.athabascau.ca (Lyndon Nerenberg) Newsgroups: comp.mail.misc Subject: Re: Compiling smail 3.1.19 on SunOS 4.1 Message-ID: <233@aupair.cs.athabascau.ca> Date: 30 Aug 90 18:36:09 GMT References: <2062@bambam.UUCP> Distribution: comp Organization: Athabasca University Lines: 58 pashdown@shotput.es.com@bambam.UUCP (Pete Ashdown) writes: >I've been able to compile smail under SunOS 4.0.3 with no real problems, but >now that I've updated to 4.1, I get this error: >"spool.c", line 277: F_TLOCK undefined >"spool.c", line 395: F_TLOCK undefined >"spool.c", line 442: F_ULOCK undefined >"spool.c", line 1006: F_TLOCK undefined >*** Error code 1 >make: Fatal error: Command failed for target `spool.o' >Does anyone know a fix for this? Yup. (This is an UNOFFICIAL patch, although it has been submitted to bugs-smail.) *** /tmp/,RCSt1a02951 Mon Aug 20 16:58:55 1990 --- src/spool.c Mon Aug 20 16:57:33 1990 *************** *** 53,59 **** # include #endif #ifdef UNIX_BSD ! # include #endif #ifdef STANDALONE --- 53,63 ---- # include #endif #ifdef UNIX_BSD ! # ifdef UNIX_SUN_OS_4 ! # include ! # else /* not UNIX_SUN_OS_4 */ ! # include ! # endif /* not UNIX_SUN_OS_4 */ #endif #ifdef STANDALONE *** /tmp/,RCSt1a02956 Mon Aug 20 16:59:11 1990 --- src/sysdep.c Mon Aug 20 16:57:36 1990 *************** *** 61,66 **** --- 61,69 ---- #ifdef UNIX_BSD # include + # ifdef UNIX_SUN_OS_4 + # include + # endif /* UNIX_SUN_OS_4 */ # include #else # include -- Lyndon Nerenberg VE6BBM / Computing Services / Athabasca University {alberta,cbmvax,mips}!atha!lyndon || lyndon@cs.athabascau.ca Practice Safe Government Use Kingdoms