Project

General

Profile

Bug #1252

"Undefined reference to 'swab'" error when using GCC 5 and CrystaX NDK 10.3.1 x64 on Windows

Added by Violet Giraffe almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
libcrystax
Target version:
Start date:
02/02/2016
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm
Host OS:
Windows
Toolchain:
gcc-5
Android version:
CrystaX Version:

Description

The original Google Android NDK doesn't provide the swab function, so I defined my own. After migrating to Crystax, I got the "conflicting declaration of 'void swab(const void*, void*, ssize_t)' with 'C' linkage" error. So I removed my implementation and compilation succeeded, but now linker can't find the definition for this function.

Also available in: Atom PDF