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)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
ptxdist mailing list
[email protected]

Reply via email to