[M3devel] unix - unknown qualification

Rodney M. Bates rodney_bates at lcwb.coop
Thu Jul 12 14:18:01 CEST 2012


I think we need to see some source code for ClsShare.m3. particularly
to see what is before the dot on these lines.  I don't see any of
the failing qualifications in Unix.i3 in my cm3 directory.

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