Linux 如何在编译socketcan实用程序时解决此错误

Linux 如何在编译socketcan实用程序时解决此错误,linux,can-bus,socketcan,Linux,Can Bus,Socketcan,我已从SVN can实用程序下载。因为默认情况下,can实用程序不在内核中 svn checkout svn://svn.berlios.de/socketcan/trunk/can-utils 我使用的内核是:-- 然后我重新编译了实用性。以下是未找到isotp.h的错误:--- 克隆最新的存储库: git clone https://github.com/linux-can/can-utils.git cd can-utils ./autogen.sh ./configure make m

我已从SVN can实用程序下载。因为默认情况下,can实用程序不在内核中

svn checkout svn://svn.berlios.de/socketcan/trunk/can-utils
我使用的内核是:--

然后我重新编译了实用性。以下是未找到isotp.h的错误:---

克隆最新的存储库:

git clone https://github.com/linux-can/can-utils.git
cd can-utils
./autogen.sh
./configure
make
make install

贝里奥斯是一个非常古老的资源。请使用最新版本查看此版本以了解更多信息。此版本不再可访问,现已在上提供
ignite@ignite:~/socketcan/can-utils$ make all
cc -O2 -Wall -Wno-parentheses -I../kernel/2.6/include -fno-strict-aliasing -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN    isotprecv.c   -o isotprecv
isotprecv.c:60:29: fatal error: linux/can/isotp.h: No such file or directory
compilation terminated.
make: *** [isotprecv] Error 1
cc -O2 -Wall -Wno-parentheses -I../kernel/2.6/include -fno-strict-aliasing -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN    isotpsend.c   -o isotpsend
isotpsend.c:60:29: fatal error: linux/can/isotp.h: No such file or directory
compilation terminated.
make: *** [isotpsend] Error 1
cc -O2 -Wall -Wno-parentheses -I../kernel/2.6/include -fno-strict-aliasing -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN    isotpsniffer.c   -o isotpsniffer
isotpsniffer.c:61:29: fatal error: linux/can/isotp.h: No such file or directory
compilation terminated.
make: *** [isotpsniffer] Error 1
cc -O2 -Wall -Wno-parentheses -I../kernel/2.6/include -fno-strict-aliasing -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN    isotptun.c   -o isotptun
isotptun.c:69:29: fatal error: linux/can/isotp.h: No such file or directory
compilation terminated.
make: *** [isotptun] Error 1
cc -O2 -Wall -Wno-parentheses -I../kernel/2.6/include -fno-strict-aliasing -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN    isotpserver.c   -o isotpserver
isotpserver.c:80:29: fatal error: linux/can/isotp.h: No such file or directory
compilation terminated.
make: *** [isotpserver] Error 1
make: Target `all' not remade because of errors.
git clone https://github.com/linux-can/can-utils.git
cd can-utils
./autogen.sh
./configure
make
make install