linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* can-isotp-modules
@ 2015-11-03 22:29 Michael Luxen
  2015-11-04  6:59 ` can-isotp-modules Oliver Pajonk
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Luxen @ 2015-11-03 22:29 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can@vger.kernel.org

Hello Oliver,

today I've tried to install can-isotp-modules on my BeagleBone Black by

1. git clone https://github.com/hartkopp/can-isotp-modules/
2. cd can-isotp-modules
3. make

The make process on my Debian Jessie 8.2 (uname -r: 4.1.6-ti-r16) powered BBB ends up with:

root@beaglebone:~/can-isotp-modules# make
make -C /lib/modules/4.1.6-ti-r16/build M=/root/can-isotp-modules modules TOPDIR=/root/can-isotp-modules
make[1]: Entering directory '/usr/src/linux-headers-4.1.6-ti-r16'
  CC [M]  /root/can-isotp-modules/drivers/net/can/vcan.o
In file included from include/linux/module.h:17:0,
                 from /root/can-isotp-modules/drivers/net/can/vcan.c:44:
/root/can-isotp-modules/drivers/net/can/vcan.c: In function '__check_echo':
include/linux/moduleparam.h:377:61: warning: return from incompatible pointer type
  static inline type __always_unused *__check_##name(void) { return(p); }
                                                             ^
include/linux/moduleparam.h:428:35: note: in expansion of macro '__param_check'
 #define param_check_bool(name, p) __param_check(name, p, bool)
                                   ^
include/linux/moduleparam.h:145:2: note: in expansion of macro 'param_check_bool'
  param_check_##type(name, &(value));       \
  ^
include/linux/moduleparam.h:125:2: note: in expansion of macro 'module_param_named'
  module_param_named(name, name, type, perm)
  ^
/root/can-isotp-modules/drivers/net/can/vcan.c:91:1: note: in expansion of macro 'module_param'
 module_param(echo, bool, S_IRUGO);
 ^
  CC [M]  /root/can-isotp-modules/drivers/net/can/slcan.o
/root/can-isotp-modules/drivers/net/can/slcan.c:46:24: fatal error: asm/system.h: No such file or directory
 #include <asm/system.h>
                        ^
compilation terminated.
scripts/Makefile.build:264: recipe for target '/root/can-isotp-modules/drivers/net/can/slcan.o' failed
make[3]: *** [/root/can-isotp-modules/drivers/net/can/slcan.o] Error 1
scripts/Makefile.build:403: recipe for target '/root/can-isotp-modules/drivers/net/can' failed
make[2]: *** [/root/can-isotp-modules/drivers/net/can] Error 2
Makefile:1384: recipe for target '_module_/root/can-isotp-modules' failed
make[1]: *** [_module_/root/can-isotp-modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.6-ti-r16'
Makefile:42: recipe for target 'modules' failed
make: *** [modules] Error 2


Any idea/hint how to fix this issue?

Regards
Michael

^ permalink raw reply	[flat|nested] 7+ messages in thread
* AW: can-isotp-modules
@ 2015-11-06  5:59 Michael Luxen
  2016-03-28  9:43 ` can-isotp-modules Patrick Menschel
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Luxen @ 2015-11-06  5:59 UTC (permalink / raw)
  To: Oliver Hartkopp
  Cc: linux-can@vger.kernel.org, linux-can-owner@vger.kernel.org

Hello Oliver,

one additional remark.
Not all preconditions are mentioned in your updated installation process.
On a fresh BBB Debian console image I've to install...

sudo apt-get install linux-headers-$(uname -r)

...before.

Regards
Michael

-----Ursprüngliche Nachricht-----
Von:	Oliver Hartkopp <socketcan@hartkopp.net>
Gesendet:	Mi 04.11.2015 19:33
Betreff:	Re: AW: can-isotp-modules
An:	Michael Luxen <mluxen@gmx.net>; Oliver Pajonk <oliver@pjnk.de>; 
CC:	linux-can-owner@vger.kernel.org; linux-can@vger.kernel.org; 
> On 04.11.2015 13:02, Michael Luxen wrote:
> 
> > @Oliver H.:
> > One proposal from myside, can you please add a can-isotp-module installation 
> process (like it is below) on the GITHUB webside.
> > It would be easier for some people (like me) to get the source code running 
> without asking. :-)
> 
> Done.
> 
> Don't know why I did not had that idea before m)
> 
> Thanks,
> Oliver
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-30 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 22:29 can-isotp-modules Michael Luxen
2015-11-04  6:59 ` can-isotp-modules Oliver Pajonk
2015-11-04 10:06   ` can-isotp-modules Oliver Hartkopp
  -- strict thread matches above, loose matches on Subject: below --
2015-11-06  5:59 AW: can-isotp-modules Michael Luxen
2016-03-28  9:43 ` can-isotp-modules Patrick Menschel
2016-03-30 12:20   ` can-isotp-modules Oliver Hartkopp
2016-03-30 13:24     ` can-isotp-modules Patrick Menschel
2016-03-30 14:54       ` can-isotp-modules Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).