[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error with bzImage
Hi
Make a backup of ".config" then do a make mrproper. Copy .config back and do
a make config then as usual make dep; make clean; make bzImage; make modules;
make modules_install.
It is important to do a make config.. You can just do a make menuconfig and
then save and exit just to get it up right...
Maybe this will help..
The best thing is to install kernel 2.4.0-test11.. This work very nice....
Petter Larsen
On Wednesday 29 November 2000 00:02, you wrote:
> Hi! Gustavo,
>
> Sorry, but this didn't seem to help! I did change the HOSTCC to
> kgcc. However, the second line was already exactly as you mentioned, and
> hence did not change it...haven't been able to track the problem as yet!
>
> Thanks a lot!
> Kaustubh
>
> --------------------------------------------------
>
> On Mon, 27 Nov 2000, Gustavo Villate wrote:
> > 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\___/_)____|__(\__/_|
--
================,,,=========================
===============(o o)========================
===========oOO==(_)==OOo====================
Petter Larsen
Institutt for informatikk,
Universitetet i Oslo
sveinpe@ifi.uio.no
http://www.stud.ifi.uio.no/~sveinpe
Linux is best..:-)
===========ooooO==Ooooo=====================
===========( )==( )=====================
============\ (====) /======================
=============\_)==(_/=======================
-------------------------------------------------------
--
================,,,=========================
===============(o o)========================
===========oOO==(_)==OOo====================
Petter Larsen
Institutt for informatikk,
Universitetet i Oslo
sveinpe@ifi.uio.no
http://www.stud.ifi.uio.no/~sveinpe
Linux is best..:-)
===========ooooO==Ooooo=====================
===========( )==( )=====================
============\ (====) /======================
=============\_)==(_/=======================