UML compile error

Previous thread: Re: Kernel modules compilation by shacky on Friday, July 27, 2007 - 6:52 pm. (3 messages)

Next thread: [PATCH] lzo: Add some missing casts by Richard Purdie on Friday, July 27, 2007 - 7:30 pm. (2 messages)
To: Linux Kernel Mailing List <linux-kernel@...>
Cc: <jdike@...>
Date: Friday, July 27, 2007 - 6:46 pm

Hi,

UML does not compile on current git head.

....
$ make defconfig ARCH=um
[..]
$ make ARCH=um
scripts/kconfig/conf -s arch/um/Kconfig
net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refers to undefined symbol 'HID'
drivers/net/wireless/Kconfig:552:warning: 'select' used by config symbol 'RTL8187' refers to undefined symbol 'EEPROM_93CX6'
SYMLINK arch/um/include/kern_constants.h
CHK arch/um/include/uml-config.h
UPD arch/um/include/uml-config.h
CC arch/um/sys-i386/user-offsets.s
CHK arch/um/include/user_constants.h
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/um/kernel/asm-offsets.s
In file included from include/linux/sched.h:54,
from arch/um/include/sysdep/kernel-offsets.h:2,
from arch/um/kernel/asm-offsets.c:1:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:33:3: error: #error You lose.
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:225:31: error: division by zero in #if
include/linux/jiffies.h:225:31: warn...

To: Gabriel C <nix.or.die@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <jdike@...>
Date: Friday, July 27, 2007 - 7:28 pm

On Sat, 28 Jul 2007 00:46:57 +0200

I suspect your build setup broke. Try `make mrproper' then
have another go.
-

To: Andrew Morton <akpm@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <jdike@...>
Date: Friday, July 27, 2007 - 7:48 pm

Right this auto build tree broke for some reason.

A fresh git tree is fine , sorry for the noise.

Gabriel
-

Previous thread: Re: Kernel modules compilation by shacky on Friday, July 27, 2007 - 6:52 pm. (3 messages)

Next thread: [PATCH] lzo: Add some missing casts by Richard Purdie on Friday, July 27, 2007 - 7:30 pm. (2 messages)