On Tue, 2025-03-18 at 00:16 +0100, Daniel Gröber wrote: > I tried quickly building 0.51 and that seems to have yet more issues: > > /usr/bin/ld: /tmp/cc8nRSkd.ltrans73.ltrans.o: in function > `abc::Scl_LibertyParse(char*, int)': > /<<PKGBUILDDIR>>/abc/src/map/scl/sclLiberty.c:563:(.text+0x41f0): undefined > reference to `abc::gzopen(char const*, char const*)' > /usr/bin/ld: > /tmp/cc8nRSkd.ltrans73.ltrans.o:/<<PKGBUILDDIR>>/abc/src/map/scl/sclLiberty.c:566:(.text+0x423f): > undefined reference to `abc::gzread(void*, void*, unsigned int)' > /usr/bin/ld: > /tmp/cc8nRSkd.ltrans73.ltrans.o:/<<PKGBUILDDIR>>/abc/src/map/scl/sclLiberty.c:575:(.text+0x4263): > undefined reference to `abc::gzclose(void*)' > collect2: error: ld returned 1 exit status
They've added zlib support in there too. Changing the include to #include <zlib.h> gets the build working again. Cheers, Scott