Description:
Normally './configure' enables 8-byte-off_t, as can be seen in config.h on my 32-bit OpenSuse 10.2 from 2006:
/* Number of bits in a file offset, on hosts where this is settable. */
#define _FILE_OFFSET_BITS 64
But sometimes it fails to (Davi has one such system, he'll file a bug report) and then we have a 4-byte off_t. It's also possible to force that by using --disable-largefile in "./configure". Then we get build failures in storage/maria.
One of them is related to conversion from my_off_t* to MARIA_RECORD_POS*.
Note for the bugfixer: as Monty confirmed, MARIA_RECORD_POS has to stay ulonglong, which can also be seen in code of ma_recordpos() (which relies on ulonglong).
This is not urgent, this has been reported today for the first time, and only because of a "configure" bug.
How to repeat:
build with --disable-largefile
Suggested fix:
just fix them one by one