Hi Guys.
If this appears elswher, my apologies, the mailing list appears to be
playing up...
Got problems on my first rebuild of the kernel...
AMD Duron 750, 128Mb Ram Via kt133 chipset
Kernel src installed, 2.4.21 that comes with mandrake 9.1
Optflags: march=athlon-tbird -pipe -fomitframepoiter -O2
Kernel compiles fine but when
#make modules
Is entered at the command line I Get the following error message from
the compiler.
make -C kernel CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.21-0.13mdk/include -W
all -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fom
it-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=athlon-tbird -O2 -fom
it-frame-pointer -pipe -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21-0.1
3mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/kernel'
make -C drivers CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.21-0.13mdk/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fo
mit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=athlon-tbird -O2 -fo
mit-frame-pointer -pipe -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21-0.
13mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/drivers'
make -C block modules
make[2]: Entering directory
`/usr/src/linux-2.4.21-0.13mdk/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.13mdk/include -Wall
-Wstrict-prototy
pes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pi
pe -mpreferred-stack-boundary=2 -march=athlon-tbird -O2
-fomit-frame-pointer -pi
pe -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21-0.13mdk/include/linux/m
odversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=floppy
-c -o flo
ppy.o floppy.c
In file included from
/usr/src/linux-2.4.21-0.13mdk/include/linux/prefetch.h:13,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/list.h:6,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:12,
from floppy.c:148:
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:51: warning:
parameter nam
es (without types) in function declaration
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:51: field
`loops_per_jiffy
_R_ver_str' declared as a function
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:73: invalid
suffix on inte
ger constant
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:73: parse error
before num
eric constant
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:73: warning:
function decl
aration isn't a prototype
In file included from
/usr/src/linux-2.4.21-0.13mdk/include/linux/prefetch.h:13,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/list.h:6,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:12,
from floppy.c:148:
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:259:1: warning:
"EISA_bus"
redefined
In file included from
/usr/src/linux-2.4.21-0.13mdk/include/linux/modversions.h:
161,
from <command line>:1:
/usr/src/linux-2.4.21-0.13mdk/include/linux/modules/i386_ksyms.ver:22:
1: warning
: this is the location of the previous definition
/usr/src/linux-2.4.21-0.13mdk/include/asm/processor.h:261: warning:
parameter na
mes (without types) in function declaration
In file included from floppy.c:148:
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:183: invalid
suffix on inte
ger constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:183: parse error
before num
eric constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:183:
`inter_module_register
_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:183: warning:
function decl
aration isn't a prototype
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:184: invalid
suffix on inte
ger constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:184: parse error
before num
eric constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:184:
`inter_module_unregist
er_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:184: warning:
function decl
aration isn't a prototype
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:185:
`inter_module_get_R_ve
r_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:185: warning:
parameter nam
es (without types) in function declaration
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:186:
`inter_module_get_requ
est_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:186: warning:
parameter nam
es (without types) in function declaration
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:187: invalid
suffix on inte
ger constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:187: parse error
before num
eric constant
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:187:
`inter_module_put_R_ve
r_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:187: warning:
function decl
aration isn't a prototype
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:196:
`try_inc_mod_count_R_v
er_str' declared as function returning a function
/usr/src/linux-2.4.21-0.13mdk/include/linux/module.h:196: warning:
parameter nam
es (without types) in function declaration
In file included from
/usr/src/linux-2.4.21-0.13mdk/include/linux/highmem.h:5,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/vmalloc.h:8,
from
/usr/src/linux-2.4.21-0.13mdk/include/asm/io.h:47,
from
/usr/src/linux-2.4.21-0.13mdk/include/linux/mc146818rtc.h:
14,
from floppy.c:171:
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h: In function
`get_pgd_fast':
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:78:
`boot_cpu_data_R0657d037 ' undeclared
(first use in this function)
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:78: (Each
undeclared identif ier is reported only
once
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:78: for each
function it app ears in.)
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h: In function
`free_pgd_fast' :
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:89:
`boot_cpu_data_R0657d037 ' undeclared
(first use in this function)
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h: In function
`pte_alloc_one_ fast':
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:127:
`boot_cpu_data_R0657d03 7' undeclared
(first use in this function)
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h: In function
`pte_free_fast' :
/usr/src/linux-2.4.21-0.13mdk/include/asm/pgalloc.h:137:
`boot_cpu_data_R0657d03 7' undeclared
(first use in this function)
make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory
`/usr/src/linux-2.4.21-0.13mdk/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/drivers'
make: *** [_mod_drivers] Error 2
And the result (unsuprisingly) when tested doesn't work. (Testing
Method: Lilo.conf was edited and lilo run prior to rebooting and
selecting 'new' option...)
There appear to be some unanswered queries on other mailing lists for
other kernel versions with similar problems but no answers. Any ideas
anyone? I'd appreciate any direction/suggestions/further mailing lists
I could be given/directed to.
Cheers
Huw
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com