|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] Re: Xen and reiser4
 
 
Hi all
Thanks to Milan I am able to get further with xen and reiser4
- In swap line 6 and 7 status_flags.c
  #include <linux/bio.h>
  #include <linux/page-flags.h>
 - PACKED is redefined, but the definitions are the same, so the gcc 
warning can be ignored IMO
   dformat.h:#define PACKED __attribute__((packed))
   xen.h:#define PACKED __attribute__ ((packed))
 
 
  
 
Yup, these 2 are the same, I just didn't recall whether they were
exactly the same.  And I renamed reiser4's definition (and its usage
inside reiser4) because the messages caused by it somehow prevented me
 from seeing the actual error  :) 
 however during linking I get this, and I could'nt find 
perthread_pages_count anywher in the kernel
src tree
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o(.text+0x37701): In function `carry':
: undefined reference to `perthread_pages_count'
fs/built-in.o(.text+0x3771e): In function `carry':
: undefined reference to `perthread_pages_reserve'
fs/built-in.o(.text+0x37821): In function `carry':
: undefined reference to `perthread_pages_count'
fs/built-in.o(.text+0x3782f): In function `carry':
: undefined reference to `perthread_pages_release'
make: *** [.tmp_vmlinux1] Error 1
 
 
  
 
Now this is strange.  In my sources with xen+reiser4, I get these three
occurences which are defining this symbol:
| ./include/linux/gfp.h:int  perthread_pages_count(void);
| ./mm/page_alloc.c:int perthread_pages_count(void)
| ./mm/page_alloc.c:EXPORT_SYMBOL(perthread_pages_count);
(where the first is defining the function for use in other files, the
second will be followed by the actual code of the function, and the
third exports the function as a symbol which is callable by other
modules)
I don't think xen doesn't use page_alloc.c (in addition, it got built in
my xen tree), so maybe you want to try a "make mrproper"? (put backup
your .config before this, or do a "make clean"...)
 
 
 No matter what I do (mrproper, different reiser4 patches, untar from 
clean src+patch) I always
get this error on 2 machines, clean 2.6.9 without patches builts 
correctly. Any clues?
TIA
Ming-Wei
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] Re: Xen and reiser4,
Ming-Wei Shih <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |