Source compiling

7 posts / 0 new
Last post
UA6CEY
Source compiling

Hello Petr!
Here's your requirement for develop software from cqrlog github page:

*****You have to have Lazarus 0.9.30.2-2, fpc 2.4.4 compiler******

Theese are no recent versions. Is it nessesary to use them exactly?
Any problems with newer compilers?

73! UA6CEY
Andrey

ok2cqr
ok2cqr's picture
Re: Source compiling

Hi Andrey,

no, you can use current versions from their homepages but it's not tested. This old version is in *buntu 12.04 I use on all my machines and it's also officially supported in my personal PPA.
After few weeks after 14.04 release, *buntu 12.04 will not be "officially" supported but I'm going to release deb files like now for version 10.04. With new *buntu LTS release I'll update also my development environment including Lazarus and FPC.

73 Petr, OK2CQR

UA6CEY
Source compiling

Hello, Petr!
You're right, it works!
I installed current version of fpc-2.6.2 (binary x86-64), fpc-source. Then built recent lazarus from sources. All of this compiled cqrlog-1.6.1 with no errors (using "make"). It works fine now on the same n-book. The system is Slackware 14-64.
I'm not familiar with fpc & lazarus. I'd like to build cqrlog for RaspberryPi. Where to read about cross-compiling?
73! Andrey

ok2cqr
ok2cqr's picture
Re: Source compiling

Hi Andrey,

I'm sorry, I don't have any experience with cross-compiling.
There is package for RaspberryPi somewhere. Please try to search the CQRLOG forum. Maybe it could help.

73 Petr, OK2CQR

UA6CEY
Source compiling

Hi Petr!
I think cross-compiling is my future. But now I'm trying to compile cqrlog on RPi itself. The same way - binary fpc, fpc source, then lazarus building.
Lazarus works.
Making cqrlog leads to this:
............................
Assembling lnetcomponents
100 99.465/107.104 Kb Used
200 99.613/107.104 Kb Used
300 99.811/107.104 Kb Used
400 99.999/107.360 Kb Used
500 100.156/107.360 Kb Used
Assembling ucwkeying
Compiling ./ipc/ipc.pp
100 99.449/107.104 Kb Used
200 99.458/107.104 Kb Used
300 99.478/107.104 Kb Used
ipc.pp(340,51) Warning: Comment level 2 found
ipc.pp(341,51) Warning: Comment level 2 found
ipc.pp(342,54) Warning: Comment level 2 found
ipc.pp(343,52) Warning: Comment level 2 found
ipc.pp(344,59) Warning: Comment level 2 found
ipc.pp(345,51) Warning: Comment level 2 found
400 99.493/107.104 Kb Used
ipccall.inc(52,36) Error: Identifier not found "syscall_nr_ipc"
ipccall.inc(59,37) Error: Identifier not found "syscall_nr_ipc"
100 99.552/107.104 Kb Used
ipc.pp(465) Fatal: There were 2 errors compiling module, stopping
ERROR: failed compiling of project /home/goodman/Downloads/cqrlog-master/src/cqrlog.lpi
make: *** [cqrlog] Error 2
..................................
It's a tail, of cause.
System is Slackware 14 on ARM RPi.
Environment is not tuned.
Any ideas?

73! Andrey.

ok2cqr
ok2cqr's picture
Re: Source compiling

Hi Andrey,

please delete IPC directory in src/. It's not needed in new FPC versions.

73 Petr

UA6CEY
Source compiling on RPi

That's better!
If anybody run Slackware on RPi - you can use it:
http://my-files.ru/owhh.cqrlog-1.6.1.RPi.tgz

73! UA6CEY
Andrey