----- Original Message -----
Sent: Tuesday, December 07, 2004 1:21
PM
Subject: error by compiling of RedHat 9
modules
Hi,
After make bzImage the next step
would be make modules that fails at the very begining.
The first error message reported is:
/usr/src/linux-2.4.20-8/include/linux/kernel.h:60: invalid suffix on
integer constant
and so on.
The first problematic line in this header
contains the following:
extern struct notifier_block *panic_notifier_list;
I searched for it
and the panic_notifier_list is defined in
the linux/modules/ksyms.ver but in a strange manner for me so I have
no idea how to interpret it or what to do to eliminate the
errors.
I guess others also should run into this problem
by compiling the latest kernel available at ftp.redhat.com and any comments
would be appreciated.
thanks
Tamas
And here are the compilation messages with
the errors at the end:
Aragorn:/usr/src/linux% gmake modules
gmake -r
-f tmp_include_depends all
gmake[1]: Entering directory
`/usr/src/linux-2.4.20-8'
gmake[1]: Circular
/usr/src/linux-2.4.20-8/include/asm/smplock.h <-
/usr/src/linux-2.4.20-8/include/linux/interrupt.h dependency
dropped.
gmake[1]: Circular
/usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntrack.h <-
/usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntrack_helper.h
dependency dropped.
gmake[1]: Leaving directory
`/usr/src/linux-2.4.20-8'
gmake -C kernel CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h" MAKING_MODULES=1
modules
gmake[1]: Entering directory
`/usr/src/linux-2.4.20-8/kernel'
gcc -D__KERNEL__
-I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c
cpufreq.c
In file included from
cpufreq.c:15:
/usr/src/linux-2.4.20-8/include/linux/kernel.h:60: invalid
suffix on integer
constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:60: parse error
before numeric constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:60:
warning: function declaration isn't a
prototype
/usr/src/linux-2.4.20-8/include/linux/kernel.h:62: invalid suffix
on integer constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:62:
parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:63:
`panic_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-8/include/linux/kernel.h:63: warning:
function declaration isn't a
prototype
/usr/src/linux-2.4.20-8/include/linux/kernel.h:69: parse error
before numeric constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:69:
`simple_strtoul_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-8/include/linux/kernel.h:69: warning:
function declaration isn't a
prototype
/usr/src/linux-2.4.20-8/include/linux/kernel.h:70: invalid suffix
on integer constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:70:
parse error before numeric
constant
/usr/src/linux-2.4.20-8/include/linux/kernel.h:70:
`simple_strtol_R_ver_str' declared as function returning a
function
_______________________________________________
Redhat-devel-list
mailing
list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list