[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-dev
Subject:    [gpsd-dev] driver_nmea2000 build on !linux
From:       Bernd Zeimetz <bernd () bzed ! de>
Date:       2012-04-30 21:06:19
Message-ID: 4F9EFECB.5060900 () bzed ! de
[Download RAW message or body]

hi,

looking at the driver_nmea2000.c source I see

#include <linux/can.h>
#include <linux/can/raw.h>

which makes me kinda sure that this will never build on non-linux machines.
There is no check in SConstruct if the build happens on a system without these
headers, so it will always try to build the files and fail if they don't exist.
Is there not a useful way to use the can bus (if we really have to?) without
using linux specific headers?

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic