No rule to make target 'asm-offsets.c' during make modules_prepare
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Below are the commands run and the error that came up during "make modules_prepare". This is being done on a machine recently upgraded to 8.04 from 7.10.
#uname -r
2.6.24-16-server
#cd /usr/src/
#make mrproper
#cp /boot/config-
#make modules_prepare
HOSTCC scripts/
HOSTCC scripts/
HOSTCC scripts/
HOSTCC scripts/
SHIPPED scripts/
SHIPPED scripts/
SHIPPED scripts/
HOSTCC scripts/
HOSTLD scripts/
scripts/
CHK include/
UPD include/
CHK include/
UPD include/
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `arch/x86/
make: *** [prepare0] Error 2
Same problem here. kernel/ asm-offsets. c', needed by `arch/x86/ kernel/ asm-offsets. s'. Stop.
make[1]: *** No rule to make target `arch/x86/
The error only occures when using the config files from /boot