Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: falk_s on July 20, 2016, 04:53:45 PM

Title: gpsd: line 1: syntax error: unexpected "("
Post by: falk_s on July 20, 2016, 04:53:45 PM
Hi everyone,
I'm new to tiny core and this forum. I've installed piCore 7.0 on my Raspberry Pi 2 and want to use the the GPS module form adafruit over the URAT interface. Because I did not find the gpsd.tcz in the repository for ARMv7 so I took the version from the x86 repository (I already took the kmap version from the x86 repository so I thought it might work).

How ever, after removing the console=ttyAMA0,[...] stuff from the cmdline.txt gpsd gives me still an error when executed

Code: [Select]
tc@box:~$ sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
/usr/local/sbin/gpsd: line 1: syntax error: unexpected "("

Unfortunately I can't find anything according to this on Google. I hope it's not just the reason that I had to use the x86 repository...

Hope for your help,
Falk
Title: Re: gpsd: line 1: syntax error: unexpected "("
Post by: bmarkus on July 20, 2016, 05:56:32 PM
Are you running the x86 version of gpsd? x86 binaries do not work on ARM.

Title: Re: gpsd: line 1: syntax error: unexpected "("
Post by: falk_s on July 20, 2016, 08:52:24 PM
Quote
Are you running the x86 version of gpsd? x86 binaries do not work on ARM.
okay that explains the error... Is there any option to get gpsd running on ARM?