Solved

kernel bzImage and zImage problem

Posted on 2000-02-25
2
446 Views
Last Modified: 2013-11-13
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/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.0.35/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/include -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/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.0.35/arch/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
0
Comment
Question by:GriffD2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
kiffney earned 200 total points
ID: 2560139
In my 2.2.12  source, checksum.c has been renamed to old-checksum.c, and the routines moved into checksum.S.  Perhaps you installed the new source over an old source tree?   Try deleting the source tree and untarring (or rpm-ing) a new source tar or rpm and your problems should go away.
0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2560318
what do you mean that you have 2.2.14 kernel while the error message shows that you are in the 2.0.35 source tree.
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...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question