Skip to contentSkip to conversation

Failed to build latest git revision

DISCUSSION Stefano Esposito 2 participants 2 messages Aug 31, 2007

lore
Share & tools
lore
#0 lore raw

I've just git pull git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

after

$ make clean
$ make menuconfig

make fails with:

$ make
scripts/kconfig/conf -s arch/i386/Kconfig

*** Error during writing of the kernel configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target include/config/auto.conf', needed by include/config/kernel.release'. Stop.

I've tried remaking clean and with make randconfig, got the same error, then i just zcat /proc/config.gz > .config

$make silentoldconfig fails with:
scripts/kconfig/conf -s arch/i386/Kconfig

*** Error during writing of the kernel configuration.

make[1]: *** [silentoldconfig] Error 1
make: *** [silentoldconfig] Error 2

Doing
$make oldconfig
$make
fails with:
scripts/kconfig/conf -s arch/i386/Kconfig

*** Error during writing of the kernel configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target include/config/auto.conf', needed by include/config/kernel.release'. Stop.

Attached my .config

Signature · 10 lines
Stefano Esposito

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Vendi ciò che vuoi con il canale annunci di Email.it. Inserisci il tuo annuncio gratuitamente!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6890&d=31-8
#1 lore raw
Quoted 11 lines · Stefano Esposito

I've just git pull git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

after

$ make clean
$ make menuconfig

make fails with:

$ make
scripts/kconfig/conf -s arch/i386/Kconfig

*** Error during writing of the kernel configuration.

Looks like you lack write access to either .config, include/config/auto.conf or a temporary file.
Did you build the kernel as root previously?

To clean up all files you can do:
copy .config save.config
make mrproper
mv save.confif .config

(And I use copy when backing up .config to avoid inherit permissions from original .config file

Sam