[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error with bzImage
Edit the Makefile and change the following 2
lines:
HOSTCC =gcc
CC =$(CROSS_COMPILE)cc -D__KERNEL__ -I$(HPATH)
change the first one to read HOSTCC =kgcc
and the second to (all on one line)
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)
hope this solve your problem, regards
Gustavo Villate
R & D Consultant
ConeXion S.A.
----- Original Message -----
From: "Kaustubh Phanse" <kphanse@ee.vt.edu>
To: <linux-diffserv@lrc.di.epfl.ch>
Sent: Monday, November 27, 2000 11:54 AM
Subject: Error with bzImage
>
> Hello!
>
> I am trying to install diffserv on Linux (RedHat 7.0, kernel
> 2.2.16). After running the kernel.patch successfully and doing make
> xconfig, I first run make dep and then make clean...both run fine.
> However, after running make bzImage it gives me the following errors:
>
> make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make: *** [_dir_kernel] Error 2
>
> Haven't been able to figure out what is causing the problem. :-(
>
> Any comments/suggestions are more than welcome!
>
> Thank you very much.
> regards
> Kaustubh
>
> --------------------------------------------------------------------------
---
> Kaustubh S. Phanse
> Graduate Research Assistant
> Alexandria Research Institute
> Bradley Department of ECpE __ _________
> Virginia Polytechnic Institute & State University \ \ / ___ __/
> Alexandria,VA 22314 \ \/ / / /
> \ / / /
> Email:kphanse@ee.vt.edu \/ /_/
> --------------------------------------------------------------------------
---
> \o/ \o __| \ / |__ o _
> | /\ __\o \o | o/ o/__ /\
> _/_\____|_\_____/)_|______(_\____/o\___/_)____|__(\__/_|
>
>
>
>
>