ARM64 Deb?

Linux specific questions.
pagetelegram
Posts: 7
Joined: May 06, 2019 17:34
Location: Chicago
Contact:

ARM64 Deb?

Postby pagetelegram » May 06, 2019 18:04

Hi,

I have a BlackBerry KeyOne running Debian using Termux. I undergo risky open heart surgery soon and have setup on my lappy scripts and basic program to send off mass SMS, faxes and emails using command line programs and operations for alerting friends and if needed final wishes. I want to bring this all to my BB KeyOne.

Suggestions? If ARM64 deb does not exist, can you guide me to how I would compile it from what source?

Surgery next week.
pagetelegram
Posts: 7
Joined: May 06, 2019 17:34
Location: Chicago
Contact:

Re: ARM64 Deb?

Postby pagetelegram » May 07, 2019 2:33

sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

Re: ARM64 Deb?

Postby sgaba » May 10, 2019 7:25

Please test this:

https://drive.google.com/open?id=1xHLbd ... gy_qwaA6mP

It is a new build of FreeBASIC-1.06.0 packed to .deb

install:

Code: Select all

sudo dpkg -i fbc_1.06.0_arm64.deb
sudo apt install -f -y


uninstall:

Code: Select all

sudo dpkg -P fbc
sudo apt autoremove -y


It would be great if you or anybody could test it! And give me feedback!!!
Manpcnin
Posts: 19
Joined: Feb 25, 2007 1:43
Location: N.Z.

Re: ARM64 Deb?

Postby Manpcnin » Jun 10, 2019 5:38

Tested it on Debian on Termux on FlymeOS (Android 6.0) Runs and compiles code fine, But If/When the compiled program tries to create a window, it segfaults. Console only programs seem fine

I'm pretty sure I have all the dependencies, So I'm a little at a loss. Shouldn't the compiler error if there was something wrong?
sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

Re: ARM64 Deb?

Postby sgaba » Jul 09, 2019 8:06

The ubuntu-mate Raspberry Pi 3 windows work fine. Maybe there's a problem with Linux on Android.
You have all the dependencies because if you don't have all the dependencies compiler (linker) give error like:

ld: cannot find -lX11

Do you use: Screen or ScreenRes?

Did you test old Stw build?

http://users.freebasic-portal.de/stw/builds/_manual/
MrSwiss
Posts: 3303
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: ARM64 Deb?

Postby MrSwiss » Jul 09, 2019 14:22

Manpcnin wrote:But If/When the compiled program tries to create a window, it segfaults.
If you want to check for "run-time" errors, you'll have to compile with (at least)
-exx compiler switch (on CLI calling fbc).
I'm usually using: -exx -w pedantic (for a debug build).

Once the code is "fixed", you simply compile it again, without those switches.
speedfixer
Posts: 389
Joined: Nov 28, 2012 1:27
Location: California

Re: ARM64 Deb?

Postby speedfixer » Jul 10, 2019 17:02

It has been a very long time, but I have had the circumstance that programs compile OK but faulted out on execution - graphics only. I did have a missing lib without that message. Now, after an install, I have a suite of programs that catches this.The missing was one part of a graphics lib --- xcb or something. Each Linux distribution may package library sets as they choose. The PI organization may desire to be transparent, but they just don't have the resources to document all that they do to make everything work. And, Broadcom has NO desire to be transparent.

*IF* a lib is missing after compile - in Linux - use

ldd <exename>

This should list dependencies with a flag on what is missing.


Much more likely is an array error. Most likely a string operation.
If the error isn't obvious and -exx gives you no better information to chase:


(install gdb if not already loaded)
compile with -g
gdb <exename>
r


you should have a little more info, now.

I have several rPI versions with no problems.
(All are run headless, but all still serve up the graphics fine.)

david

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest