<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=30&amp;t=1583" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-11-05T05:05:19+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=30&amp;t=1583</id>
<entry>
<author><name><![CDATA[rpimonitrbtch]]></name></author>
<updated>2014-11-05T05:05:19+01:00</updated>
<published>2014-11-05T05:05:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1583&amp;p=6133#p6133</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1583&amp;p=6133#p6133"/>
<title type="html"><![CDATA[[SOLVED] cross-compile yk-personalization on rasp-pi]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1583&amp;p=6133#p6133"><![CDATA[
I'm trying to cross-compile the latest version of yubikey-personalization for a raspberry-pi on my x64 debian box, but it's failing on the ./configure. I was able to successfully build libyubikey, which runs successfully on the pi, but I can't figure out how to make the ./configure see libyubikey.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">...<br />checking for libyubikey... no<br />configure: error: libyubikey v1.5+ not found, see https://developers.yubico.com/yubico-c/</div><br /><br />I'm using the crosstool-ng toolchain, and have tried various combinations of the below, and with and without copying libyubikey into the toolchain environment, and it keeps failing as above.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">CC=~/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc LDFLAGS=&quot;-L~/build/yubico-c/usr/lib/&quot; CFLAGS=&quot;-I$~/build/yubico-c/usr/include&quot; CPPFLAGS=&quot;-I~/build/yubico-c/usr/include&quot; lt_cv_deplibs_check_method=pass_all ./configure --prefix=~/build/yubikey-personalization/usr/ --with-libyubikey-prefix=~/build/yubico-c/usr/ --without-libyubikey-prefix --host=armel --build=armhf-unknown-linux-gnu</div><br /><br />Anyone have suggestions? I'm sure I've spent more time trying to figure this out than it would have taken to just compile it on the pi.<br /><br />*Edit* Debian stable(wheezy)<br /><br /><br />SOLUTION:<br /><br />Wound up firing up a QEMU chroot to build arm code in. Definitely slower than x64 gcc cross compiling, but at least it finds libyubikey.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=313">rpimonitrbtch</a> — Wed Nov 05, 2014 5:05 am</p><hr />
]]></content>
</entry>
</feed>