From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200406232047.i5NKlLK16116@zamenhof.cs.utwente.nl> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> From: Axel Belinfante Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Jun 2004 22:47:20 +0200 Subject: [9fans] plan9port: flock on sunos5.8? Topicbox-Message-UUID: ab41a98e-eacd-11e9-9e20-41e7f4b1d025 yet another instance of 'spending some time on plan9port on sunos 5.8'. lib9/create.c needs/uses bsd-style flock which is not available by default, but accessable using /usr/usb/cc (this is what I figure from the source and sun's flock man page) LOCK_SH and LOCK_EX can be found using /usr/ucbinclude/sys/file.h and there is a ucb compatibility library. Any good idea for a way around? I tried a straightforward addition of -I/sys/ucbinclude in 9c and -L/sys/ucblib -lucb to 9lbiut that is obviously not good enough. it works for some files breaks breaks on some others :-( Yet another thing I don't know much about... Axel.