Linking error_(re)

Thu, 31 Jul 1997 01:29:57 +0200 (MET DST)


According to Joao Miguel:
> 
> I'm trying to compile the system.pas unit (contained in bpcompat.zip) with
> my program. The compiler gives the error:
> 
> "system.o: Undefined symbol `__fmode' referenced from text segment"
> 
> I'm using Free-BSD 2.1. [...]

I am afraid this system Unit is not {yet} very portable.  It is known to
run under DJGPP (DOS), but to make it usable for FreeBSD, probably some
work will be necessary.  AFAIK, `FMode' is responsible for write access
when `reset'ting a file; to get the same functionality without this
variable you can use `update' instead of `reset'.

Hope this helps,

    Peter

 Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
 maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es