[SOLVED] Blitzmax and "gcc version 4.6.0 20110530 (fedo

Übersicht BlitzMax, BlitzMax NG Allgemein

Neue Antwort erstellen

 

Guamtmsou G.

Betreff: [SOLVED] Blitzmax and "gcc version 4.6.0 20110530 (fedo

BeitragSa, Jul 23, 2011 22:09
Antworten mit Zitat
Benutzer-Profile anzeigen
i've issue compiling on latest Fedora, like on Archlinux ( http://www.blitzbasic.com/Comm...opic=94467 )
on Fedora there is the GCC 4.6.0 ( 4.6.0-9 )

the BMK (for gcc-4.6.0-3 ) posted here: http://www.blitzbasic.com/Comm...opic=94535 doesn't works

output changed from (original 1.42 bmk) this:

Code: [AUSKLAPPEN]
Linking:arraysort
g++: error: unrecognized option タ--eh-frame-hdrタ
Build Error: Failed to link /home/BBB/BlitzMax/samples/hitoro/arraysort
Process complete


to this:

Code: [AUSKLAPPEN]
Linking:arraysort
/usr/bin/ld: /home/BBB/BlitzMax/mod/pub.mod/lua.mod/lua.release.linux.x86.a(loadlib.c.release.linux.x86.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Build Error: Failed to link /home/BBB/BlitzMax/samples/hitoro/arraysort
Process complete


Can someone (expert on linux) try to build a working BMK for the 4.6.0-9 ?
  • Zuletzt bearbeitet von Guamtmsou G. am So, Jul 24, 2011 19:02, insgesamt einmal bearbeitet
 

Guamtmsou G.

BeitragSo, Jul 24, 2011 19:02
Antworten mit Zitat
Benutzer-Profile anzeigen
solved... using the 2nd BMK (from skidracer)
and adding the

Code: [AUSKLAPPEN]
Import "-ldl"


on top of source code

Neue Antwort erstellen


Übersicht BlitzMax, BlitzMax NG Allgemein

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group