|
|
FAQ: 4 Troubleshooting - "make" | |||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
|
4.1 What does "make: command not found" mean? The program "make" cannot be found on your system. This is usually because it is not installed on your system. Make sure you install the "make" package. 4.2 What does "gcc: command not found" mean? The program "gcc" cannot be found on your system. This is usually because it is not installed on your system. Make sure you install the "gcc" package. If you use a compiler other than "gcc" then you can specify your compiler by setting the CC environment variable. 4.3 What does "Makefile: *** missing separator. Stop." mean? This occurs on FreeBSD systems that are using GNU's "make" program instead of the FreeBSD "make". For FreeBSD it is important that you use FreeBSD's "make" and not the GNU version, "gmake". 4.4 When I run "make" I get many error messages. What is wrong? The problem is almost certainly that you do not have the complete kernel source code. Linux: If the configure script cannot find your source code, it will assume that it is located in /usr/src/linux. If it is not, you can either run configure using the --kernelsrcdir argument, rename the directory where the kernel source really is, or create a soft link. The problem may also be that your source code is not correctly configured. See FAQ for information about how to configure your Linux kernel source code. Linux 2.6: Please make sure that you compile your Linux 2.6 kernel with CONFIG_SECURITY enabled. If you have not done this, you will get errors about implicit declarations of _security functions. FreeBSD: Make sure you have installed the src/sys distribution and that you are using FreeBSD's make program (ie. "make" is not really "gmake"). FAQ - Index 5 Troubleshooting - inserting the module |
|||||||||||||||||||||||||||||||||||||