lkml.org 
[lkml]   [2007]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectUML compile error
    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: 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: 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: 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: 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: 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:46: warning: "SHIFT_HZ" is not defined
    In file included from arch/um/include/sysdep/kernel-offsets.h:2,
    from arch/um/kernel/asm-offsets.c:1:
    include/linux/sched.h: In function 'dequeue_signal_lock':
    include/linux/sched.h:1501: error: implicit declaration of function 'local_irq_save'
    include/linux/sched.h:1503: error: implicit declaration of function 'local_irq_restore'
    In file included from arch/um/kernel/asm-offsets.c:1:
    arch/um/include/sysdep/kernel-offsets.h: In function 'foo':
    arch/um/include/sysdep/kernel-offsets.h:20: error: 'struct thread_struct' has no member named 'arch'
    In file included from arch/um/include/sysdep/kernel-offsets.h:21,
    from arch/um/kernel/asm-offsets.c:1:
    arch/um/include/common-offsets.h:8: error: 'struct thread_struct' has no member named 'regs'
    make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
    make: *** [prepare0] Error 2

    ...

    Regards,

    Gabriel C
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-28 00:53    [W:0.025 / U:48.264 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site