[Pvfs2-developers] kernel build problems on 64bit RHEL4

David Metheny david.metheny at gmail.com
Thu May 4 12:16:44 EDT 2006


I'm using the current CVS head, and don't see any compile warnings, but for
RHEL3, I'm unable to load the kernel module.

[root]# insmod pvfs2.o
pvfs2.o: unresolved symbol pvfs2_xattr_get_default
pvfs2.o: unresolved symbol pvfs2_xattr_set_trusted
pvfs2.o: unresolved symbol pvfs2_xattr_set_default
pvfs2.o: unresolved symbol pvfs2_xattr_get_trusted
pvfs2.o: unresolved symbol pvfs2_ioctl32_cleanup
pvfs2.o: unresolved symbol pvfs2_ioctl32_init


> -----Original Message-----
> From: pvfs2-developers-bounces at beowulf-underground.org 
> [mailto:pvfs2-developers-bounces at beowulf-underground.org] On 
> Behalf Of Phil Carns
> Sent: Tuesday, April 25, 2006 7:24 AM
> To: Murali Vilayannur
> Cc: PVFS2-developers
> Subject: Re: [Pvfs2-developers] kernel build problems on 64bit RHEL4
> 
> Thanks Murali- it looks like it did the trick!
> 
> -Phil
> 
> Murali Vilayannur wrote:
> > Hi Phil,
> > Thanks!
> > It was indeed a build bug that I caused with the ioctl 32 
> conversions.
> > I have committed a fix for both...
> > Could you give it another try?
> > Thanks,
> > Murali
> > 
> > On Tue, 25 Apr 2006, Phil Carns wrote:
> > 
> > 
> >>Sure thing- its attached to this email.  The redifinition 
> errors might 
> >>be a configure related problem, but I think the translate_dev_map() 
> >>errors are just type mismatches (one caller wants the error 
> code to be 
> >>an int, the other wants it to be a long).
> >>
> >>-Phil
> >>
> >>Murali Vilayannur wrote:
> >>
> >>>Hi Phil,
> >>>Can you send me your pvfs2-config.h? I thought I had fixed this 
> >>>error..<sigh> This is possibly because the configure 
> kernel feature 
> >>>checks dont work right as I had pointed out on some of the 64 bit 
> >>>kernels/setups?
> >>>Thanks,
> >>>Murali
> >>>
> >>>On Tue, 25 Apr 2006, Phil Carns wrote:
> >>>
> >>>
> >>>
> >>>>The current CVS head is giving this build error on a 
> 64bit RHEL4 box 
> >>>>that is running 2.6.9-22.0.1.ELsmp.  Anyone have any ideas?
> >>>>
> >>>>  CC [M]
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs
> >>>>2-req.o
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:
> >>>>In function `pvfs2_translate_dev_map':
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:713:
> >>>>warning: passing arg 2 of `translate_dev_map' from incompatible 
> >>>>pointer type
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:
> >>>>At top level:
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:772:
> >>>>error: redefinition of 'pvfs2_ioctl32_init'
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:735:
> >>>>error: previous definition of 'pvfs2_ioctl32_init' was here
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:777:
> >>>>error: redefinition of 'pvfs2_ioctl32_cleanup'
> >>>>/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-2
> .6/devpvfs2-req.c:756:
> >>>>error: previous definition of 'pvfs2_ioctl32_cleanup' was here
> >>>>make[3]: ***
> >>>>[/home/pcarns/working/pvfs2/vendor/build/src/kernel/linux-
> 2.6/devpvf
> >>>>s2-req.o]
> >>>>Error 1
> >>>>make[2]: ***
> >>>>[_module_/home/pcarns/working/pvfs2/vendor/build/src/kerne
> l/linux-2.
> >>>>6]
> >>>>Error 2
> >>>>make[1]: *** [default] Error 2
> >>>>make: *** [just_kmod] Error 2
> >>>>make: *** Waiting for unfinished jobs....
> >>>>
> >>>>thanks,
> >>>>-Phil
> >>>>_______________________________________________
> >>>>Pvfs2-developers mailing list
> >>>>Pvfs2-developers at beowulf-underground.org
> >>>>http://www.beowulf-underground.org/mailman/listinfo/pvfs2-
> developers
> >>>>
> >>>>
> >>
> >>
> 
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
> 



More information about the Pvfs2-developers mailing list