2002-06-04 07:35:40

by Martin.Knoblauch

[permalink] [raw]
Subject: 2.4.19-pre9-ac3: Build problem

Hi,

the following was observed first on 2.4.19-pre8-ac4, but could have been
in since earlier versions. After patching to -pre9-ac3 I copy a previous
working .config file and do:

make oldconfig
make dep
make bzImage
make modules

This works fine. Next I make a change to the configuration (any change)
and do

make dep clean
make bzimage

bzImage fails with:

gcc -D__KERNEL__ -I/lhome/martink/lx/linux-2.4.19-pre9-ac3-mkn/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include -DKBUILD_BASENAME=compat
-c -o compat.o compat.c
make[3]: *** No rule to make target
`/lhome/martink/lx/linux-2.4.19-pre9-ac3-mkn/drivers/pci/devlist.h',
needed by `names.o'. Stop.
make[3]: Leaving directory
`/lhome/martink/lx/linux-2.4.19-pre9-ac3-mkn/drivers/pci'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory
`/lhome/martink/lx/linux-2.4.19-pre9-ac3-mkn/drivers/pci'
make[1]: *** [_subdir_pci] Error 2
make[1]: Leaving directory
`/lhome/martink/lx/linux-2.4.19-pre9-ac3-mkn/drivers'
make: *** [_dir_drivers] Error 2


Apparently "gen-devlist" is not [re-]build under these circumstances.

Martin
--
------------------------------------------------------------------
Martin Knoblauch | email: [email protected]
TeraPort GmbH | Phone: +49-89-510857-309
C+ITS | Fax: +49-89-510857-111
http://www.teraport.de | Mobile: +49-170-4904759


2002-06-04 14:27:54

by Martin.Knoblauch

[permalink] [raw]
Subject: Re: 2.4.19-pre9-ac3: Build problem

On Tuesday 04 June 2002 09:35, Martin.Knoblauch wrote:
>
> This works fine. Next I make a change to the configuration (any change)
> and do
>
> make dep clean
> make bzimage
>
> bzImage fails with:
>

a kind soul pointed out that I should do:

make clean dep
make bzimage

instead. Works. Learned a new trick :-)

Martin
--
------------------------------------------------------------------
Martin Knoblauch | email: [email protected]
TeraPort GmbH | Phone: +49-89-510857-309
C+ITS | Fax: +49-89-510857-111
http://www.teraport.de | Mobile: +49-170-4904759