Thanks for the reply ... actually, I just found what to do.



Quoted from an earlier post by Jason Costomiris
To get my kernel compile (2.2.17) to use it, I had to change line 25 of the
top-level Makefile in the kernel source tree.  Change "cc" to "kgcc", so it
looks like this:

CC  =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)


Thanks Jason ... :-)

-----Original Message-----
From: Mark Basil [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 9:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Compiling 2.2.17 on RH7


Edit the makefile in the /usr/src/linux directory, and change every 'gcc' to
'kgcc' .  Hope that helps.

--MB

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Charles Boening
Sent: Thursday, September 28, 2000 9:54 PM
To: '[EMAIL PROTECTED]'
Subject: Compiling 2.2.17 on RH7


Anyone having problems accomplishing this?  I've compiled 2.2.17 on RH 6.2
systems with no problems.


make dep seems to go ok, but make bzImage or make zImage fails.
The error I'm getting is:

<snip>
make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__
-traditional -c checksum.S -o checksum.o
checksum.S:231: badly punctuated parameter list in #define
checksum.S:237: badly punctuated parameter list in #define
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2
</snip>

I've visually inspected the lines in question and compared them against the
2.2.17 source on another system that I successfully compiled it on.

I have tried with kernel config defaults and the changes I typically make to
compile in networking, scsi drivers and some masq stuff.

Any thoughts?

Thank you
Charles


/*****************************************************
/* The objective of all dedicated programmers
/* should be to thoroughly analyze all situations,
/* anticipate all problems prior to their occurrence,
/* have answers for these problems, and move swiftly
/* to solve these problems when called upon.
/*
/* However, When you are up to your ass in alligators
/* it is difficult to remind yourself your initial
/* objective was to Drain the Swamp!
/*****************************************************



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to