TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHRIS GREEN
from: DAVID TAYLOR
date: 2020-05-26 15:30:00
subject: Re: ARM7 program for Rasp

On 26/05/2020 14:01, Chris Green wrote:
[]
> Yes, suggests that for some reason it's *linking* to a bad library.
> I'm surprised that "Hello World" fails though as it surely is using
> hardly any libraries.
>
> Though, wait a minute, isn't it just telling you there's a bug in the
> library (same way as I was saying in my original message).  The
> "illegal instruction" is just the bug in the library code trying to
> execute something it shouldn't.

Agreed, and it could be that I'm linking against an ARMv7 library but
running on ARMv6.  The programs in the suite I've tested (the gpsd
service itself, cgps and ubxtool) all work as expected, so they must
have been linked slightly differently than the simple -lgps that I'm
testing with.

This is rather beyond the level of (Linux) knowledge I have or normally
need.  Sudo apt-get install normally does me nicely!

--
Cheers,
David
Web: http://www.satsignal.eu

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.