gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] [Gpsd-dev] broken compile on !linux


From: Gary E. Miller
Subject: Re: [gpsd-dev] [Gpsd-dev] broken compile on !linux
Date: Mon, 14 May 2012 13:54:08 -0700

Yo Chris!

Works for me.

I've been testing git head today, no problems so far.

You prolly need to fix your address book.  gpsd-dev is now on
non-gnu.org.

On Mon, 14 May 2012 12:51:03 -0700
Chris Kuethe <address@hidden> wrote:

> nmea2000 depends on linux/can.h - this allows me to just type "scons"
> and build. ok to commit?
> 
> diff --git a/SConstruct b/SConstruct
> index 120d8ef..e01076e 100644
> --- a/SConstruct
> +++ b/SConstruct
> @@ -488,6 +488,14 @@ else:
>      confdefs.append("/* #undef HAVE_SYS_TIMEPPS_H */\n")
>      announce("You do not have kernel PPS available.")
> 
> +if config.CheckHeader("linux/can.h"):
> +    confdefs.append("#define HAVE_LINUX_CAN_H 1\n")
> +    announce("You have kernel CANbus available.")
> +else:
> +    confdefs.append("/* #undef HAVE_LINUX_CAN_H */\n")
> +    announce("You do not have kernel CANbus available.")
> +    env["nmea2000"] = False
> +
>  # check function after libraries, because some function require
> library # for example clock_gettime() require librt on Linux
>  for f in ("daemon", "strlcpy", "strlcat", "clock_gettime"):
> 
> 




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588

Attachment: signature.asc
Description: PGP signature


reply via email to

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