Linux driver for PCI-7841 CAN card
![](https://seccdn.libravatar.org/avatar/6fbe39ca0514068df6f33d90d4a2d118.jpg?s=120&d=mm&r=g)
hello, We are working on a project in Valencia Polytechnic University and I am in need of a Linux driver for my PCI7841 card with SJA1000. I am using Linux SuSE 2.4.4-4GB and I have downloaded the CanFestival,which is said to be written and tested for PCI7841 by Adlink technologies with SJA1000. But I encounter an error message from a file named /usr/include/linux/version.h. In this file it says in /lib/modules/2.4.4-4GB, there should be a symbolic link named 'build' that should point to the matching kernel source directory. But in my /usr/src/, there is only a directory named 'packages' but no directory named 'build'. My knowledge about the installation of Linux and SuSE is not good, it would be kind for any of you if you can help me deal with this problem. Thanks in advance, best regards, Gokhan Ipek Department of Informatics Valencia Polytechnic University __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
![](https://seccdn.libravatar.org/avatar/e4875fba809bee7a8701ffd3bd830274.jpg?s=120&d=mm&r=g)
On Wed, Oct 10, 2001 at 02:54:43AM -0700, Gokhan Ipek wrote:
hello, We are working on a project in Valencia Polytechnic University and I am in need of a Linux driver for my PCI7841 card with SJA1000. I am using Linux SuSE 2.4.4-4GB and I have downloaded the CanFestival,which is said to be written and tested for PCI7841 by Adlink technologies with SJA1000. But I encounter an error message from a file named /usr/include/linux/version.h. In this file it says in /lib/modules/2.4.4-4GB, there should be a symbolic link named 'build' that should point to the matching kernel source directory. But in my /usr/src/, there is only a directory named 'packages' but no directory named 'build'. My knowledge about the installation of Linux and SuSE is not good, it would be kind for any of you if you can help me deal with this problem.
It looks like you are missing kernel source. I don't know where your binary kernel comes from. If you downloaded it from SuSE ftp site, look at the same place for kernel source. If you installed the kernel from CD, you may try to install package lx_suse24 (or something similar) from "d" series. To make sure you version.h file matches installed kernel you'll have to run "make cloneconfig". HTH, -Kastus
Thanks in advance, best regards, Gokhan Ipek Department of Informatics Valencia Polytechnic University
participants (2)
-
Gokhan Ipek
-
Konstantin (Kastus) Shchuka