WIr wollen auf nem Embedded Systems mit Debian nen CAN-Controler einbinden. Bei der installation kommt nach "make clean" folgende Meldung:
Code: Alles auswählen
vmlinux:~/peak-linux-driver-6.7# make clean
cpp: /usr/src/linux/include/linux/utsrelease.h: No such file or directory
cpp: warning: '-x c' after last input file has no effect
cpp: no input files
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
make[1]: Entering directory `/root/peak-linux-driver-6.7/driver'
Makefile:165: *** "AUTO_NETDEV_SUPPORT: Can't find /usr/src/linux/include/linux/autoconf.h !". Stop.
make[1]: Leaving directory `/root/peak-linux-driver-6.7/driver'
make[1]: Entering directory `/root/peak-linux-driver-6.7/lib'
rm -f src/*~ src/*.o *~ *.so.*
make[1]: Leaving directory `/root/peak-linux-driver-6.7/lib'
make[1]: Entering directory `/root/peak-linux-driver-6.7/test'
rm -f src/*~ src/*.o *~ receivetest transmitest bitratetest filtertest
make[1]: Leaving directory `/root/peak-linux-driver-6.7/test'
vmlinux:~/peak-linux-driver-6.7#
Danke!