opts-global.c:(.text+0x905): undefined reference to `add_debug_regex_map(char const*)'