Skip to contentSkip to conversation

2.4.19-pre9-ac3: Build problem

DISCUSSION Martin.Knoblauch 1 participant 2 messages Jun 4, 2002

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
------------------------------------------------------------------
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
#1 lore raw
Quoted 9 lines · Martin.Knoblauch

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

Signature · 5 lines
------------------------------------------------------------------
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