Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.3.9, 10.4(EOL), 10.5(EOL), 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
-
None
-
Arch Linux, gcc8
Description
The struct DL_info is already defined in /usr/include/dlfcn.h, but then redefined in the mariadb source's /include/my_global.h file. This causes compilation to abort due to fatal errors.
One gets lots of these:
In file included from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/strings_def.h:21,
|
from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/ctype-euc_kr.c:29:
|
/tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/include/my_global.h:1092:54: error: conflicting types for 'Dl_info'
|
typedef struct { const char *dli_fname, dli_fbase; } Dl_info;
|
^~~~~~~
|
In file included from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/include/my_global.h:1082,
|
from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/strings_def.h:21,
|
from /tmp/thermi-makepkg/mariadb/src/mariadb-10.3.9/strings/ctype-euc_kr.c:29:
|
/usr/include/dlfcn.h:94:3: note: previous declaration of 'Dl_info' was here
|
} Dl_info;
|
^~~~~~~
|