<div><br></div><div>I think I found a way (far from the best, but it works).</div><div><br></div><div>If you don't care if the process is a bit slower and that you write on your CF, you can execute the same commands on your system without creating the qemu image...</div>

<div><br></div><div><div>download latest voyage sdk from:</div><div><a href="http://mirror.voyage.hk/download/ISO/sdk/" target="_blank">http://mirror.voyage.hk/download/ISO/sdk/</a></div><div><br></div><div>don't forget there might be a mirror closer to you:</div>

<div><a href="http://linux.voyage.hk/mirror" target="_blank">http://linux.voyage.hk/mirror</a></div><div><br></div><div>create a qemu disk:</div><div>qemu-img create voyage_disk.iso 1G</div><div><br></div><div>run voyage:</div>

<div>qemu -cdrom voyage-sdk-0.8.0.iso -hda voyage_disk.iso -redir tcp:2222::22 -boot d</div><div><br></div><div>now you can ssh (much easy to cut and paste) into the voyage host with:</div><div>ssh 127.0.0.1 -p 2222 -l root</div>

<div><br></div><div>partition and mkfs /dev/hda</div><div><br></div><div>mount /dev/hda1 /usr/src</div><div><br></div><div>remountrw</div><div><br></div><div>if you know how, edit (to use local mirrors and download faster):</div>

<div>/etc/apt/sources.list</div><div>/etc/apt/sources.list.d/voyage.list</div><div><br></div><div>apt-get update</div><div><br></div><div>apt-get install kernel-package build-essential linux-image-3.0.0-voyage linux-source-3.0.0-voyage</div>

<div><br></div><div>cd /usr/src</div><div><br></div><div>tar xvjf linux-source-3.0.0-voyage.tar.bz2</div><div><br></div><div>cd /usr/src/linux-source-3.0.0-voyage</div><div><br></div><div>make oldconfig</div><div>make prepare</div>

<div>make modules_prepare</div><div><br></div><div>cd /usr/src</div><div><br></div><div>download latest compat-wireless (for example):</div><div>wget <a href="http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.3/compat-wireless-3.3-rc1-2.tar.bz2" target="_blank">http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.3/compat-wireless-3.3-rc1-2.tar.bz2</a></div>

<div><br></div><div>extract:</div><div>tar xvjf compat-wireless-3.3-rc1-2.tar.bz2</div><div><br></div><div>cd /usr/src/compat-wireless-3.3-rc1-2</div><div><br></div><div>./scripts/driver-select</div><div>./scripts/driver-select ath5k</div>

<div><br></div><div>make </div><div><br></div><div>tar cvzf compat-wireless-3.3-rc1-2_compiled.tgz compat-wireless-3.3-rc1-2/</div><div><br></div><div>copy compat-wireless-3.3-rc1-2_compiled.tgz from the qemu VM to the ALIX (eg using scp)</div>

<div><br></div><div>on the alix:</div><div><div>tar xvzf compat-wireless-3.3-rc1-2_compiled.tgz</div></div><div>cd compat-wireless-3.3-rc1-2</div><div>make install</div><div><br></div><div>mmmmmmmmmm it seems "make install" did actually compile on ALIX for me, so maybe my idea is wrong. If this doesn't work for you, try to follow this same howto but directly on the ALIX. In any case, I can now compile compat-wireless.</div>

<div><br></div><div>hope this helps,</div><div>alfonso</div></div><br><div class="gmail_quote">On Mon, Feb 6, 2012 at 1:25 AM, Alfonso Fiore <span dir="ltr"><<a href="mailto:alfonso.fiore@gmail.com">alfonso.fiore@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I run voyage 0.8.0 on an Alix 3d3<br>
<br>
I'm trying to compile the latest compat-wireless and I'm doing<br>
something terribly wrong. I'm sure it's a rookie mistake. Thanks to<br>
anyone who can help.<br>
<br>
First I tried to install headers and source for my current kernel:<br>
apt-get install linux-headers-3.0.0-voyage linux-image-3.0.0-voyage<br>
linux-source-3.0.0-voyage<br>
apt-get install build-essential<br>
<br>
When I first tried to compile compat-wireless I saw there where no<br>
links in /lib/modules/3.0.0-voyage to source and build so I make them<br>
manually:<br>
<br>
cd /lib/modules/3.0.0-voyage<br>
ln -s /usr/src/linux-headers-3.0.0-voyage source<br>
ln -s /usr/src/linux-headers-3.0.0-voyage build<br>
<br>
But I still get errors:<br>
<br>
/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile:39:<br>
/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu: No such<br>
file or directory<br>
make: *** No rule to make target<br>
`/usr/src/linux-headers-3.0.0-voyage/arch/x86/Makefile_32.cpu'.  Stop.<br>
<br>
Thank you,<br>
alfonso<br>
</blockquote></div><br>