Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#87 NetBSD and memalign

open
nobody
None
5
2014-02-26
2014-02-26
Anonymous
No

I got a "undefined reference to `memalign'" when linking to libfreeimage.so on
Netbsd 6.1.1 i386. As hotfix I added a check in
'/Source/LibOpenJPE/opj_malloc.h':

#elif !defined(amd64) && !defined(APPLE) && !defined(_AIX) && !defined(NetBSD)
#define HAVE_MEMALIGN
#include <malloc.h>

Not sure this is the right thing to do..

Discussion


Anonymous


Cancel   Add attachments