virtuoso-opensource
virtuoso-opensource copied to clipboard
error compiling virtuoso stable 7.2.14 on CentOS 7 with gcc 8.3
Hello,
compiling virtuoso stable 7.2.14 on CentOS 7 with gcc 8.3 [from SCL] produces error:
In file included from /usr/include/string.h:633,
from isql_log_normalize.c:26:
isql_log_normalize.c:59:7: error: expected identifier or '(' before '__extension__'
char *strdup(const char *s);
^~~~~~
Any workaround ?
thanks
Can you show me what CFLAGS you are using to compile ?
I started using -O2 -m64, as suggested.
Then also tried adding -fpermissive or -std=gnu89, but neither work.
Also tried with gcc 9.3.1, without success.
thanks