ppp.c
file to reflect thesettings for the kernel that you are using? There are two defineswhich must be set correctly if you are going to compile the code forPPP.
._____________________.__________________._________________________.
| | | |
| kernel version | NET02D | NEW_TTY_DRIVERS |
|_____________________|__________________|_________________________|
| | |
| < 1.0.0 | UPGRADE!!! |
|_____________________|__________________._________________________|
| 1.0.0 - 1.0.* | defined | undefined |
| 1.1.0 - 1.1.3 | defined | undefined |
| 1.1.4 - 1.1.12 | undefined | undefined |
|_____________________|__________________|_________________________|
| | |
| 1.1.13 | UPGRADE!!! |
|_____________________|__________________._________________________|
| | | |
| 1.1.14 - ... NOTE | undefined | defined |
|_____________________|__________________|_________________________|
The third define near the top of the file is called
OPTIMIZE_FLAG_TIME
. This may or may not be set with any
version of the kernel which supports PPP.
Additional information is in the ppp.c
file.
NOTE: For kernels from 1.1.14, do not replace the ppp.c
file
in the drivers/net directory nor the ppp.h
file in the
/usr/include/linux
directory. The drivers and the include
file are the proper values for your kernel.
So, from the above list, you will find that 1.1.8 kernel will need
NET02D
and NEW_TTY_DRIVERS
both undefined.
Likewise, the 1.1.18 kernel will already have things configured for
it. Do nothing special.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter