[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Build of gpsd fails
From: |
Bernd Zeimetz |
Subject: |
Re: [gpsd-dev] Build of gpsd fails |
Date: |
Mon, 30 Apr 2012 23:01:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 |
Hi,
> There are hints, that -lrt library reference should be after the
> library using it for newer gcc's.
>
> The following command with "-lrt" at the end of the command line
> works.
my guess is that the reason for your issue was that the check for libcap should
not overwrite rtlibs but define something like caplibs and use those later,
additionally to rtlibs.
if config.CheckLib('libcap'):
confdefs.append("#define HAVE_LIBCAP 1\n")
# System library - no special flags
rtlibs = ["-lcap"]
[....]
I've pushed a fix for that (including a hopefully proper definition of necessary
linkage with -lcap), please pull the current head and see if it works for you.
Cheers,
Bernd
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Re: [gpsd-dev] Build of gpsd fails, Gary E. Miller, 2012/04/30