<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all:<br>all gnu non-posix file consts and structs were pushed down to unix/linux-common files, but to accommodate for all non-posix standards is uncomfortable or impossible.<br>So must use the kernel call directly to control the locking policy in C code and pass control to M3 youControlFile.c<br>In a sane environment is better to reconstruct most of Unix Calls by Micro kernel, but I guess the world doesn't do that or maybe you can find a Unix API uniform enough Modular to do that like PosixFileC.c in libm3/src/os/POSIX for sure there is more than one outside there but who makes that thing doesn't uses Unixes like cygwin or some UnixControlFile.c that already do that would be wodnerful.<br>Thanks in advance<br><br><br><br>--- El <b>jue, 12/7/12, Rodney M. Bates <i><rodney_bates@lcwb.coop></i></b> escribió:<br><blockquote style="border-left: 2px solid
 rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Rodney M. Bates <rodney_bates@lcwb.coop><br>Asunto: Re: [M3devel] unix - unknown qualification<br>Para: m3devel@elegosoft.com<br>Fecha: jueves, 12 de julio, 2012 07:27<br><br><div class="plainMail">I poked around in a version of PM3.  There, there are multiple,<br>OS-dependent versions of Unix.i3.  Most or all of them do have<br>the failing qualifications declared in them.  So somewhere<br>along the line, Unix.i3 has changed and lost these declarations,<br>leaving ClsShare in the lurch.<br><br>I don't know when or why this happened.  Jay?<br><br>On 07/12/2012 04:39 AM, Patrick Goltzsch wrote:<br>> Hi!<br>><br>> I am having trouble compiling some older sources. I had the<br>> impression that it would be sufficient to "IMPORT Unix;" in<br>> ClsShare.m3 but obviously it's not:<br>><br>> --- building in ../AMD64_LINUX ---<br>><br>> new source
 ->  compiling ClsShare.m3<br>> "/work/mylib/src/ClsShare.m3", line 73: unknown qualification '.' (struct_flock)<br>> "/work/mylib/src/ClsShare.m3", line 74: unknown qualification '.' (F_WRLCK)<br>> "/work/mylib/src/ClsShare.m3", line 75: unknown qualification '.' (L_SET)<br>> "/work/mylib/src/ClsShare.m3", line 82: unknown qualification '.' (F_SETLK)<br>> "/work/mylib/src/ClsShare.m3", line 98: unknown qualification '.' (struct_flock)<br>> "/work/mylib/src/ClsShare.m3", line 99: unknown qualification '.' (F_UNLCK)<br>> "/work/mylib/src/ClsShare.m3", line 100: unknown qualification '.' (L_SET)<br>> "/work/mylib/src/ClsShare.m3", line 107: unknown qualification '.' (F_SETLK)<br>> 8 errors encountered<br>><br>> What am I doing wrong? Compiler is:<br>><br>> Critical Mass Modula-3 version 5.8.6<br>>    last updated: 2010-04-11<br>>    compiled: 2010-07-12 20:10:34<br>>   
 configuration: /usr/local/cm3/bin/cm3.cfg<br>>    host: AMD64_LINUX<br>>    target: AMD64_LINUX<br>><br>> Thanks a lot,<br>><br>>             Patrick<br>><br></div></blockquote></td></tr></table>