Problem beim Kompilieren der libFoundation
Volker Wegert <[email protected]> Sat, 26 Aug 2006 19:23:48 +0200
| Newsgroups | gmane.comp.cms.opengroupware.user.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo, ich versuche gerade, gemäß Anleitung auf einem AMD64-Rechner aus den SVN-Sourcen OGo zu backen und bin noch vor der SOPE-Anleitung steckengeblieben. Wenn ich in SOPE-4.4/libFoundation einfach nur so ./configure laufen lasse, erscheint die Meldung ,---- | checking host system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized | checking target system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized | checking build system type... Invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized | *************** Warning **************** | This package was not ported to running operating system. | We'll use the default configuration file ./config//.h. | **************************************** `---- Da ist wohl irgendwas mit der Ermittlung des Systemtyps schiefgegangen. Wenn ich anschließend ein make debug=yes all versuche, kracht's mit ,---- | Making all in Foundation... | make[1]: Entering directory `/home/ogo/SOPE-4.4/libFoundation/Foundation' | /home/ogo/GNUstep/Library/Makefiles/mkinstalldirs shared_debug_obj/./GNU/exceptions | Making all for library libFoundation... | Compiling file cvtutf.c ... | Compiling file behavior.m ... | In Datei, eingefügt von behavior.m:29: | ../Foundation/common.h:31:20: Warnung: config.h: Datei oder Verzeichnis nicht gefunden | In Datei, eingefügt von ../Foundation/NSString.h:30, | von ../Foundation/common.h:32, | von behavior.m:29: | ../Foundation/NSObject.h:245:22: Warnung: lfmemory.h: Datei oder Verzeichnis nicht gefunden | In file included from behavior.m:29: | ../Foundation/common.h:60: Warnung: »int« ist Standardtyp in Deklaration von »atoi« | ../Foundation/common.h:61: Warnung: »int« ist Standardtyp in Deklaration von »atol« | In file included from behavior.m:29: | ../Foundation/common.h: In function `Strlen': | ../Foundation/common.h:331: Warnung: implizite Deklaration der Funktion »strlen« | ../Foundation/common.h: In function `Strdup': | ../Foundation/common.h:336: Warnung: implizite Deklaration der Funktion »strcpy« | ../Foundation/common.h: In function `Strncpy': | ../Foundation/common.h:346: Warnung: implizite Deklaration der Funktion »strncpy« | ../Foundation/common.h: In function `Strcat': | ../Foundation/common.h:351: Warnung: implizite Deklaration der Funktion »strcat« | ../Foundation/common.h: In function `Strncat': | ../Foundation/common.h:356: Warnung: implizite Deklaration der Funktion »strncat« | ../Foundation/common.h: In function `Strcmp': | ../Foundation/common.h:369: Warnung: implizite Deklaration der Funktion »strcmp« | ../Foundation/common.h: In function `Strncmp': | ../Foundation/common.h:383: Warnung: implizite Deklaration der Funktion »strncmp« | In file included from /usr/include/stdlib.h:8, | from /home/ogo/GNUstep/Library/Headers/objc/hash.h:32, | from /home/ogo/GNUstep/Library/Headers/objc/objc-api.h:32, | from ../extensions/objc-runtime.h:29, | from behavior.m:30: | /usr/include/gentoo-multilib/amd64/stdlib.h: At top level: | /usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende Typen für »atol« | ../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier | /usr/include/gentoo-multilib/amd64/stdlib.h:152: Fehler: in Konflikt stehende Typen für »atol« | ../Foundation/common.h:61: Fehler: vorherige Deklaration von »atol« war hier | In Datei, eingefügt von ../extensions/NSException.h:25, | von behavior.m:31: | ../Foundation/NSException.h:1:33: Warnung: real_exception_file.h: Datei oder Verzeichnis nicht gefunden | In file included from ../extensions/exceptions/FoundationException.h:25, | from ../Foundation/exceptions/GeneralExceptions.h:29, | from ../extensions/exceptions/GeneralExceptions.h:25, | from behavior.m:32: | ../Foundation/exceptions/FoundationException.h:34: Fehler: | Schnittstellendeklaration für »NSException«, Superklasse von | »FoundationException«, kann nicht gefunden werden | make[2]: *** [shared_debug_obj/./GNU/behavior.o] Fehler 1 | make[1]: *** [libFoundation.all.library.variables] Fehler 2 | make[1]: Leaving directory `/home/ogo/SOPE-4.4/libFoundation/Foundation' | make: *** [internal-all] Fehler 2 `---- In den englischen NG-Archiven habe ich einen Verweis auf ein ähnliches Problem gefunden, dort hat Helge Hess dazu geraten, die config.guess von gnustep-make nach libFoundation rüberzukopieren. Das habe ich auch mal probiert; daduch ändert sich zumindest mal die Fehlermeldung beim configure-Lauf: ,---- | checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized | checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized | checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized | *************** Warning **************** | This package was not ported to running operating system. | We'll use the default configuration file ./config//.h. | **************************************** `---- Das Problem beim Bauen bleibt. Wer kann mir da helfen? Schöne Grüße Volker Wegert -- * Volker Wegert * http://www.volker-wegert.de/contact * * "Wenn ich gerne Züge in einen Tunnel fahren lasse, hat das vor allem * symbolische Bedeutung - aber verraten Sie's niemandem." (Sir Alfred * Hitchcock)