[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Program fails to compile after 3.20 upgrade

From: David J Taylor
Subject: Program fails to compile after 3.20 upgrade
Date: Fri, 22 May 2020 10:37:46 +0100

My GPS monitoring program here:

fails to compile after upgrading to 3.20 (it used to work). My C isn't good enough to know how to specify the extra arguments which are required. Compiler output:

pi@RasPi-22:~ $ gcc gpsGetSatellites.c -o gpsGetSatellites -lgps
gpsGetSatellites.c: In function �main�:
gpsGetSatellites.c:26:14: error: too few arguments to function �gps_read�
    status = gps_read (&gpsdata);
In file included from gpsGetSatellites.c:12:
/usr/include/gps.h:2307:12: note: declared here
extern int gps_read(struct gps_data_t *, char *message, int message_len);

(I'm competent in other languages, though!)

SatSignal Software - Quality software for you
Email: address@hidden
Twitter: @gm8arv

reply via email to

[Prev in Thread] Current Thread [Next in Thread]