Solved

kernel bzImage and zImage problem

Posted on 2000-02-25
2
455 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

623 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