On Thu, Mar 31, 2011 at 11:30:25AM +0200, Vincent Nuttin wrote:
> 2011/3/31 Martin Jansa <[email protected]>:
> > On Thu, Mar 31, 2011 at 09:30:34AM +0200, Vincent Nuttin wrote:
> >> Hello,
> >>
> >> I have some troubles with my tangogps. I recovered the source files
> >> from "http://www.tangogps.org/gps/cat/Download";. I put everything on
> >> my Openmoko FreeRunner (running SHR-testing).
> >> The configuration (sh configure) works well. The make and make install
> >> as well.
> >> But then, when I run : $ tangogps
> >> I get something like :
> >>
> >> REPOLIST == NULL
> >> *** on_drawingareal_configure_event():
> >> pixmap created
> >> Illegal instruction
> >
> > I guess it's because of missing -march in CFLAGS
> 
> Hello,
> 
> Thanks a lot for your reply !
> But, I don't really understand where I must add that. I'm making the
> "sh configure", "make" and "make install" directly on my FreeRunner.
> I'm not cross-compiling anything. When the "sh configure" is done, if
> I take a look at the generated "Makefile", there is no "-march=armv4t"
> or something. Do I have to add this manually ? In the generated
> "Makefile" ? Or, in an option of "sh configure" ?

export CFLAGS="-march=armv4t" before running configure should work

> Thanks !
> 
> >
> >> Do you have any idea ?
> >>
> >> Actually, here is the full story. I first installed "tangogps" on my
> >> FreeRunner with "opkg install tangogps". Everything worked fine !
> >> But, now, I just want to add a "plugin" to tangogps. The only way I
> >> found to do this is to :
> >> - uninstall tangogps (opkg remove tangogps)
> >> - modify some files and re-compile them. Am I wrong ?
> >> - run my "modified" version of tangogps.
> >
> > or modify OE recipe and recompile with OE (and send patch if your
> > modification is usefull for other people).
> 
> Sorry to be so "noob" but I don't know what is OE ...
> Thanks a lot,

build framework used to build SHR images and feeds (so also tangogps
package)
http://openembedded.net/index.php/Main_Page

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: pgpgKOyZxLSvN.pgp
Description: PGP signature

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to