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

Re: Kernel Compile



Gregory T. Norris Writes..

> If I recall correctly, the upgrade from 1.3.1 to 2.0 removes the -dev
> packages for a number of libraries (for compatibility reasons during the
> upgrade process).  So you probably just need to reinstall the
> appropriate ones.

Like what perhaps !

> Can you post the actual text of the error-messages you're seeing?

Yup sure can.

The 'make dep' and 'make clean' go OK. But upon the 'make zImage' this is
what happens...

 make zImage

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486  -c -o
init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486
-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
set -e; for i in kernel drivers mm fs net ipc lib arch/i386/kernel
arch/i386/mm
arch/i386/lib; do make -C $i; done
make[1]: Entering directory /usr/src/linux/kernel'
make all_targets
make[2]: Entering directory /usr/src/linux/kernel'
updating /usr/src/linux/include/linux/modversions.h
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486
-DMODVERSIONS -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:93: macro basic_version' used with just one arg
ksyms.c:214: macro basic_version' used with just one arg
ksyms.c:386: macro basic_version' used with just one arg
ksyms.c:93: et_module_symbol' undeclared here (not in a function)
ksyms.c:93: initializer element for ymbol_table.symbol[2].addr' is not
constant
ksyms.c:214: 
ake_request' undeclared here (not in a function)
ksyms.c:214: initializer element for ymbol_table.symbol[85].addr' is not
constant
ksyms.c:386: ys_read' undeclared here (not in a function)
ksyms.c:386: initializer element for ymbol_table.symbol[204].addr' is not
constant
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory /usr/src/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory /usr/src/linux/kernel'
make: *** [linuxsubdirs] Error 2



-- 
Nidge Jones


Reply to: