🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16070

Re: lockfile.c -- compile error problem

#16070
From: Bert Hyman
Date: Wed, 19 Mar 1997 00:00
28 lines
1541 bytes
In article <33300E92.3851@ccsd.k12.co.us>, Bill Lowe <bill@ccsd.k12.co.us> wrote:


>i have a compaq proliant 1500 server running Solaris 2.5.1. i am
>currently performing a first time install of INN 1.5.1. ..... i am
>coming up with a compile error during 'make world' that i can't seem to
>beat:
>lockfile.c: In function 'LockFile':
>lockfile.c:43: "LOCK_EX' undeclared (first use this function)
>
>and related error messages,
>lockfile.c:43: "LOCK_NB' undeclared (first use this function)

You must have LOCK_STYLE set to FLOCK in your config.data file.

The sample config.data for Solaris shows it as being set to LOCKF.

A quick scan of /usr/include on a Solaris 2.4 box I've got handy appears to 
show that to be correct.

--
The opinions expressed in this message are my own and are not the opinions of
anyone who does not hold those opinions.
Bert Hyman | Unisys - Roseville MN
bert@rsvl.unisys.com | (612) 635-7791 | net2: 524-7791

Technical Details
Message-ID: <5gp974$aru$1@ernie.rsvl.unisys.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <33300E92.3851@ccsd.k12.co.us>

Show Full Headers
Complete Article Headers
Message-ID: <5gp974$aru$1@ernie.rsvl.unisys.com>
Subject: Re: lockfile.c -- compile error problem
Date: Wed, 19 Mar 1997 00:00:00 +0000
From: bert@rsvl.unisys.com (Bert Hyman)
References: <33300E92.3851@ccsd.k12.co.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 226777707
Distribution: inet
Organization: Unisys - Roseville, MN
Newsgroups: news.software.nntp