Search found 5 matches

by hamtronix
Sat Feb 03, 2024 8:52 pm
Forum: Linux
Topic: Crash on Linux
Replies: 12
Views: 2710

Re: Crash on Linux

Yes I agree, I have to run it on Linux from the time when it was released.
Thanks God we have virtualization.

I will try it on older Linux, but the point 4 is still questionable, how to get the same functionality.
by hamtronix
Sat Feb 03, 2024 1:30 am
Forum: Linux
Topic: Crash on Linux
Replies: 12
Views: 2710

Re: Crash on Linux

I need to fix:
1, fix the old version of SHA1Fingerprint - this is done
2, remove the ascii requirement on compile and fix the unicode string
3, compile as true linux console application without the debugger
4, fix code bellow which causes problem with "InternetOpen_() is not a function, array ...
by hamtronix
Sat Feb 03, 2024 12:50 am
Forum: Linux
Topic: Crash on Linux
Replies: 12
Views: 2710

Re: Crash on Linux

With PureBasic v.6.04 it's all running smoothly. However, reason for v.5.31 is that I need to compile source file written in v.5.31 which is giving many errors by trying to compile it with v.6.04 compiler.

I got idea to try it inside virtualized environment with older Ubuntu Linux release ...
by hamtronix
Fri Feb 02, 2024 11:52 pm
Forum: Linux
Topic: Crash on Linux
Replies: 12
Views: 2710

Re: Crash on Linux

I have same issue in Ubuntu Linux 22.04. Anything I try to compile under Linux ends with

Segmentation fault (core dumped)

Even simple basic hello-world example ends with that. I don't get the point what is broken.
I am using older version 5.31 on my workstation with Ubuntu Linux 22.04 LTS. No ...
by hamtronix
Wed Jan 31, 2024 4:16 pm
Forum: Coding Questions
Topic: PureBasic 5.31 linux GCC flags when generating executable
Replies: 3
Views: 983

Re: PureBasic 5.31 linux GCC flags when generating executable

I have similar issue and solution with Import "no-pie"
EndImport allows to compile the code without error (mentioned below).
However created executable is not running and gives error Illegal instruction (core dumped) .

I am running Ubuntu Linux 22.04 LTS, PureBasic 5.31.
Any idea how to solve that ...