WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gpsd: line 1: syntax error: unexpected "("  (Read 2762 times)

Offline falk_s

  • Newbie
  • *
  • Posts: 2
gpsd: line 1: syntax error: unexpected "("
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: gpsd: line 1: syntax error: unexpected "("
« Reply #1 on: July 20, 2016, 05:56:32 PM »
Are you running the x86 version of gpsd? x86 binaries do not work on ARM.

« Last Edit: July 20, 2016, 06:11:07 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline falk_s

  • Newbie
  • *
  • Posts: 2
Re: gpsd: line 1: syntax error: unexpected "("
« Reply #2 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?