[Pvfs2-users] Problem building kmod on OpenSuSE 11.1 with Xen

Luke Jing Yuan jyluke at mimos.my
Tue Mar 10 23:41:09 EST 2009


Dear all,

Sorry if this had been addresses as I am unable to find any solutions so far.

I have downloaded version 2.8.1 and trying to get it compile on OpenSuSe 11.1 with Xen (2.6.27.19-3.2-xen). Standard build is fine but I got into problems when I start to build kmod which result into the errors attached below. Just wondering if I have missed out any during configure. Any help is much appreciated. Thanks in advance.

Regards,
Luke

make -C ../../../linux-2.6.27.19-3.2 O=/usr/src/linux-2.6.27.19-3.2-obj/x86_64/xen/. modules
  CC [M]  /home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.o
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pvfs2_kmem_cache_t'
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'op_cache_initialize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:49: error: 'op_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:49: error: (Each undeclared identifier is reported only once
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:49: error: for each function it appears in.)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'op_cache_finalize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:72: error: 'op_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'op_alloc_common':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:145: error: 'op_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'op_release':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:197: error: 'op_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: At top level:
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:214: error: expected declaration specifiers or '...' before 'pvfs2_kmem_cache_t'
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'dev_req_cache_initialize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:224: error: 'dev_req_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:230: warning: passing argument 5 of 'kmem_cache_create' from incompatible pointer type
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'dev_req_cache_finalize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:242: error: 'dev_req_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'dev_req_alloc':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:254: error: 'dev_req_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'dev_req_release':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:266: error: 'dev_req_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: At top level:
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:283: error: expected declaration specifiers or '...' before 'pvfs2_kmem_cache_t'
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'pvfs2_inode_cache_initialize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:328: error: 'pvfs2_inode_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:334: warning: passing argument 5 of 'kmem_cache_create' from incompatible pointer type
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'pvfs2_inode_cache_finalize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:353: error: 'pvfs2_inode_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'pvfs2_inode_alloc':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:374: error: 'pvfs2_inode_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'pvfs2_inode_release':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:391: error: 'pvfs2_inode_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: At top level:
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:409: error: expected declaration specifiers or '...' before 'pvfs2_kmem_cache_t'
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'kiocb_cache_initialize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:420: error: 'pvfs2_kiocb_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:426: warning: passing argument 5 of 'kmem_cache_create' from incompatible pointer type
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'kiocb_cache_finalize':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:438: error: 'pvfs2_kiocb_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'kiocb_alloc':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:450: error: 'pvfs2_kiocb_cache' undeclared (first use in this function)
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c: In function 'kiocb_release':
/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.c:462: error: 'pvfs2_kiocb_cache' undeclared (first use in this function)
make[5]: *** [/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-cache.o] Error 1
make[4]: *** [_module_/home/jyluke/pvfs-2.8.1/src/kernel/linux-2.6] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2


------------------------------------------------------------------
-
-
DISCLAIMER: 

This e-mail (including any attachments) may contain confidential
information. 
If you are not the intended recipient, you are hereby notified that any
dealing, 
review, distribution, printing, copying or use of this e-mail is
strictly prohibited. 
If you have received this email in error, please notify the sender or
MIMOS Berhad 
immediately and delete the original message. Opinions, conclusions and
other 
information in this e-mail that do not relate to the official business
of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS 
Berhad and/or its subsidiaries and neither MIMOS Berhad nor its
subsidiaries accepts 
responsibility for the same. All liability arising from or in connection
with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20090311/e9b7d50f/attachment.htm


More information about the Pvfs2-users mailing list