module compilation dying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Ok, finally got a 2.4.18-2.4.80 kernel to compile. However, when i go to
make modules it dies, something with the loop.o module, any ideas? Output is
below. I've included only make modules, errors are near the bottom.
Thanks.
Dave.

make -r -f tmp_include_depends all
make[1]: Entering directory `/usr/src/linux-2.4.18-24.8.0'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/linux-2.4.18-24.8.0'
make -C  kernel
CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18-24.8.0/include -Wall -Wstrict-p
rototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-p
ointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
 -include /usr/src/linux-2.4.18-24.8.0/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.18-24.8.0/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.18-24.8.0/kernel'
make -C  drivers
CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18-24.8.0/include -Wall -Wstrict-p
rototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-p
ointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
 -include /usr/src/linux-2.4.18-24.8.0/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.18-24.8.0/drivers'
make -C addon modules
make[2]: Entering directory `/usr/src/linux-2.4.18-24.8.0/drivers/addon'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/linux-2.4.18-24.8.0/drivers/addon'
make -C block modules
make[2]: Entering directory `/usr/src/linux-2.4.18-24.8.0/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-24.8.0/include -Wall -Wstrict-proto
types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-point
er -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -in
clude /usr/src/linux-2.4.18-24.8.0/include/linux/modversions.h  -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=loop  -DEXP
ORT_SYMTAB -c loop.c
In file included from
/usr/src/linux-2.4.18-24.8.0/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.18-24.8.0/include/linux/list.h:6,
                 from
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:12,
                 from loop.c:62:
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:51: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:73: invalid suffix on
integer constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:73: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:73: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:256: invalid suffix on
integer constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:256: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:256: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:260: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:436: invalid suffix on
floating constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:436: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:436:
`kernel_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:436: warning: function
declaration isn't a prototype
In file included from loop.c:62:
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:183: invalid suffix on
integer constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:183: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:183:
`inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:183: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:184: invalid suffix on
integer constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:184: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:184:
`inter_module_unregister_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:184: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:185:
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:185: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:186:
`inter_module_get_request_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:186: warning: parameter
names (without types) in function declaration
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:187: invalid suffix on
integer constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:187: parse error before
numeric constant
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:187:
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:187: warning: function
declaration isn't a prototype
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:196:
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-24.8.0/include/linux/module.h:196: warning: parameter
names (without types) in function declaration
In file included from
/usr/src/linux-2.4.18-24.8.0/include/linux/highmem.h:5,
                 from
/usr/src/linux-2.4.18-24.8.0/include/linux/pagemap.h:16,
                 from /usr/src/linux-2.4.18-24.8.0/include/linux/locks.h:8,
                 from /usr/src/linux-2.4.18-24.8.0/include/linux/blk.h:5,
                 from loop.c:71:
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h: In function
`get_pgd_fast':
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:78:
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:78: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:78: for each function it
appears in.)
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h: In function
`free_pgd_fast':
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:89:
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h: In function
`pte_alloc_one_fast':
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:127:
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h: In function
`pte_free_fast':
/usr/src/linux-2.4.18-24.8.0/include/asm/pgalloc.h:137:
`boot_cpu_data_R0657d037' undeclared (first use in this function)
In file included from loop.c:79:
/usr/src/linux-2.4.18-24.8.0/include/linux/suspend.h:58:1: warning:
"software_suspend" redefined
In file included from
/usr/src/linux-2.4.18-24.8.0/include/linux/modversions.h:264,
                 from <command line>:1:
/usr/src/linux-2.4.18-24.8.0/include/linux/modules/suspend.ver:4:1: warning:
this is the location of the previous definition
loop.c: In function `loop_change_fd':
loop.c:720: warning: implicit declaration of function
`kernel_thread_R7e9ebb05'
loop.c:761: warning: label `out_put_all' defined but not used
make[2]: *** [loop.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-24.8.0/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-24.8.0/drivers'
make: *** [_mod_drivers] Error 2



_______________________________________________

Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]