z88dk fails to build in Z80asm
Posted: Sun Feb 24, 2019 6:24 pm
With nighty build. Wheen compiling z88dk in Ubuntu 18.10 I have the following error:
z88dk/src/z80asm ?
cc -MMD -I. -Ilib -It -g -Wall -ftabstop=4 -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/objfile.o ../common/objfile.c
../common/objfile.c: In function ?file_rename_sections?:
../common/objfile.c8: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
== REG_OKAY)
^~~~~~~~
REG_EEND
../common/objfile.c8: note: each undeclared identifier is reported only once for each function it appears in
../common/objfile.c: In function ?file_add_symbol_prefix?:
../common/objfile.c74: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
if ((reti = regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { // match
^~~~~~~~
REG_EEND
../common/objfile.c: In function ?file_change_symbols_scope?:
../common/objfile.c74: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
if ((reti = regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { // match
^~~~~~~~
REG_EEND
make[1]: *** [Makefile:67: ../common/objfile.o] Error 1
z88dk/src/z80asm ?
cc -MMD -I. -Ilib -It -g -Wall -ftabstop=4 -std=gnu11 -O3 -I../common -I../../ext/optparse -I../../ext/regex -I../../ext/uthash/src -g -O2 -c -o ../common/objfile.o ../common/objfile.c
../common/objfile.c: In function ?file_rename_sections?:
../common/objfile.c8: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
== REG_OKAY)
^~~~~~~~
REG_EEND
../common/objfile.c8: note: each undeclared identifier is reported only once for each function it appears in
../common/objfile.c: In function ?file_add_symbol_prefix?:
../common/objfile.c74: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
if ((reti = regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { // match
^~~~~~~~
REG_EEND
../common/objfile.c: In function ?file_change_symbols_scope?:
../common/objfile.c74: error: ?REG_OKAY? undeclared (first use in this function); did you mean ?REG_EEND??
if ((reti = regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { // match
^~~~~~~~
REG_EEND
make[1]: *** [Makefile:67: ../common/objfile.o] Error 1