Hello.
I had those errors and warnings when compiling, but I corrected them and now it compiles without problems. I leave the file in case it helps someone.
P.D. In ExtendedBG-char.c just change all this lines:
mapif->send(fd, buf, offset);
To this:
mapif->send(buf, offset);
Regards.
ExtendedBG.c