Hello:
I was trying to fetch loc_testing and recompile since I couldn't upload to Clublog.
Unfortunately, when I tried to compile, I got two errors about crtbegin.o and crtend.o missing and that linking would probably fail. Evidently it did. I found a post where an individual had encountered a similar problem, but never solved it. https://www.cqrlog.com/comment/8302#comment-8302. I've never used Lazarus-GUI and couldn't figure out how to make that work.
I tried the following:
1. Reinstalling Lazarus
2. Tried cloning, making, and make installing from the https://github.com/OH1KH/cqrlog/tree/loc_testing repository as well as the https://github.com/ok2cqr/cqrlog repository
3. Removed the cqrlog directory that was created when I did a git-clone, as well as cqrlog_old, and cqrlog_not_as_old which were two other directories I'd renamed from cqrlog.
4. Installing the older binary version from the debian distro (cqrlog 2.5.1-2). Running it resulted in an access violation, so I removed it.
5. Started with a fresh clone of cqrlog (ok2cqr) and tried make but still getting the same error.
6. Tried using the Lazarus GUI but received lots of warnings/errors when opening it, even after copying ~/.lazarus to /tmp/
Any ideas?
Many thanks,
Rob
AD0IU
If I ignore the crtbegin.o and crtend.o messages and make-install, I get this message when starting cqrlog:
Error reading mQ.Macros: Unknown property: "Macros".
Press OK to ignore and risk data corruption.
Press Abort to kill the program.
Rob
AD0IU
Rob
AD0IU
Hi Rob
See this https://wiki.freepascal.org/Lazarus_FAQ
Look at chapter 7.5
There is another
https://forum.lazarus.freepascal.org/index.php?topic=34288.0
If you fix this, does it help?
--
Saku
OH1KH
Hi Saku:
I didn't have any luck with the steps above, so decided to reinstall everything on my Pi400. I loaded the Raspberry Pi OS distro which had CQRLOG 2.5.2 and relatively recent Hamlib (it had my rig in the list) & WSJT-X. Everything seems to be functioning well, but I've now encountered a new problem.
The current version of the RPI OS uses Wayland as the back end. I'm not sure if that's the cause, but the TRX Control Configuration form truncates after User Defined functions 1 and 2. Is there another way (e.g. through a configuration file or directly in the DB) to add a third user-defined function without the interface?
Thanks,
Rob
Rob
AD0IU
Hi Rob.
Start Cqrlog to Database connection window. Select log you want to use but do not open it.
Use Utils/Configuration/Export and set filename. After export open the file with text editor and seek trxcontrol section or your usr1 or usr2 commands.
Once found set usr3 with same way as 1 and 2, save and do Utils/Configuration/import and after that open the log and check results.
--
Saku
OH1KH
Rob,
No sure what happened with my prior reply. All that came through was the signature. I'll try again.
I had the same problems you have experienced while trying to build a 64-bit version of one Alpha version 119. I too built the latest version of Lazarus and had all the issues you mentioned. For a bit I reverted to a 32-bit OS as I could then use some file Saku provides to convert and existing CQRlog installation to the latest. Eventually I flashed a new SD card with the Raspberry OS 64-bit image and discovered it had the latest version of Lazarus in the software repository. With that I was able to successfully compile a 64-bit version.
I then had a problem with Wayland and that new 64-bit version of CQRlog. I don't recall the exact problem. But the good news is, you can revert the OS back to X11. To do so follow these steps:
sudo raspi-config
choose "Advanced"
choose x11 backend
reboot
Hint: Don't try the Raspberry Pi Configuration with the UI. It does not contain the advanced function.
Good luck.
Ricke
AJ8V
Hello Saku:
Your suggested technique worked perfectly. I had to un-check the "Open recent log after program start" box, because once the log is open it won't work, which is understandable.
As always, thank you for your prompt responses and your willingness to help.
Rob
AD0IU
Rob
AD0IU
Rob,
I had almost all the same problems you have had trying to get the latest alpha version of CQRlog working in 64-bit. For a bit I went back to 32-bit so I could use some files supplied by Saku.In the end, when I built a new SD with the Raspberry image I discovered the latest version of Lazarus was now in the repository. Using it, I was able to build a successful 64-bit version of CQRlog. I then had problem with the Wayland issue. You can revert to X-11 backends. That is what I did. Do the following:
sudo raspi-config
Choose "Advanced"
Choose the X11 backend
Hint: Don't try the the "Raspberry Pi Configuration" from the UI. It doesn't include the Advanced option.
Ricke
AJ8V