UML dead with current -git?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Tuesday, September 18, 2007 - 11:14 am

Hello everybody,

I'm trying to build a UML machine on x86-64 (config attached) 
but I'm getting compile errors.


What am I doing wrong?

	make allnoconfig ARCH=um
	make menuconfig ARCH=um
selected a few options
	make -j 5 ARCH=um
	..
	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:1506: error: implicit declaration of function 'local_irq_save'
	include/linux/sched.h:1508: error: implicit declaration of function 'local_irq_restore'
	In file included from include/linux/crypto.h:21,
                 from arch/um/include/sysdep/kernel-offsets.h:5,
                 from arch/um/kernel/asm-offsets.c:1:
	include/linux/module.h: At top level:
	include/linux/module.h:222: error: requested alignment is not a constant
	In file included from arch/um/kernel/asm-offsets.c:1:
	arch/um/include/sysdep/kernel-offsets.h:25:29: error: asm/arch/unistd.h: No such file or directory
	In file included from arch/um/include/sysdep/kernel-offsets.h:30,
                 from arch/um/kernel/asm-offsets.c:1:
	arch/um/include/common-offsets.h: In function 'foo':
	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


Thank you for all help.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UML dead with current -git?, Philipp Marek, (Tue Sep 18, 11:14 am)
Re: UML dead with current -git?, Jeff Dike, (Tue Sep 18, 1:13 pm)
Re: UML dead with current -git?, Philipp Marek, (Tue Sep 18, 2:09 pm)
Re: UML dead with current -git?, Sam Ravnborg, (Tue Sep 18, 1:55 pm)
Re: UML dead with current -git?, Jeff Dike, (Tue Sep 18, 9:35 pm)
Re: UML dead with current -git?, Philipp Marek, (Wed Sep 19, 8:43 am)
Re: UML dead with current -git?, Randy Dunlap, (Wed Sep 19, 11:50 am)
Re: UML dead with current -git?, Philipp Marek, (Wed Sep 19, 12:17 pm)
Re: UML dead with current -git?, Randy Dunlap, (Wed Sep 19, 1:47 pm)
Re: UML dead with current -git?, Ph. Marek, (Thu Sep 20, 1:42 am)
Re: UML dead with current -git?, Randy Dunlap, (Thu Sep 20, 12:35 pm)
Re: UML dead with current -git?, Jeff Dike, (Wed Sep 19, 2:05 pm)
Re: UML dead with current -git?, Ph. Marek, (Thu Sep 20, 1:44 am)
Re: UML dead with current -git?, Sam Ravnborg, (Thu Sep 20, 3:01 am)
Re: UML dead with current -git?, Philipp Marek, (Thu Sep 20, 3:25 am)
Re: UML dead with current -git?, Sam Ravnborg, (Thu Sep 20, 4:26 am)