|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] solution to xen_pcpu_index error
 
Hi,
When compiling dom0 kernel, I came across the ERROR: "xen_pcpu_index"
[drivers/acpi/processor.ko] undefined reference.
(drivers/acpi/processor_xen.c)
xen_pcpu_index is an extern function defined in drivers/xen/pcpu.c,
which will be used by processor_xen.c.    If xen drivers are not
included in .config, pcpu.o will not be generated and thus that
undefined reference will occur.
Solution: included all modules(especially drivers) required by XEN in
.config[more details in
http://wiki.xensource.com/xenwiki/XenParavirtOps]. Meanwhile if
necessary drivers are not built, dom0 cannot work. Here is a reference
.config file(for x86_64): http://pastebin.com/NAV1iUG3 (thank Fajar
for providing this link)
Hope this help!
-- 
Liu
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] solution to xen_pcpu_index error,
John Liu <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |