[M3devel] unix - unknown qualification
Rodney M. Bates
rodney_bates at lcwb.coop
Thu Jul 12 14:27:38 CEST 2012
I poked around in a version of PM3. There, there are multiple,
OS-dependent versions of Unix.i3. Most or all of them do have
the failing qualifications declared in them. So somewhere
along the line, Unix.i3 has changed and lost these declarations,
leaving ClsShare in the lurch.
I don't know when or why this happened. Jay?
On 07/12/2012 04:39 AM, Patrick Goltzsch wrote:
> Hi!
>
> I am having trouble compiling some older sources. I had the
> impression that it would be sufficient to "IMPORT Unix;" in
> ClsShare.m3 but obviously it's not:
>
> --- building in ../AMD64_LINUX ---
>
> new source -> compiling ClsShare.m3
> "/work/mylib/src/ClsShare.m3", line 73: unknown qualification '.' (struct_flock)
> "/work/mylib/src/ClsShare.m3", line 74: unknown qualification '.' (F_WRLCK)
> "/work/mylib/src/ClsShare.m3", line 75: unknown qualification '.' (L_SET)
> "/work/mylib/src/ClsShare.m3", line 82: unknown qualification '.' (F_SETLK)
> "/work/mylib/src/ClsShare.m3", line 98: unknown qualification '.' (struct_flock)
> "/work/mylib/src/ClsShare.m3", line 99: unknown qualification '.' (F_UNLCK)
> "/work/mylib/src/ClsShare.m3", line 100: unknown qualification '.' (L_SET)
> "/work/mylib/src/ClsShare.m3", line 107: unknown qualification '.' (F_SETLK)
> 8 errors encountered
>
> What am I doing wrong? Compiler is:
>
> Critical Mass Modula-3 version 5.8.6
> last updated: 2010-04-11
> compiled: 2010-07-12 20:10:34
> configuration: /usr/local/cm3/bin/cm3.cfg
> host: AMD64_LINUX
> target: AMD64_LINUX
>
> Thanks a lot,
>
> Patrick
>
More information about the M3devel
mailing list