ARM64 Build

5 posts / 0 new
Last post
K2AAM
ARM64 Build

Hello,

I am using an Odroid C2 with Ubuntu Linux for fldigi, but I can't get this to work on the ARM64 processor....It's similar to the raspberry Pi 3. Anyway this can done?

Thanks!

Adam K2AAM

ok2cqr
ok2cqr's picture
Re: ARM64 Build

Hi Adam,

you can try it yourself. It's not hard but you need Ubuntu 16.04 for that.

In a terminal window install fpc and lazarus and use this FAQ: https://www.cqrlog.com/faq#source-code

I don't have any ARM machine at home, I can't build packages.

73 Petr, OK2CQR

K2AAM
I try that and get this mess:

I try that and get this mess:

Any ideas? Thanks!!

lazbuild --ws=gtk2 --pcp=/tmp/.lazarus src/cqrlog.lpi
SetPrimaryConfigPath NewValue="/tmp/.lazarus" -> "/tmp/.lazarus"
CopySecondaryConfigFile /etc/lazarus/environmentoptions.xml -> /tmp/.lazarus/env ironmentoptions.xml
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP" "-Paarch64" "-Tlinux"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "-Paarch64" "-Tlinux" "compilertest .pas"
Info: (lazarus) Execute Title="Compile Project, Target: cqrlog"
Info: (lazarus) Working Directory="/home/patriot3g/cqrlog/src/"
Info: (lazarus) Executable="/usr/bin/fpc"
Info: (lazarus) Param[0]="-MObjFPC"
Info: (lazarus) Param[1]="-Sghi"
Info: (lazarus) Param[2]="-O3"
Info: (lazarus) Param[3]="-g"
Info: (lazarus) Param[4]="-gl"
Info: (lazarus) Param[5]="-l"
Info: (lazarus) Param[6]="-vewilbq"
Info: (lazarus) Param[7]="-vn-h-"
Info: (lazarus) Param[8]="-Fl/usr/lib/lazarus/1.6/lcl"
Info: (lazarus) Param[9]="-Fl/opt/gnome/lib"
Info: (lazarus) Param[10]="-Fu/home/patriot3g/cqrlog/src/lnet/lib"
Info: (lazarus) Param[11]="-Fu/home/patriot3g/cqrlog/src/mysql"
Info: (lazarus) Param[12]="-Fu/usr/lib/lazarus/1.6/components/turbopower_ipro/un its/aarch64-linux/gtk2"
Info: (lazarus) Param[13]="-Fu/usr/lib/lazarus/1.6/components/tachart/lib/aarch6 4-linux/gtk2"
Info: (lazarus) Param[14]="-Fu/usr/lib/lazarus/1.6/components/sqldb/lib/aarch64- linux/gtk2"
Info: (lazarus) Param[15]="-Fu/usr/lib/lazarus/1.6/components/rtticontrols/lib/a arch64-linux/gtk2"
Info: (lazarus) Param[16]="-Fu/usr/lib/lazarus/1.6/components/memds/lib/aarch64- linux/gtk2"
Info: (lazarus) Param[17]="-Fu/usr/lib/lazarus/1.6/components/tdbf/lib/aarch64-l inux/gtk2"
Info: (lazarus) Param[18]="-Fu/usr/lib/lazarus/1.6/components/printers/lib/aarch 64-linux/gtk2"
Info: (lazarus) Param[19]="-Fu/usr/lib/lazarus/1.6/components/ideintf/units/aarc h64-linux/gtk2"
Info: (lazarus) Param[20]="-Fu/usr/lib/lazarus/1.6/components/synedit/units/aarc h64-linux/gtk2"
Info: (lazarus) Param[21]="-Fu/usr/lib/lazarus/1.6/components/sdf/lib/aarch64-li nux/gtk2"
Info: (lazarus) Param[22]="-Fu/usr/lib/lazarus/1.6/components/lazcontrols/lib/aa rch64-linux/gtk2"
Info: (lazarus) Param[23]="-Fu/usr/lib/lazarus/1.6/components/cairocanvas/lib/aa rch64-linux/gtk2"
Info: (lazarus) Param[24]="-Fu/usr/lib/lazarus/1.6/lcl/units/aarch64-linux/gtk2"
Info: (lazarus) Param[25]="-Fu/usr/lib/lazarus/1.6/lcl/units/aarch64-linux"
Info: (lazarus) Param[26]="-Fu/usr/lib/lazarus/1.6/components/codetools/units/aa rch64-linux"
Info: (lazarus) Param[27]="-Fu/usr/lib/lazarus/1.6/components/lazutils/lib/aarch 64-linux"
Info: (lazarus) Param[28]="-Fu/usr/lib/lazarus/1.6/packager/units/aarch64-linux"
Info: (lazarus) Param[29]="-Fu/home/patriot3g/cqrlog/src/"
Info: (lazarus) Param[30]="-dLCL"
Info: (lazarus) Param[31]="-dLCLgtk2"
Info: (lazarus) Param[32]="-dNO_CONTEST"
Info: (lazarus) Param[33]="cqrlog.lpr"
Free Pascal Compiler version 3.0.0+dfsg-2 [2016/01/28] for aarch64
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for AArch64
(3104) Compiling cqrlog.lpr
2 266/768 Kb Used
(3104) Compiling dLogUpload.pas
(3104) Compiling dData.pas
100 171.070/174.912 Kb Used
200 171.208/174.912 Kb Used
300 171.467/175.424 Kb Used
(3104) Compiling dUtils.pas
100 177.279/181.056 Kb Used
200 177.560/181.312 Kb Used
300 275.898/279.616 Kb Used
400 276.678/281.152 Kb Used
500 277.241/281.664 Kb Used
600 277.896/281.920 Kb Used
700 278.107/282.432 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(766,10) Warning: (5036) Local variable "Nu mRead" does not seem to be initialized
/home/patriot3g/cqrlog/src/dUtils.pas(766,27) Warning: (5036) Local variable "Nu mWritten" does not seem to be initialized
800 278.484/282.688 Kb Used
900 278.990/283.200 Kb Used
1000 279.556/283.456 Kb Used
1100 280.007/284.224 Kb Used
1200 280.511/284.480 Kb Used
1300 280.626/284.480 Kb Used
1400 281.116/285.504 Kb Used
1500 281.635/286.272 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(1515,24) Warning: (5093) function result v ariable of a managed type does not seem to initialized
1600 282.176/286.528 Kb Used
1700 282.616/286.784 Kb Used
1800 282.878/286.784 Kb Used
1900 283.754/289.600 Kb Used
2000 284.084/289.856 Kb Used
2100 284.795/290.368 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(2197,26) Warning: (5089) Local variable "b efore" of a managed type does not seem to be initialized
2200 285.312/290.880 Kb Used
2300 285.670/290.880 Kb Used
2400 285.986/291.648 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(2431,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2433,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2434,18) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2448,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2451,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
2500 286.792/292.160 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(2522,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2525,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
2600 287.397/292.672 Kb Used
2700 287.906/293.184 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(2666,18) Warning: (5093) function result v ariable of a managed type does not seem to initialized
2800 288.464/293.952 Kb Used
2900 288.595/293.952 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(2909,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2911,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2977,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2979,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(2980,18) Warning: (5043) Symbol "CommandLi ne" is deprecated
3000 289.334/294.464 Kb Used
3100 290.329/295.232 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(3129,13) Warning: (5066) Symbol "AppendPat hDelim" is deprecated: "Use the function in LazFileUtils unit"
3200 290.860/296.000 Kb Used
3300 291.400/296.512 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(3319,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(3322,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
3400 291.705/296.512 Kb Used
3500 291.937/296.512 Kb Used
3600 292.605/297.536 Kb Used
3700 293.200/298.560 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(3785,14) Warning: (5043) Symbol "CommandLi ne" is deprecated
/home/patriot3g/cqrlog/src/dUtils.pas(3788,42) Warning: (5043) Symbol "CommandLi ne" is deprecated
3800 293.931/299.328 Kb Used
3900 294.249/299.584 Kb Used
4000 294.914/300.096 Kb Used
4100 295.598/300.864 Kb Used
/home/patriot3g/cqrlog/src/dUtils.pas(4195,16) Error: (4057) Can't determine whi ch overloaded function to call
/home/patriot3g/cqrlog/src/dUtils.pas(4196,16) Error: (4057) Can't determine whi ch overloaded function to call
4200 296.126/301.120 Kb Used
4300 296.426/301.120 Kb Used
dUtils.pas(4334) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 256
ERROR: failed compiling of project /home/patriot3g/cqrlog/src/cqrlog.lpi
Makefile:9: recipe for target 'cqrlog' failed

ok2cqr
ok2cqr's picture
Re: I try that and get this mess:

I've already seen this message but unfortunately don't have any ARM64 machine here and can't solve that. I'm sorry.

ok2cqr
ok2cqr's picture
Re: I try that and get this mess:

It's fixed in version 2.0.1.