[fpc-devel] compiling something does not work

Alexandre Racine Alexandre.Racine at mhicc.org
Fri Oct 26 19:49:03 CEST 2007


Hi guys, I am new here so don't be too much hard on me :)

I am trying to compile this 1992 software msim.p from the FASTSLINK family.
You can get it here... wget http://watson.hgen.pitt.edu/pub/fastslink/fastslink.tar.Z

I have attached the msim.p file.

So, am I doing something wrong? Is this an actual pascal file? Is 1992 too old? :)
Thanks.


------------------------------------

$ fpc -Se20 msim.p
Free Pascal Compiler version 2.2.0 [2007/10/26] for x86_64
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling msim.p
msim.p(258,45) Error: Duplicate identifier "msim"
msim.p(364,27) Warning: Local variable "v" does not seem to be initialized
msim.p(706,2) Warning: unreachable code
msim.p(862,6) Warning: unreachable code
msim.p(1490,35) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(1492,37) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(1494,35) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(1495,35) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(1496,29) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(1498,32) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(4202,6) Error: Identifier not found "p"
msim.p(4203,7) Error: Identifier not found "p"
msim.p(4204,18) Error: Identifier not found "p"
msim.p(4205,11) Error: Identifier not found "p"
msim.p(4205,18) Error: Identifier not found "p"
msim.p(4205,25) Error: Identifier not found "p"
msim.p(4240,16) Warning: unreachable code
msim.p(4402,19) Warning: unreachable code
msim.p(4478,6) Warning: unreachable code
msim.p(4480,6) Warning: unreachable code
msim.p(4491,3) Warning: unreachable code
msim.p(4496,6) Warning: unreachable code
msim.p(4503,6) Warning: unreachable code
msim.p(4505,2) Warning: unreachable code
msim.p(4562,6) Warning: unreachable code
msim.p(4564,2) Warning: unreachable code
msim.p(4566,2) Warning: unreachable code
msim.p(4569,6) Warning: unreachable code
msim.p(4571,2) Warning: unreachable code
msim.p(4573,2) Warning: unreachable code
msim.p(4576,2) Warning: unreachable code
msim.p(4578,2) Warning: unreachable code
msim.p(4585,3) Warning: unreachable code
msim.p(4587,3) Warning: unreachable code
msim.p(4593,3) Warning: unreachable code
msim.p(4595,3) Warning: unreachable code
msim.p(4599,2) Warning: unreachable code
msim.p(4601,2) Warning: unreachable code
msim.p(4603,2) Warning: unreachable code
msim.p(4637,28) Warning: unreachable code
msim.p(4667,31) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(4749,29) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(4777,2) Warning: unreachable code
msim.p(4928,31) Error: Incompatible type for arg no. 2: Got "Constant String", expected "LongInt"
msim.p(5053) Fatal: There were 16 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)

------------------------------------

Thanks



Alexandre Racine
Projets spéciaux
514-461-1300 poste 3304
alexandre.racine at mhicc.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20071026/4d357c57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msim.p
Type: text/x-pascal
Size: 140361 bytes
Desc: msim.p
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20071026/4d357c57/attachment.p>


More information about the fpc-devel mailing list