Subject: Re: joe
To: Christer Solskogen <solskogen@carebears.mine.nu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/19/2004 09:02:58
On Fri, 19 Mar 2004, Christer Solskogen wrote:

> b.c:1731: error: `LOCK_EX' undeclared (first use in this function)
> b.c:1731: error: (Each undeclared identifier is reported only once
> b.c:1731: error: for each function it appears in.)
> b.c:1731: error: `LOCK_NB' undeclared (first use in this function)

> Running pkgsrc on Solaris-9 x86.
> GCC was builded with pkgsrc. GCC from sunfreeware.com was installed,
> builded gcc from pkgsrc, and removed gcc from sunfreeware.com

I think on Solaris you need to have:
#include <sys/file.h>

Or:

#include "/usr/ucbinclude/sys/file.h"

I didn't look at the joe build, maybe it has some solaris build code that
was skipped because of pkgsrc.

   Jeremy C. Reed
   http://www.reedmedia.net/