I turned of modules versioning and re-made the kernel. Make modules
works correctly now.

Is this a kernel bug?

Bill Shirley

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Shirley
Sent: Saturday, September 29, 2001 8:55 PM
To: [EMAIL PROTECTED]
Subject: [Cooker] LM 8.1 make modules


I am creating a new kernel.  Did a make menuconfig, make dep, make
clean, but when I do a make modules it fails with:

.
.
.
make[1]: Leaving directory `/usr/src/linux-2.4.8/kernel'
make -C  drivers
FLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include  -Wall -Wstrict-proto
types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-p
ointer -pipe -mpreferred-stack-boundary=2 -march=i586 -fno-merge-constan
ts  -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.8/include/linux/modversions.h" MAKING_MODULES=1
modules
make[1]: Entering directory `/usr/src/linux-2.4.8/drivers'
make -C atm modules
make[2]: Entering directory `/usr/src/linux-2.4.8/drivers/atm'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.8/include  -Wall -Wstrict-prototyp
es -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-poin
ter -pipe -mpreferred-stack-boundary=2 -march=i586 -fno-merge-constants
 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.8/include/linux/modversions.h -g  -c -o eni.o eni.c
In file included from /usr/src/linux-2.4.8/include/asm/processor.h:13,
                 from /usr/src/linux-2.4.8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.8/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: parse error before
`577f4bff'
/usr/src/linux-2.4.8/include/asm/page.h:91: `do_BUG_R_ver_str' declared
as function returning a function
/usr/src/linux-2.4.8/include/asm/page.h:91: warning: function
declaration isn't a prototype
In file included from /usr/src/linux-2.4.8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.8/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.8/include/asm/processor.h:51: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.8/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.8/include/asm/processor.h:72: nondigits in number and
not hexadecimal
/usr/src/linux-2.4.8/include/asm/processor.h:72: parse error before
`65dda927'
/usr/src/linux-2.4.8/include/asm/processor.h:72: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.8/include/asm/processor.h:256: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.8/include/asm/processor.h:435: missing white space
after number `7e9'
/usr/src/linux-2.4.8/include/asm/processor.h:435: parse error before
`7e9'
/usr/src/linux-2.4.8/include/asm/processor.h:435:
`kernel_thread_R_ver_str' declared as function returning a function
.
.
. (and more errors).

Has the kernel build changed with 2.4?  What am I doing wrong?
Any help appreciated.

TIA,
Bill Shirley



Reply via email to