[BUG] Linux-2.6.33.3-rt19 Compile Error With PohmelFS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tarkan Erimer
Date: Monday, May 3, 2010 - 2:40 am

This is an openSUSE 11.3 Milestone 6 with GCC-4.5. When I tried to compile, I 
got the following error message related to inode.c. 

Tarkan

  CC      drivers/staging/staging.o
  LD      drivers/staging/built-in.o
  LD      drivers/staging/pohmelfs/built-in.o
  CC [M]  drivers/staging/pohmelfs/inode.o
drivers/staging/pohmelfs/inode.c: In function ‘pohmelfs_put_super’:
drivers/staging/pohmelfs/inode.c:1293:3: warning: passing argument 1 of 
‘atomic_read’ from incompatible pointer type
/usr/src/linux-2.6.33.3/arch/x86/include/asm/atomic_64.h:21:19: note: expected 
‘const struct atomic_t *’ but argument is of type ‘unsigned int *’
drivers/staging/pohmelfs/inode.c:1296:6: warning: passing argument 1 of 
‘atomic_read’ from incompatible pointer type
/usr/src/linux-2.6.33.3/arch/x86/include/asm/atomic_64.h:21:19: note: expected 
‘const struct atomic_t *’ but argument is of type ‘unsigned int *’
drivers/staging/pohmelfs/inode.c:1297:4: warning: passing argument 1 of 
‘atomic_read’ from incompatible pointer type
/usr/src/linux-2.6.33.3/arch/x86/include/asm/atomic_64.h:21:19: note: expected 
‘const struct atomic_t *’ but argument is of type ‘unsigned int *’
drivers/staging/pohmelfs/inode.c:1305:2: error: request for member ‘next’ in 
something not a structure or union
drivers/staging/pohmelfs/inode.c:1305:2: warning: comparison of distinct 
pointer types lacks a cast
drivers/staging/pohmelfs/inode.c:1317:3: warning: passing argument 1 of 
‘atomic_read’ from incompatible pointer type
/usr/src/linux-2.6.33.3/arch/x86/include/asm/atomic_64.h:21:19: note: expected 
‘const struct atomic_t *’ but argument is of type ‘unsigned int *’
make[5]: *** [drivers/staging/pohmelfs/inode.o] Error 1
make[4]: *** [drivers/staging/pohmelfs] Error 2
make[3]: *** [drivers/staging] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [binrpm-pkg] Error 2
make: *** [binrpm-pkg] Error 2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] Linux-2.6.33.3-rt19 Compile Error With PohmelFS, Tarkan Erimer, (Mon May 3, 2:40 am)