[Pas2js] pas2js make error in compileserver.pp
Michael Van Canneyt
michael at freepascal.org
Tue Apr 30 16:40:49 CEST 2024
Are you building with FPC 3.3.1 ?
AFAIK syncobjs will not compile with 3.2.2, since the necessary overloads
for atomic operations are not present.
Michael.
On Tue, 30 Apr 2024, Ondrej Pokorny via Pas2js wrote:
> Hello,
>
> I have this strange "pas2js make clean all" error on Windows i386. (See
> console output below.)
>
> pas2js.exe and webidl2pas.exe are compiled successfully but
> compileserver.exe fails to build.
>
> It is also strange that webidl2pas and compileserver are built only on
> one machine of mine. On a different PC only pas2js.exe is compiled with
> the same "pas2js make clean all" command.
>
> Has anybody a clue what is going on? I assume I don't need
> compileserver.exe, I don't understand why it is built one one PC ant on
> the other one not...
>
> Thanks
> Ondrej
>
> p:\software\pas2js>p:\software\FPC\3.2.2\bin\i386-win32\make clean all
> ./fpmake.exe clean --os=win32 --cpu=i386 -o -di386
> --compiler=p:/software/FPC/3.2.2/bin/i386-win32/ppc386.exe -bu
> Warning: Removed non empty directory "bin\i386-win32"
> Warning: Removed non empty directory "units\i386-win32\"
> ./fpmake.exe compile --os=win32 --cpu=i386 -o -di386
> --compiler=p:/software/FPC/3.2.2/bin/i386-win32/ppc386.exe -bu
> Start compiling package pas2js for target i386-win32.
> Compiling p:\software\pas2js\compiler\utils\pas2js\pas2js.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\custapp.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\singleinstance.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsfileutils.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsutils.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jslogger.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pastree.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pscanner.pp
> Compiling P:\software\pas2js\compiler\packages\fcl-js\src\jstree.pp
> Compiling P:\software\pas2js\compiler\packages\fcl-js\src\jsbase.pp
> Compiling P:\software\pas2js\compiler\packages\fcl-js\src\jstoken.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-js\src\jswriter.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-json\src\fpjson.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\contnrs.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jscompiler.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-js\src\jssrcmap.pas
> Compiling
> P:\software\pas2js\compiler\packages\fcl-json\src\jsonparser.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-json\src\jsonscanner.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-json\src\jsonreader.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pparser.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pasresolver.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pasresolveeval.pas
> Compiling
> P:\software\pas2js\compiler\packages\fcl-passrc\src\pasuseanalyzer.pas
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\avl_tree.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsresstrfile.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsresources.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\base64.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsfs.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jshtmlresources.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsjsresources.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\fppas2js.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\fppjssrcmap.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jspparser.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsuseanalyzer.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsfscompiler.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jsfilecache.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jscompilerpp.pp
> Compiling
> P:\software\pas2js\compiler\packages\pastojs\src\pas2jscompilercfg.pp
> Linking bin\i386-win32\pas2js.exe
> Compiling p:\software\pas2js\compiler\utils\pas2js\webidl2pas.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidlscanner.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidltopas.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidlparser.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidldefs.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\pascodegen.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidltopas2js.pp
> Compiling
> P:\software\pas2js\compiler\packages\webidl\src\webidltowasmjob.pp
> Linking bin\i386-win32\webidl2pas.exe
> Compiling p:\software\pas2js\compiler\utils\pas2js\compileserver.pp
> Compiling p:\software\pas2js\compiler\utils\pas2js\httpcompiler.pp
> Compiling
> P:\software\pas2js\compiler\packages\fcl-base\src\syncobjs.pp
> The installer encountered the following error:
> External command "p:/software/FPC/3.2.2/bin/i386-win32/ppc386.exe
> -Twin32 -FEbin\i386-win32 -FUunits\i386-win32\
> -Fup:\software\pas2js\compiler\utils/pas2js
> -Fup:\software\pas2js\compiler\packages/pastojs/src
> -Fup:\software\pas2js\compiler\packages/fcl-passrc/src
> -Fup:\software\pas2js\compiler\packages/fcl-js/src
> -Fup:\software\pas2js\compiler\packages/fcl-json/src
> -Fup:\software\pas2js\compiler\packages/fcl-base/src
> -Fup:\software\pas2js\compiler\packages/fcl-web/src/base
> -Fup:\software\pas2js\compiler\packages/fcl-net/src
> -Fup:\software\pas2js\compiler\packages/webidl/src
> -Fip:\software\pas2js\compiler\packages/fcl-net/src/win
> -Fip:\software\pas2js\compiler\packages/fcl-base/src/dummy
> -Fip:\software\pas2js\compiler\packages/pastojs/src -di386 -Sc -viq
> p:\software\pas2js\compiler\utils/pas2js\compileserver.pp" failed with
> exit code 1. Console output:
> Free Pascal Compiler version 3.2.2 [2021/05/15] for i386
> Copyright (c) 1993-2021 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling p:\software\pas2js\compiler\utils\pas2js\compileserver.pp
> Compiling p:\software\pas2js\compiler\utils\pas2js\httpcompiler.pp
> Compiling P:\software\pas2js\compiler\packages\fcl-base\src\syncobjs.pp
> syncobjs.pp(599,64) Error: Incompatible type for arg no. 3: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(604,99) Error: Incompatible type for arg no. 3: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(609,46) Error: Incompatible type for arg no. 2: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(614,72) Error: Incompatible type for arg no. 2: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(620,93) Error: Incompatible type for arg no. 3: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(625,66) Error: Incompatible type for arg no. 2: Got
> "Pointer", expected "LongInt"
> syncobjs.pp(1007) Fatal: There were 6 errors compiling module, stopping
> Fatal: Compilation aborted
>
> $004396F0
> $004399BE
> $0043EC6C
> $0043F170
> $00440752
> $004402AB
> $00441039
> $00443761
> $004389B7
> $00438F20
> $00403F57
> make: *** [all] Error 1
>
> _______________________________________________
> Pas2js maillist - Pas2js at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
>
More information about the Pas2js
mailing list