meteor_decoder icon indicating copy to clipboard operation
meteor_decoder copied to clipboard

Compile error on Jetson nano

Open benb0jangles opened this issue 4 years ago • 5 comments

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

benb0jangles avatar Dec 08 '20 02:12 benb0jangles

how to change INTEL?

benb0jangles avatar Dec 08 '20 02:12 benb0jangles

- {$ifdef asmdir}{$asmmode intel}{$endif}
+ {$ifdef asmdir}{$asmmode att}{$endif}

hhrhhr avatar Dec 08 '20 09:12 hhrhhr

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

benb0jangles avatar Dec 09 '20 04:12 benb0jangles

It turns out that your compiler does not support any of the inline assembly styles.

hhrhhr avatar Dec 09 '20 07:12 hhrhhr

is it possible to convert pascale to C++

benb0jangles avatar Dec 09 '20 19:12 benb0jangles