QtGps for Trolltechs Qtopia
Jim Morris
ml at e4net.com
Mon Sep 1 05:24:20 CEST 2008
Radek Barton( wrote:
> Dne Monday 01 of September 2008 02:21:05 Radek BartoÅ napsal(a):
>
>> Yes, I followed that page and I succed so far that it tell me that it can't
>> find libgps. So, I tried to download gpsd sources and configure them
>> with --target=arm-angstrom-linux-gnueabi. This went without errors or
>> warnings but resulting binary was compiled to x86-64 anyway (according to
>> file command). Should I wait until you update your blog with libgps
>> compilation steps, start playing with mokomakefile or ask for advice
>> somewhere else?
>
> I figure it out myself with some help on #qtopia IRC channel. Here is what
> I've done to compile it:
>
> 1. Download lastest gpsd source code at
> http://download.berlios.de/gpsd/gpsd-2.37.tar.gz and unpack it somewhere.
> 2. Add line #include <linux/limits.h> to gpsd.h-head file.
> 3. Modify line 15 of gps.h file from <limits.h> to <linux/limits.h>
> 4. configure with command: PATH=/opt/toolchains/arm920t-eabi/bin:
> $PATH ./configure --host=arm-angstrom-linux-gnueabi
> 5. Then make, make install, etc.
>
> You can update your blog accordingly... Weird thing is that the --host
> configure option changes the target machine instead of --target option :-).
>
Thanks I added the method I used to my blog, and I added your method too which is a lot easier than
using mokomakefile.
--
Jim Morris, http://blog.wolfman.com
More information about the community
mailing list