Hi,

I'm trying to build UML on x86_64 and have run into a compile problem.

Host: Sun v40z, dual Opteron running Redhat Enterprise Linux 4, kernel 2.6.9-5.0.3.ELsmp, gcc version 3.4.3, binutils 2.15.92.

I'm trying to build a UML kernel version 2.6.12-rc4-mm2 with patches from http://user-mode-linux.sourceforge.net/patches.html and keep hitting the following:

  CC      init/main.o
In file included from include/linux/dcache.h:10,
                 from include/linux/fs.h:208,
                 from include/linux/proc_fs.h:6,
                 from init/main.c:17:
include/linux/rcupdate.h: In function `rcu_qsctr_inc':
include/linux/rcupdate.h:118: error: `cpu_pda' undeclared (first use in this function) include/linux/rcupdate.h:118: error: (Each undeclared identifier is reported only once
include/linux/rcupdate.h:118: error: for each function it appears in.)
include/linux/rcupdate.h:118: error: invalid type argument of `unary *'
include/linux/rcupdate.h: In function `rcu_bh_qsctr_inc':
include/linux/rcupdate.h:123: error: `cpu_pda' undeclared (first use in this function)
include/linux/rcupdate.h:123: error: invalid type argument of `unary *'
include/linux/rcupdate.h: In function `rcu_pending':
include/linux/rcupdate.h:154: error: `cpu_pda' undeclared (first use in this function)
include/linux/rcupdate.h:154: error: invalid type argument of `unary *'
include/linux/rcupdate.h:155: error: invalid type argument of `unary *'
In file included from init/main.c:35:
include/linux/kernel_stat.h: In function `kstat_irqs':
include/linux/kernel_stat.h:50: error: `cpu_pda' undeclared (first use in this function)
include/linux/kernel_stat.h:50: error: invalid type argument of `unary *'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

I'm using the default .config (ie make menuconfig ARCH=um and then save without changing anything) as a starting point.

Any help would be greatly appreciated.

Thanks,

Simon

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to