Message from discussion
Cross compiling Freetype
Received: by 10.220.194.8 with SMTP id dw8mr930234vcb.21.1297547288057;
Sat, 12 Feb 2011 13:48:08 -0800 (PST)
X-BeenThere: android-ndk@googlegroups.com
Received: by 10.220.109.143 with SMTP id j15ls767475vcp.1.p; Sat, 12 Feb 2011
13:48:01 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.177.4 with SMTP id bg4mr127692vcb.52.1297547280985; Sat,
12 Feb 2011 13:48:00 -0800 (PST)
Received: by u3g2000vbe.googlegroups.com with HTTP; Sat, 12 Feb 2011 13:48:00
-0800 (PST)
Date: Sat, 12 Feb 2011 13:48:00 -0800 (PST)
In-Reply-To: <9d7c90ab-d06a-41cb-abbf-eae50b32d9ad@f2g2000yqf.googlegroups.com>
X-IP: 129.97.227.132
References: <9d7c90ab-d06a-41cb-abbf-eae50b32d9ad@f2g2000yqf.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Ubuntu/10.10 Chromium/9.0.597.94 Chrome/9.0.597.94 Safari/534.13,gzip(gfe)
Message-ID: <ec04afdf-9292-4c49-82af-9033e7cc6d4a@u3g2000vbe.googlegroups.com>
Subject: Re: Cross compiling Freetype
From: topfs2 <tobias.arrs...@gmail.com>
To: android-ndk <android-ndk@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
So a friend solved this :)
For reference here is the working script
fix_configtools .
CFLAGS=3D-std=3Dgnu99 ./configure --host=3D$HOST --build=3D$BUILD --prefi=
x=3D
$NDK_TOOLCHAIN
make && make install
On Feb 7, 7:47=A0pm, topfs2 <tobias.arrs...@gmail.com> wrote:
> Hi, I am currently trying to cross compile freetype with the NDK
> toolchain. I use the following script to do the cross compilationhttp://p=
astebin.com/vBMv9KLT
>
> The problem I see is that for some reason __BSD_VISIBLE gets defined
> and nothing in the freetype directory seems to define this. If I
> comment out lines 128 - 138 in $NDK_TOOLCHAIN/lib/gcc/arm-linux-
> androideabi/4.4.3/include-fixed/sys/types.h the compilation goes
> through and all seems ok. So my question is, what am I doing wrong in
> my build script and why would __BSD_VISIBLE be defined?
>
> This is the configure and make output for freetypehttp://pastebin.com/uax=