Subject: Re: CVS commit: src/sys
To: None <yamt@mwd.biglobe.ne.jp, christos@astron.com>
From: None <hira@po6.nsk.ne.jp>
List: current-users
Date: 03/02/2007 12:52:55
Hello,

At Fri,  2 Mar 2007 11:51:29 +0900 (JST),
YAMAMOTO Takashi wrote:
> 
> > Revision 1.69 of sys/lock.h does not work with gcc3.
> > 
> > % cat << EOF > foo.c
> > #include <sys/lock.h>
> > int main() { return 0; }
> > EOF
> 
> why do you want to include sys/lock.h?

When building misc/openoffice2, I got the error.

In file included from /usr/include/sys/mount.h:46,
                 from /obj/pkgsrc/misc/openoffice2/work/OOE680_m6/sal/osl/unx/file.cxx:124:
/usr/include/sys/lock.h:155: error: 'pri_t' is used as a type, but is not defined as a type.

However it has been solved.
The gcc3 packages should be re-compiled after updating the system.

Sorry for the noise.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp