[PVFS-users] RE: Error in compiling pvfs-kernel with gcc-3.4.X

Rob Ross rross at mcs.anl.gov
Wed Jul 21 14:52:37 EDT 2004


Hi Ekow,

What kernel/distribution is this?  Thanks,

Rob

On Wed, 21 Jul 2004, E. Otto wrote:

> Hi,
> In an attempt to recompile pvfs-kernel with gcc-3.4.X, I got a bunch of 
> conflicting type error from "krwsemaphore-spinlock.c" and the prototype
> definitions in rwsemaphore.h. Did any one encounter this before and
> is there a quick fix? The sample errors are shown below: The error
> occurs for all functions enclosed in the FASTCALL() macro.
> ...
> ...
> krwsemaphore-spinlock.c:46: error: conflicting types for 'init_pvfs_rwsem'
> rwsemaphore.h:47: error: previous declaration of 'init_pvfs_rwsem' was here
> krwsemaphore-spinlock.c:46: error: conflicting types for 'init_pvfs_rwsem'
> rwsemaphore.h:47: error: previous declaration of 'init_pvfs_rwsem' was here
> krwsemaphore-spinlock.c:118: error: conflicting types for '__Down_read'
> rwsemaphore.h:48: error: previous declaration of '__Down_read' was here
> krwsemaphore-spinlock.c:118: error: conflicting types for '__Down_read'
> rwsemaphore.h:48: error: previous declaration of '__Down_read' was here
> krwsemaphore-spinlock.c:161: error: conflicting types for 
> '__Down_read_trylock'
> rwsemaphore.h:49: error: previous declaration of '__Down_read_trylock' 
> was here
> krwsemaphore-spinlock.c:161: error: conflicting types for 
> '__Down_read_trylock'
> rwsemaphore.h:49: error: previous declaration of '__Down_read_trylock' 
> was here
> krwsemaphore-spinlock.c:179: error: conflicting types for 
> '__Down_read_interruptible'
> rwsemaphore.h:50: error: previous declaration of 
> '__Down_read_interruptible' was here
> krwsemaphore-spinlock.c:179: error: conflicting types for 
> '__Down_read_interruptible'
> rwsemaphore.h:50: error: previous declaration of 
> '__Down_read_interruptible' was here
> krwsemaphore-spinlock.c:239: error: conflicting types for 
> '__Down_timed_read_interruptible'
> rwsemaphore.h:51: error: previous declaration of 
> '__Down_timed_read_interruptible' was here
> krwsemaphore-spinlock.c:239: error: conflicting types for 
> '__Down_timed_read_interruptible'
> rwsemaphore.h:51: error: previous declaration of 
> '__Down_timed_read_interruptible' was here
> krwsemaphore-spinlock.c:316: error: conflicting types for '__Down_write'
> rwsemaphore.h:52: error: previous declaration of '__Down_write' was here
> _______________________________________________
> PVFS-users mailing list
> PVFS-users at www.beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs-users
> 
> 


More information about the PVFS-users mailing list