[Top][All Lists]

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

Re: [gpsd-dev] Git head broken

From: Eric S. Raymond
Subject: Re: [gpsd-dev] Git head broken
Date: Mon, 25 Aug 2014 17:47:35 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Gary E. Miller <address@hidden>:
> Yo All!
> I'm back in the office, seeing gpsd is about to release.  But git-head
> will not build for me:
> g++ -o libgps_core-qt.os -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized 
> -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
> -Wpointer-arith -Wreturn-type -pthread -Wmissing-prototypes 
> -Wmissing-declarations -O2 -fPIC -DUSE_QT -DQT_SHARED -I/usr/include/qt4 
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore libgps_core.c
> cc1plus: warning: command line option '-Wmissing-prototypes' is valid for 
> C/ObjC but not for C++ [enabled by default]
> In file included from libgps_core.c:18:0:
> libgps.h:34:12: error: previous declaration of 'int json_ais_read(const 
> char*, char*, size_t, ais_t*, const char**)' with 'C++' linkage
>  extern int json_ais_read(const char *, char *, size_t, struct ais_t *,
>             ^
> In file included from libgps_core.c:19:0:
> gps_json.h:41:28: error: conflicts with new declaration with 'C' linkage
>      /address@hidden@*/const char **);
>                             ^
> scons: *** [libgps_core-qt.os] Error 1
> scons: building terminated because of errors.
> dagwood gpsd # gcc-config -l
>  [1] x86_64-pc-linux-gnu-4.8.3 *
> dagwood gpsd # 

Odd.  It builds just fine here.  Try setting qt=no.
                <a href="";>Eric S. Raymond</a>

reply via email to

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