Problems Using BlitzMax on Linux 9.3

Archives Forums/Linux Discussion/Problems Using BlitzMax on Linux 9.3

Sensenwerk(Posted 2005) [#1]
I have just registered today. Windows version works fine.
But on Suse Linux 9.3 when I try to compile a simple
print "hello world"
program I get these error messages:
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../libm.so when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../libm.a when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lm
ld returned 1 exit status

Please can anyone help?
Oh, I should say that I am new to Linux, too (besides beeing newbie in BlitzMax). ;)
I've tried to install some of the mentioned rpms (xxf86vm-dev, libsdl1.2-dev) but got still the same problem.


Perturbatio(Posted 2005) [#2]
first and foremost are you using version 1.10?


Sensenwerk(Posted 2005) [#3]
Yes. I've copied the new files (v. 1.10) into my excisting 1.09 folder...


Perturbatio(Posted 2005) [#4]
the exact lib names may vary by distro but you could start looking through this thread:
http://www.blitzbasic.com/Community/posts.php?topic=47106


Sensenwerk(Posted 2005) [#5]
Finally.... it works now. :)
I installed
glibc-devel-32bit-9.3-7.x86_64.rpm

from http://rpm.pbone.net/

BUT: When I try to compile this code:

Graphics 800, 600, 32 ' USING 0 instead of 32 is the only parameter that DOES work... so only window mode ?!
DrawText "IT WORKS (well actually this doesn't:( )!", 100, 100
Flip
WaitKey

I get an error again:
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 129 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 59
Curren serial number in output stream: 60

:(((


Perturbatio(Posted 2005) [#6]
what graphics card do you have and are you using a dual screen setup?

Bmax currently doesn't like dual screens.


Sensenwerk(Posted 2005) [#7]
No, not a dual screen. I use a radeon 9200.
But I fixed the "bug": using Sax2 I enabled 3D accelleration.
Of course BlitzMax didn't work properly without it.
Anyway thanx a lot for your help!