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.c8: error: use of undeclared identifier 'REG_OKAY'
== REG_OKAY)
^
../common/objfile.c74: error: use of undeclared identifier 'REG_OKAY'
...= regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { /...
^
../common/objfile.c74: error: use of undeclared identifier 'REG_OKAY'
...= regexec(®ex, str_data(symbol->name), 0, NULL, 0)) == REG_OKAY) { /...
^
3 errors generated.
make[1]: *** [Makefile:60: ../common/objfile.o] Error 1
compiler error shows missing REG_OKAY (git version aug.9th 2018
REG_OKAY is definitely defined in "../../ext/optparse/regex.h" which is in the include path in the cc line you give.
Is this a git clone? I think you maybe forgot to get the git submodules - this won't be done automatically with the git clone.
git submodule update --init --recursive
From the z88dk directory should grab the submodules
Is this a git clone? I think you maybe forgot to get the git submodules - this won't be done automatically with the git clone.
git submodule update --init --recursive
From the z88dk directory should grab the submodules