[M3devel] unix - unknown qualification

Patrick Goltzsch pgoltzsch at gmail.com
Thu Jul 12 11:39:58 CEST 2012


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