Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
I am having problems compiling on redhat9. I will list my error first in case something pops out at you, and then I will list my process / system info.
Error I recieve when I run /var/src/drbd-0.7.2/drbd/make clean all
rm -f *.[oas] *.ko .*.cmd .*.d .*.tmp *.mod.c .*.flags .depend .kernel*
Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/lib/modules/2.4.20-31.9smp/build
trying to make dep ...
.config:1: warning: NUL character seen; rest of line ignored
.config:1: *** missing separator. Stop.
I'll ignore this error, but this can cause inconsistencies!
make -C /lib/modules/2.4.20-31.9smp/build SUBDIRS=/var/src/drbd-0.7.2/drbd modules
make[1]: Entering directory `/usr/src/linux-2.4.20-31.9'
.config:1: warning: NUL character seen; rest of line ignored
.config:1: *** missing separator. Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.20-31.9'
make: *** [kbuild] Error 2
what I have done thus far:
verified my kernel version and source:
[root at rome1 src]# rpm -qa|grep kernel
kernel-smp-2.4.20-8
kernel-smp-2.4.20-31.9
kernel-2.4.20-8
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-31.9
kernel-source-2.4.20-31.9
I am booting from kernel-smp-2.3.20.31.9 and you can see I have the source for that version.
following instructions from the INSTALL file:
[root at rome1 drbd]# cd /usr/src/linux-2.4