If you using plugins, error must be fixed before start production server.
If you not using plugins, dont care. Server simply must just works, if it works then all ok. (works i mean you can connect to game and play)
This is wrong solution.
Server compiled fine in x64, but need use standard tools.
Also i cant find any reference to adelays. May be you using outdated server sources?
1. Try at first run command: autoreconf
This command will update/build configure script
2. then run configure with your flags, or simple ./configure
probably need disable lto, because look like here bug. this mean run: ./configure --disable-lto
3. now run make.
Yes compilation with only mariadb is possible. For build with mariadb only need change configure a bit and install libmariadb* dev package.
I think i can create pull request for this,
but not sure is devs will add it or not.