Gary Thomas wrote:
> I'm trying to build the CAN utilities package and having trouble.
> 
> Firstly, it seems to expect the [berlios.de] SocketCAN include
> tree, but nothing in the configuration points at that.
> 
> Also, programs which are not selected by the configuration are
> still built, just not installed.
> 
> Most particularly, I'm having trouble with 'canconfig':
> canconfig.c: In function 'do_show_baudrate':
> canconfig.c:66: error: 'SIOCGCANBAUDRATE' undeclared (first use in this 
> function)
> canconfig.c:66: error: (Each undeclared identifier is reported only once
> canconfig.c:66: error: for each function it appears in.)
> canconfig.c: In function 'do_set_baudrate':
> canconfig.c:94: error: 'SIOCSCANBAUDRATE' undeclared (first use in this 
> function)
> canconfig.c: In function 'cmd_mode':
> canconfig.c:114: error: 'can_mode_t' undeclared (first use in this function)
> canconfig.c:114: error: 'mode' undeclared (first use in this function)
> canconfig.c:114: error: expected expression before ')' token
> canconfig.c:126: error: 'SIOCSCANMODE' undeclared (first use in this function)
> 
> Any pointers on how to get this built?
> 
> n.b. I'm running 1.99.svn (r8991)

please try the latest canutils version 3.0.1

cheers, Marc

-- 
 Marc Kleine-Budde              Phone: +49-231-2826-924
 Pengutronix - Linux Solutions for Science and Industry
 Vertretung West/Dortmund     http://www.pengutronix.de

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to