Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2024-03

fpc 3.3.1 fails in fpjwarsa

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb

Older Ubuntu, trying to update (starting compiler is 3.2.2)

make clean
make all  OPT=" -O-1 -gw3 "
make install INSTALL_PREFIX=/home/m/fpc/

Compiling ./fcl-web/src/fcm/fpfcmstrings.pp
Writing Resource String Table file: fpfcmstrings.rsj
Compiling ./fcl-web/src/jwt/fpjwarsa.pp
fpjwarsa.pp(21,35) Error: Identifier not found "TJWTSigner"
fpjwarsa.pp(21,35) Error: Class type expected, but got "<erroneous type>"
fpjwarsa.pp(25,64) Error: Identifier not found "TJWTKey"
fpjwarsa.pp(26,62) Error: Identifier not found "TJWTKey"
fpjwarsa.pp(23,20) Error: There is no method in an ancestor class to be
overridden: "class AlgorithmName:System.AnsiString;"
fpjwarsa.pp(25,14) Error: There is no method in an ancestor class to be
overridden: "CreateSignature(TJWT;<erroneous type>):System.AnsiString;"
fpjwarsa.pp(26,14) Error: There is no method in an ancestor class to be
overridden: "Verify(const AnsiString;<erroneous type>):System.Boolean;"
fpjwarsa.pp(56,38) Error: Identifier not found "TJWTSigner"
fpjwarsa.pp(56,38) Error: Class type expected, but got "<erroneous type>"
fpjwarsa.pp(60,64) Error: Identifier not found "TJWTKey"
fpjwarsa.pp(61,62) Error: Identifier not found "TJWTKey"
fpjwarsa.pp(58,20) Error: There is no method in an ancestor class to be
overridden: "class AlgorithmName:System.AnsiString;"
fpjwarsa.pp(60,14) Error: There is no method in an ancestor class to be
overridden: "CreateSignature(TJWT;<erroneous type>):System.AnsiString;"
fpjwarsa.pp(61,14) Error: There is no method in an ancestor class to be
overridden: "Verify(const AnsiString;<erroneous type>):System.Boolean;"
fpjwarsa.pp(89,1) Fatal: There were 14 errors compiling module, stopping
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "BuildUnit_fcl_web.pp" failed
  $0000000000542579
  $000000000054C7E2
  $000000000054B87E
  $000000000054CADB
  $000000000054FEAA
  $0000000000540F3B
  $00000000005415C0
  $000000000047868F
  $00000000004A5AF9

Reply by email

Michael Van Canneyt
to Martin Frb

I just did the same for 55 platforms (cross-compile), on ubuntu. All work without errors ?

Michael.

Martin Frb wrote 50 lines
Older Ubuntu, trying to update (starting compiler is 3.2.2) make clean make all  OPT=" -O-1 -gw3 " make install INSTALL_PREFIX=/home/m/fpc/ Compiling ./fcl-web/src/fcm/fpfcmstrings.pp Writing Resource String Table file: fpfcmstrings.rsj Compiling ./fcl-web/src/jwt/fpjwarsa.pp fpjwarsa.pp(21,35) Error: Identifier not found "TJWTSigner" fpjwarsa.pp(21,35) Error: Class type expected, but got "<erroneous type>" fpjwarsa.pp(25,64) Error: Identifier not found "TJWTKey" fpjwarsa.pp(26,62) Error: Identifier not found "TJWTKey" fpjwarsa.pp(23,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:System.AnsiString;" fpjwarsa.pp(25,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;<erroneous type>):System.AnsiString;" fpjwarsa.pp(26,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;<erroneous type>):System.Boolean;" fpjwarsa.pp(56,38) Error: Identifier not found "TJWTSigner" fpjwarsa.pp(56,38) Error: Class type expected, but got "<erroneous type>" fpjwarsa.pp(60,64) Error: Identifier not found "TJWTKey" fpjwarsa.pp(61,62) Error: Identifier not found "TJWTKey" fpjwarsa.pp(58,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:System.AnsiString;" fpjwarsa.pp(60,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;<erroneous type>):System.AnsiString;" fpjwarsa.pp(61,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;<erroneous type>):System.Boolean;" fpjwarsa.pp(89,1) Fatal: There were 14 errors compiling module, stopping Fatal: Compilation aborted The installer encountered the following error: Compilation of "BuildUnit_fcl_web.pp" failed   $0000000000542579   $000000000054C7E2   $000000000054B87E   $000000000054CADB   $000000000054FEAA   $0000000000540F3B   $00000000005415C0   $000000000047868F   $00000000004A5AF9 _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Martin Frb
to Michael Van Canneyt
Michael Van Canneyt wrote
I just did the same for 55 platforms (cross-compile), on ubuntu. All work without errors ?

Apologies, probably my fault. I export the sources from git before build, but did not remove old files. Starting without any old files in the sources, and it works.

Thanks for the feedback.

Reply by email