The reported error indicates, that there is some mixture in the used libraries. Please note, that your Build Environment contains a set of four libraries - each one for a dedicated rotation (0, 90, 180 and 270 degrees). If you put all libraries into the project, the linker will take the first one that contains the requested functions. This means, one orientation will work, the other three will fail.
Please ensure, that your project contains always the suitable library.
Best regards,
Manfred.