[Pvfs2-users] compiling latest CVS

Phil Carns carns at mcs.anl.gov
Fri Feb 8 11:00:07 EST 2008


I have no idea why that error would occur.  It looks like the prototypes 
match fine to me but maybe I'm missing something...

-Phil

Emmanuel Florac wrote:
> Just to mention this error  : compiling
> "2.7.1pre1-2008-02-07-173213" with gcc version 4.1.2 20061115
> (prerelease) (Debian 4.1.1-21) I got this :
> 
> 
> CC [M]  /usr/src/pvfs-CVS/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.o
> /usr/src/pvfs-CVS/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.c:1321:
> error: conflicting types for
> 'pvfs_bufmap_copy_to_user_task' /usr/src/pvfs-CVS/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.h:101:
> error: previous declaration of 'pvfs_bufmap_copy_to_user_task' was here
> make[3]: ***
> [/usr/src/pvfs-CVS/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.o] Erreur 1
> make[2]: *** [_module_/usr/src/pvfs-CVS/pvfs2/src/kernel/linux-2.6]
> Erreur 2 make[1]: *** [default] Erreur 2 make: *** [just_kmod] Erreur 2
> 
> I suppose it's gcc 4 getting anal again. I simply commented out the
> #ifdef in the .h and it went on. I'll tell you later how it actually
> runs :)
> 



More information about the Pvfs2-users mailing list