|
From: | Christian Rossi |
Subject: | [gpsd-users] Gpsd: compilation problem |
Date: | Thu, 7 Feb 2019 11:21:39 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
HelloThis is not an Ntrip or RTK question but I try to compile gpsd 3.18.1 (or 3.19a) and there is an error message:
driver_ubx.c: In function 'ubx_rxm_rawx':driver_ubx.c:833:5: error: 'for' loop initial declarations are only allowed in C99 modefor (int i = 0; i < numMeas; i++) { ^driver_ubx.c:833:5: note: use option -std=c99 or -std=gnu99 to compile your codescons: *** [driver_ubx.o] Error 1 scons: building terminated because of errors.
I don't know scons very well, so what can I do ? This is ubuntu 14.04 and gcc 4.8.4 Thanks -- Christian Rossi
[Prev in Thread] | Current Thread | [Next in Thread] |