Again,
Problems continue.
A little more info:
This is a stock RH 7.0 install on a newly formatted HD.
kgcc (egcs 2.91.66) is installed. [Note that I do not
understand the rationale about the numbering of the
compilers - physician not computer science major but I'm
learning]
First Question:
The Makefile contains the lines:
---------------------------------------
HOSTCC =gcc
HOSTCFLAGS =-Wall -Wstrict-prototypes -O2
-fomit-frame-pointer
CROSS_COMPILE =
AS =$(CROSS_COMPILE)as
LD =$(CROSS_COMPILE)ld
CC :=$(shell if which $(CROSS_COMPILE)kgcc > /dev/null 2>&1;
then echo $(CROSS_COMPILE)kgcc; else echo
$(CROSS_COMPILE)gcc; fi) -D__KERNEL__ -I$(HPATH)
-------------------------------------------
RedHat docs state that I need to " find a line that looks
like this:
CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
and change it to
CC =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)
The only line that I see in the "Makefile" seems to
infer that kgcc is used [I don't however even attempt to act
as if I understand makefiles. Also, should the line HOSTCC
be changed to kgcc?
----------------------------------------
Second Problem:
As suggested, I tried " make mkproper" and the following
error resulted:
make *** No rule to make target 'mkproper'! Stop
--------------------------------------------
Errors Reported:
ORIGINAL ERRORS during make dep clean zImage
/usr/src/linux/include/kernel_stat.h:47: `smp_num_cpus'
undeclared (first use in this
function
/usr/src/linux/include/kernel_stat.h:47: (Each undeclared
identifier is reported only once
/usr/src/linux/include/kernel_stat.h:47: for each function
it appears in.
make[2]: *** [ksyms.o] Error1
make[2]: leaving directory `/usr/src/linux-2.2.16/kernel'
make[1]: *** [first_rule] Error 2
make[2]: leaving directory `/usr/src/linux-2.2.16/kernel'
--
Bob Hartung
www.radiologygrouppc.com
www.qchealthwatch.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list