GriffD2004
asked on
kernel bzImage and zImage problem
I have kernel 2.2.14 and when doing a "make zImage" or "make bzImage" i run into the following problem. Skipping most of the messages, i come to this:
make[1]: Entering directory `/usr/src/linux-2.0.35/arc h/i386/lib '
make all_targets
make[2]: Entering directory `/usr/src/linux-2.0.35/arc h/i386/lib '
gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/in clude -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486 -c -o checksum.o checksum.c
make[2]: Leaving directory `/usr/src/linux-2.0.35/arc h/i386/lib '
make[1]: Leaving directory `/usr/src/linux-2.0.35/arc h/i386/lib '
checksum.c:200: redefinition of 'csum_partial_copy'
checksum.c:105: 'csum_partial_copy' previously defined here
{standard input}: Assembler messages:
{standard input}:185: Fatal error: Symbol csum_partial_copy already defined
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory 'usr/src/linux-2.0.35/arch /i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory 'usr/src/linux-2.0.35/arch /i386/lib'
make: *** [dir_arch/i386/lib] Error 2
I did a make dep, clean, and before that even a mrproper. Does anyone know what is causing this problem, and how can i fix it?
Thanx
make[1]: Entering directory `/usr/src/linux-2.0.35/arc
make all_targets
make[2]: Entering directory `/usr/src/linux-2.0.35/arc
gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/in
make[2]: Leaving directory `/usr/src/linux-2.0.35/arc
make[1]: Leaving directory `/usr/src/linux-2.0.35/arc
checksum.c:200: redefinition of 'csum_partial_copy'
checksum.c:105: 'csum_partial_copy' previously defined here
{standard input}: Assembler messages:
{standard input}:185: Fatal error: Symbol csum_partial_copy already defined
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory 'usr/src/linux-2.0.35/arch
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory 'usr/src/linux-2.0.35/arch
make: *** [dir_arch/i386/lib] Error 2
I did a make dep, clean, and before that even a mrproper. Does anyone know what is causing this problem, and how can i fix it?
Thanx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
make sure you have /usr/src/linux point to /usr/src/linux-2.2.14 if the latter contains your 2.2.14 source files.
If not, hum...