PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler in all-target-libobjc: maybe-all-target-boehm-gc



peterwy
16-11-2007, 12:54
Hallo,

ich bin gerade dabei vom gcc in der Version 4.2.1 den make Befehl auszuführen. (./configure) habe ich natürlich im Vorfeld ausgeführt. Kurz vorm Ende desDruchlaufs erhalte ich in einer der letzten Zeilen einen Fehler, genaugenommen Zeile 17244.

Dort steht folgender Befehl: all-target-libobjc: maybe-all-target-boehm-gc

Dieser Befehl ist für folgende Fehlermeldung verantwortlich:



/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -m32 -shared .libs/allchblk.o .libs/alloc.o .libs/blacklst.o .libs/checksums.o .libs/dbg_mlc.o .libs/dyn_load.o .libs/finalize.o .libs/gc_dlopen.o .libs/gcj_mlc.o .libs/headers.o .libs/malloc.o .libs/mallocx.o .libs/mark.o .libs/mark_rts.o .libs/misc.o .libs/new_hblk.o .libs/obj_map.o .libs/os_dep.o .libs/pcr_interface.o .libs/ptr_chck.o .libs/real_malloc.o .libs/reclaim.o .libs/specific.o .libs/stubborn.o .libs/typd_mlc.o .libs/backgraph.o .libs/win32_threads.o .libs/pthread_support.o .libs/pthread_stop_world.o .libs/darwin_stop_world.o .libs/mach_dep.o -lpthread -Wl,-soname -Wl,libgcjgc.so.1 -o .libs/libgcjgc.so.1.0.2
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/allchblk.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/alloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/blacklst.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/checksums.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/dbg_mlc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/dyn_load.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/finalize.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/gc_dlopen.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/gcj_mlc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/headers.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/malloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mallocx.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mark.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mark_rts.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/misc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/new_hblk.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/obj_map.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/os_dep.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/pcr_interface.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ptr_chck.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/real_malloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/reclaim.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/specific.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/stubborn.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/typd_mlc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/backgraph.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/win32_threads.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/pthread_support.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/pthread_stop_world.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/darwin_stop_world.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mach_dep.o' is incompatible with i386 output
.libs/gc_dlopen.o: In function `GC_dlopen':
gc_dlopen.c:(.text+0x66): undefined reference to `dlopen'
collect2: ld returned 1 exit status
make[6]: *** [libgcjgc.la] Fehler 1
make[6]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/x86_64-unknown-linux-gnu/32/boehm-gc'
make[5]: *** [all-recursive] Fehler 1
make[5]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/x86_64-unknown-linux-gnu/32/boehm-gc'
make[4]: *** [multi-do] Fehler 1
make[4]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/x86_64-unknown-linux-gnu/boehm-gc'
make[3]: *** [all-multi] Fehler 2
make[3]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/x86_64-unknown-linux-gnu/boehm-gc'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1/x86_64-unknown-linux-gnu/boehm-gc'
make[1]: *** [all-target-boehm-gc] Fehler 2
make[1]: Leaving directory `/home/software/OpenFOAM-DP/linux64/gcc-4.2.1'
make: *** [all] Fehler 2


Da es sich um eine 64 Bit Opteron Maschine handelt, scheint es zu sein, als das das m32 für 32 Bit steht und er irgendwo die 32 Bit Standardeinstellung zieht. Da ich aber nicht weiß, was der Befehl "all-target-libobjc: maybe-all-target-boehm-gc" bedeutet, weiß ich net so recht wie ich den Fehler beheben soll, da ich nicht weiß, wo genau die oberste Zeile im Code zu finden ist, um den Befehl m32 durch m64 ersetzen zu können. Wenn ich diese Zeile aus dem Makefile auskommentiere (nur diese) gibt es ne andere Fehlermeldung, die wohl später noch passiert. Vielleicht hat jemand ne Idee. Die Distribution ist im übrigen CentOS 5.0 / 64 Bit, also quasi RHEL5.

Gruß Peter Wiemeyer

peschmae
17-11-2007, 14:48
Willst du das Java-Zeugs wirklich? Sonst würde ich das rausschmeissen ;)
Oder kompilierst du den GCC etwa deswegen?

MfG Peschmä

peterwy
17-11-2007, 20:53
Mir war nicht bewusst, dass das Java Zeugs ist. Das Programm, dass der Compiler anschließend kompilieren soll, hat ein GUI das mit Java programiiert ist, habe ich dann beim kompilieren der Software mit Problemen zu rechnen? Ansonsten, wie schmeiß ich das Java selektiv beim gcc raus?

Gruß Peter

jeebee
18-11-2007, 15:03
Obs Probleme gibt, wenn du dann das Programm kompilierst, kann ich dir ohne genauere Infos nicht sagen, dazu müsste man wissen, wie das entsprechende Programm aufgebaut ist und ob das Java-GUI eine eigene Anwendung ist, oder eingebaut und obs nur mit gcj kompiliert oder auch mit einem anderen Java-Compiler. GCC-Varianten abschalten kannst du mittels configure (kenn die Optionen gerade nicht auswendig, ein ./configure --help im obersten Verzeichnis der GCC-Sourcen sollte weiterhelfen)