sba1 / adtools

Experimental GNU toolchain for AmigaOS
31 stars 18 forks source link

clib2 is no longer compiling because of moved/missed locale.h #134

Closed josefwegner closed 1 year ago

josefwegner commented 1 year ago

Compiling clib2 with new SDK 54.16 seems to be broken during make -C native_build:

Compiling crtend.c [lib.threadsafe]
Compiling crtend.c [lib.threadsafe/soft-float]
Compiling crtend.c [lib.threadsafe/small-data]
Compiling crtend.c [lib.threadsafe/baserel]
Compiling c.lib_rev.c [obj/libc]
Compiling ctype_isalnum.c [obj/libc]
In file included from ctype_headers.h:40,
                 from ctype_isalnum.c:35:
locale_headers.h:44:10: fatal error: libraries/locale.h: Datei oder Verzeichnis nicht gefunden
 #include <libraries/locale.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [libc.gmk:487: obj/libc/ctype_isalnum.o] Fehler 1
make[1]: Verzeichnis „/home/pi/Projects/amigalocal/adtools/native-build/downloads/clib2/library“ wird verlassen
make: *** [makefile:179: clib2-cross-done-8.4.0] Fehler 2
make: Verzeichnis „/home/pi/Projects/amigalocal/adtools/native-build“ wird verlassen

native-build/root-cross/ppc-amigaos/SDK has no more library/locale.h. The only locale.h I found was in newlib/include/locale.h.

josefwegner commented 1 year ago

Sorry, this is an issue with lhasa-0.31 not extracting the whole archive. Switched to jlha, it throws some errors extracting the installer archive, but gets the job done.