meteor_decoder
meteor_decoder copied to clipboard
Compile error on Jetson nano
jetson nano ubuntu 18.04 arm64/aarch64
compiile error:
./build_medet.sh Free Pascal Compiler version 3.2.0 [2020/06/05] for aarch64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for AArch64 Compiling medet.dpr Compiling ./alib/asys.pas Assembling asys Compiling met_to_data.pas Compiling ./alib/ecc.pas ecc.pas(223,87) Warning: Local variable "root" does not seem to be initialized ecc.pas(235,18) Warning: Local variable "loc" does not seem to be initialized ecc.pas(223,35) Warning: Local variable "omega" does not seem to be initialized Assembling ecc Compiling correlator.pas Assembling correlator Compiling viterbi27.pas Compiling ./alib/bitop.pas bitop.pas(97,16) Warning: Conversion between ordinals and pointers is not portable bitop.pas(119,15) Warning: Conversion between ordinals and pointers is not portable bitop.pas(142,14) Warning: Conversion between ordinals and pointers is not portable bitop.pas(151,14) Warning: Conversion between ordinals and pointers is not portable Assembling bitop Assembling viterbi27 Compiling ./alib/tim.pas tim.pas(18,18) Error: Illegal assembler style specified "INTEL" tim.pas(32,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppca64 returned an error exitcode
how to change INTEL?
- {$ifdef asmdir}{$asmmode intel}{$endif}
+ {$ifdef asmdir}{$asmmode att}{$endif}
change tim.pas line 18 from intel to att
however error same:
./build_medet.sh Free Pascal Compiler version 3.2.0 [2020/06/05] for aarch64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for AArch64 Compiling medet.dpr Compiling ./alib/asys.pas Assembling asys Compiling met_to_data.pas Compiling ./alib/ecc.pas ecc.pas(223,87) Warning: Local variable "root" does not seem to be initialized ecc.pas(235,18) Warning: Local variable "loc" does not seem to be initialized ecc.pas(223,35) Warning: Local variable "omega" does not seem to be initialized Assembling ecc Compiling correlator.pas Assembling correlator Compiling viterbi27.pas Compiling ./alib/bitop.pas bitop.pas(97,16) Warning: Conversion between ordinals and pointers is not portable bitop.pas(119,15) Warning: Conversion between ordinals and pointers is not portable bitop.pas(142,14) Warning: Conversion between ordinals and pointers is not portable bitop.pas(151,14) Warning: Conversion between ordinals and pointers is not portable Assembling bitop Assembling viterbi27 Compiling ./alib/tim.pas tim.pas(18,18) Error: Illegal assembler style specified "ATT" tim.pas(32,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppca64 returned an error exitcode
It turns out that your compiler does not support any of the inline assembly styles.
is it possible to convert pascale to C++