linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UML compile error
@ 2002-09-25 10:56 adam
  2002-09-26  6:36 ` Oleg Drokin
  0 siblings, 1 reply; 10+ messages in thread
From: adam @ 2002-09-25 10:56 UTC (permalink / raw)
  To: linux-kernel

I tried to test UML, and tried 2.5.36 through to 38, but have been
unable to comile it. I tried using the default config, as well as
my own config, but both 37 and 38 give the following error.

  gcc -Wp,-MD,./.sched.o.d -D__KERNEL__ -I/usr/src/linux-2.5.38/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing -fno-common -g  -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/usr/src/linux-2.5.38/arch/um/include -Derrno=kernel_errno -nostdinc -iwithprefix include    -fno-omit-frame-pointer -DKBUILD_BASENAME=sched   -c -o sched.o sched.c
In file included from /usr/src/linux-2.5.38/include/asm/irq.h:9,
                 from /usr/src/linux-2.5.38/include/linux/nmi.h:7,
                 from sched.c:20:
/usr/src/linux-2.5.38/include/asm/arch/irq.h:16:25: irq_vectors.h: No such file or directory
make[1]: *** [sched.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.38/kernel'
make: *** [kernel] Error 2

    Adam


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML compile error
  2002-09-25 10:56 UML compile error adam
@ 2002-09-26  6:36 ` Oleg Drokin
  0 siblings, 0 replies; 10+ messages in thread
From: Oleg Drokin @ 2002-09-26  6:36 UTC (permalink / raw)
  To: adam; +Cc: linux-kernel

Hello!

On Wed, Sep 25, 2002 at 08:56:04PM +1000, adam@skullslayer.rod.org wrote:
> I tried to test UML, and tried 2.5.36 through to 38, but have been
> unable to comile it. I tried using the default config, as well as
> my own config, but both 37 and 38 give the following error.
>   gcc -Wp,-MD,./.sched.o.d -D__KERNEL__ -I/usr/src/linux-2.5.38/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing -fno-common -g  -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/usr/src/linux-2.5.38/arch/um/include -Derrno=kernel_errno -nostdinc -iwithprefix include    -fno-omit-frame-pointer -DKBUILD_BASENAME=sched   -c -o sched.o sched.c
> In file included from /usr/src/linux-2.5.38/include/asm/irq.h:9,
>                  from /usr/src/linux-2.5.38/include/linux/nmi.h:7,
>                  from sched.c:20:
> /usr/src/linux-2.5.38/include/asm/arch/irq.h:16:25: irq_vectors.h: No such file or directory
> make[1]: *** [sched.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.5.38/kernel'
> make: *** [kernel] Error 2

You need to apply a uml-patch-2.5.38-1.bz2 available from somewhere at
http://user-mode-linux.sf.net

Also you need below patch to fix makefiles.

Bye,
    Oleg

===== arch/um/Makefile 1.3 vs edited =====
--- 1.3/arch/um/Makefile	Tue Sep 24 15:37:03 2002
+++ edited/arch/um/Makefile	Tue Sep 24 16:12:46 2002
@@ -30,15 +30,10 @@
 LINK_PROFILE = $(PROFILE) -Wl,--wrap,__monstartup
 endif
 
-ARCH_SUBDIRS = $(ARCH_DIR)/drivers $(ARCH_DIR)/kernel \
-	$(ARCH_DIR)/sys-$(SUBARCH) $(ARCH_DIR)/os-$(OS)
-
-SUBDIRS += $(ARCH_SUBDIRS)
-
 core-y			+= $(ARCH_DIR)/kernel/		 \
-			+= $(ARCH_DIR)/drivers/          \
-			+= $(ARCH_DIR)/sys-$(SUBARCH)/	 \
-			+= $(ARCH_DIR)/os-$(OS)/
+			   $(ARCH_DIR)/drivers/          \
+			   $(ARCH_DIR)/sys-$(SUBARCH)/	 \
+			   $(ARCH_DIR)/os-$(OS)/
 
 libs-$(CONFIG_PT_PROXY)	+= $(ARCH_DIR)/ptproxy/
 
@@ -63,7 +58,9 @@
 	-DELF_ARCH=$(ELF_ARCH) -DELF_FORMAT=\"$(ELF_FORMAT)\"
 
 LD_vmlinux = $(CC) 
-LDFLAGS_vmlinux = $(LINK_PROFILE) $(LINK_WRAPS) -static $(ARCH_DIR)/main.o 
+LDFLAGS_vmlinux = $(LINK_PROFILE) $(LINK_WRAPS) -static $(ARCH_DIR)/main.o -L/usr/lib
+
+LIBS += -lutil
 
 SYMLINK_HEADERS = include/asm-um/archparam.h include/asm-um/system.h \
 	include/asm-um/sigcontext.h include/asm-um/processor.h \
===== arch/um/Makefile-os-Linux 1.1 vs edited =====
--- 1.1/arch/um/Makefile-os-Linux	Fri Sep  6 21:29:28 2002
+++ edited/arch/um/Makefile-os-Linux	Tue Sep 24 15:56:31 2002
@@ -4,4 +4,3 @@
 #
 
 SUBDIRS += $(ARCH_DIR)/os-$(OS)/drivers
-LIBS += $(ARCH_DIR)/os-$(OS)/drivers/drivers.o
===== arch/um/kernel/Makefile 1.2 vs edited =====
--- 1.2/arch/um/kernel/Makefile	Mon Sep 23 03:40:07 2002
+++ edited/arch/um/kernel/Makefile	Tue Sep 24 15:49:48 2002
@@ -10,7 +10,6 @@
 	umid.o user_util.o
 
 obj-$(CONFIG_BLK_DEV_INITRD) += initrd_kern.o initrd_user.o
-endif
 
 # user_syms.o not included here because Rules.make has its own ideas about
 # building anything in export-objs

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: uml compile error
  2008-02-13 22:24 ` Rafael J. Wysocki
@ 2008-02-13 22:28   ` Adrian Bunk
  0 siblings, 0 replies; 10+ messages in thread
From: Adrian Bunk @ 2008-02-13 22:28 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Miklos Szeredi, jdike, user-mode-linux-devel, linux-kernel

On Wed, Feb 13, 2008 at 11:24:31PM +0100, Rafael J. Wysocki wrote:
> On Friday, 8 of February 2008, Adrian Bunk wrote:
> > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> > 
> > <-- snip  -->
> > 
> > ...
> >   CC      fs/hostfs/hostfs_kern.o
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> > make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> > 
> > <--  snip  -->
> 
> Has it been fixed in the mainline?

Yes.

> Rafael

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: uml compile error
  2008-02-08 22:32 uml " Adrian Bunk
  2008-02-09  0:05 ` Jiri Kosina
@ 2008-02-13 22:24 ` Rafael J. Wysocki
  2008-02-13 22:28   ` Adrian Bunk
  1 sibling, 1 reply; 10+ messages in thread
From: Rafael J. Wysocki @ 2008-02-13 22:24 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Miklos Szeredi, jdike, user-mode-linux-devel, linux-kernel

On Friday, 8 of February 2008, Adrian Bunk wrote:
> Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> 
> <-- snip  -->
> 
> ...
>   CC      fs/hostfs/hostfs_kern.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> 
> <--  snip  -->

Has it been fixed in the mainline?

Rafael

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: uml compile error
  2008-02-09  0:05 ` Jiri Kosina
@ 2008-02-09  0:25   ` Adrian Bunk
  0 siblings, 0 replies; 10+ messages in thread
From: Adrian Bunk @ 2008-02-09  0:25 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Adrian Bunk, Miklos Szeredi, jdike, user-mode-linux-devel,
	linux-kernel, Andrew Morton

On Sat, Feb 09, 2008 at 01:05:15AM +0100, Jiri Kosina wrote:
> On Sat, 9 Feb 2008, Adrian Bunk wrote:
> 
> > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> > <-- snip  -->
> > ...
> >   CC      fs/hostfs/hostfs_kern.o
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function 'hostfs_show_options':
> > /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> > make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
> 
> I guess we need this one?
> 
> 
> 
> From: Jiri Kosina <jkosina@suse.cz>
> 
> UML: fix hostfs build
>...

Thanks that fixed it.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: uml compile error
  2008-02-08 22:32 uml " Adrian Bunk
@ 2008-02-09  0:05 ` Jiri Kosina
  2008-02-09  0:25   ` Adrian Bunk
  2008-02-13 22:24 ` Rafael J. Wysocki
  1 sibling, 1 reply; 10+ messages in thread
From: Jiri Kosina @ 2008-02-09  0:05 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Miklos Szeredi, jdike, user-mode-linux-devel, linux-kernel,
	Andrew Morton

On Sat, 9 Feb 2008, Adrian Bunk wrote:

> Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:
> <-- snip  -->
> ...
>   CC      fs/hostfs/hostfs_kern.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function 'hostfs_show_options':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
> make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1

I guess we need this one?



From: Jiri Kosina <jkosina@suse.cz>

UML: fix hostfs build

We need to include mount.h to get vfsmount.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>

diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index d0549cb..5222345 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -12,6 +12,7 @@
 #include <linux/pagemap.h>
 #include <linux/statfs.h>
 #include <linux/seq_file.h>
+#include <linux/mount.h>
 #include "hostfs.h"
 #include "init.h"
 #include "kern.h"

^ permalink raw reply	[flat|nested] 10+ messages in thread

* uml compile error
@ 2008-02-08 22:32 Adrian Bunk
  2008-02-09  0:05 ` Jiri Kosina
  2008-02-13 22:24 ` Rafael J. Wysocki
  0 siblings, 2 replies; 10+ messages in thread
From: Adrian Bunk @ 2008-02-08 22:32 UTC (permalink / raw)
  To: Miklos Szeredi, jdike; +Cc: user-mode-linux-devel, linux-kernel

Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml:

<-- snip  -->

...
  CC      fs/hostfs/hostfs_kern.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’:
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type
make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML compile error
  2007-07-27 23:28 ` Andrew Morton
@ 2007-07-27 23:48   ` Gabriel C
  0 siblings, 0 replies; 10+ messages in thread
From: Gabriel C @ 2007-07-27 23:48 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List, jdike

Andrew Morton wrote:
> On Sat, 28 Jul 2007 00:46:57 +0200
> Gabriel C <nix.or.die@googlemail.com> wrote:
> 
>> 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
> 
> I suspect your build setup broke.  Try `make mrproper' then
> have another go.
> 

Right this auto build tree broke for some reason.

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


Gabriel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: UML compile error
  2007-07-27 22:46 Gabriel C
@ 2007-07-27 23:28 ` Andrew Morton
  2007-07-27 23:48   ` Gabriel C
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2007-07-27 23:28 UTC (permalink / raw)
  To: Gabriel C; +Cc: Linux Kernel Mailing List, jdike

On Sat, 28 Jul 2007 00:46:57 +0200
Gabriel C <nix.or.die@googlemail.com> wrote:

> 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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* UML compile error
@ 2007-07-27 22:46 Gabriel C
  2007-07-27 23:28 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Gabriel C @ 2007-07-27 22:46 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: jdike

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-13 22:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 10:56 UML compile error adam
2002-09-26  6:36 ` Oleg Drokin
2007-07-27 22:46 Gabriel C
2007-07-27 23:28 ` Andrew Morton
2007-07-27 23:48   ` Gabriel C
2008-02-08 22:32 uml " Adrian Bunk
2008-02-09  0:05 ` Jiri Kosina
2008-02-09  0:25   ` Adrian Bunk
2008-02-13 22:24 ` Rafael J. Wysocki
2008-02-13 22:28   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).