There is a bug in kernel-source-2.4.18-6mdk that makes it impossible to compile modules for kernel-secure version (binary nVidia drivers for 8.2 secure are broken as well).
I really think there must be at least errata and at the best updated kernel-source package. Patch for rhconfig.h attached. Warly, sorry to Cc to you but I do not know who is responsible for errata. -andrej
rhconfig.h.diff
Description: Binary data
