[MacPorts] #47498: gpsd @3.14: error: redefinition of typedef 'clockid_t'
MacPorts
noreply at macports.org
Wed Apr 29 02:23:26 PDT 2015
#47498: gpsd @3.14: error: redefinition of typedef 'clockid_t'
------------------------+--------------------------
Reporter: valerio@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: snowleopard
Port: gpsd |
------------------------+--------------------------
Comment (by davide.liessi@…):
I tried compiling with `sudo port upgrade gpsd configure.compiler=clang`
as suggested by Ryan [https://lists.macosforge.org/pipermail/macports-
users/2015-April/038535.html here] and still got an error about
`clockid_t`.
This is the relevant part of `main.log`:
{{{
:info:build In file included from ais_json.c:23:
:info:build In file included from ./libgps.h:13:
:info:build In file included from ./compiler.h:23:
:info:build ./gpsd_config.h:305:13: error: redefinition of typedef
'clockid_t' is invalid in C [-Wtypedef-redefinition]
:info:build typedef int clockid_t;
:info:build ^
:info:build In file included from ais_json.c:19:
:info:build ./gpsd_config.h:305:13: note: previous definition is here
:info:build typedef int clockid_t;
:info:build ^
:info:build 1 error generated.
:info:build scons: *** [ais_json.os] Error 1
:info:build scons: building terminated because of errors.
:info:build Command failed: cd "/opt/local/var/macports/build
/_opt_macports-git_trunk_dports_net_gpsd/gpsd/work/gpsd-3.14" &&
/opt/local/bin/scons -j2 prefix=/opt/local libQgpsmm=no usb=no strip=no
:info:build Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47498#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list