1/27/15
SigC667x / SigC641x User Guide, Rev B7
Copyright
Signalogic 2012-2014
30 / 109
Note that the “uname –r” command can be used separately to determine the version of the
currently running kernel:
[root@host]# uname -r
The result will look similar to this (depending on what kernel revision is installed):
2.6.18-400.1.1.el5xen
Here are some examples without using an embedded “uname –r” command. Note that these may
or may not have exactly correct entry
(comments in italics)
:
[root@host]# yum -v install kernel-devel.i686
(for 32-bit CentOS)
[root@host]# yum -v install kernel-devel.x86_64
(for 64-bit CentOS)
[root@host]# apt-get install linux-headers-x86_64
(for 64-bit Ubuntu)
2.
Step 2.
In addition to installing the kernel-devel package, a symlink for “/usr/src/linux” must
be created, using a command similar to the following:
[root@host]# ln -s /usr/src/linux-xx.xx.xx /usr/src/linux
where “xx.xx.xx” matches the kernel version returned by the “uname –r” command shown
above.
After the symlink is created, the following ls (list) command can be used to verify the symlink
(shown as the last line of the ls command result):
[root@localhost bin]# ls -l /usr/src/
total 8
drwxr-xr-x. 2 root root 4096 Sep 23 2011 debug
drwxr-xr-x. 5 root root 4096 Apr 8 2014 kernels
lrwxrwxrwx. 1 root root 34 Nov 13 2012 linux -> kernels/2.6.32-279.14.1.el6.x86_64
After these two steps have been performed, the DirectCore driver makefile can be executed, as
described in section 4.1 above.