Aller au contenu principal

SnapApi Compiling errors with 3.9.9-302.fc19.i686.PAE

Thread needs solution

Tried to install the new kernel with snapapi26 version 0.7.69 but always get this compiling errors:

dkms build -m snapapi26 -v 0.7.69

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.9.9-302.fc19.i686.PAE -C /lib/modules/3.9.9-302.fc19.i686.PAE/build SUBDIRS=/var/lib/dkms/snapapi26/0.7.69/build modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.9.9-302.fc19.i686.PAE (i686)
Consult /var/lib/dkms/snapapi26/0.7.69/build/make.log for more information.

cat /var/lib/dkms/snapapi26/0.7.69/build/make.log

DKMS make.log for snapapi26-0.7.69 for kernel 3.9.9-302.fc19.i686.PAE (i686)
Di 16. Jul 13:41:21 CEST 2013
make: Entering directory `/usr/src/kernels/3.9.9-302.fc19.i686.PAE'
CC [M] /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.o
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:8:7: Warnung: »HAVE_LINUX_AUTOCONF« ist nicht definiert [-Wundef]
#elif HAVE_LINUX_AUTOCONF
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:430:7: Warnung: »HAVE_TRY_TO_FREEZE_ONE_ARG« ist nicht definiert [-Wundef]
#elif HAVE_TRY_TO_FREEZE_ONE_ARG
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »sa_cache_save«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:1690:11: Warnung: Zuweisung von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
(entry = map_search(&s->s_groupmap, bno, &entry_page)) :
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:1690:59: Warnung: Zeiger-/Ganzzahltyp passt nicht in bedingtem Ausdruck [standardmäÃig aktiviert]
(entry = map_search(&s->s_groupmap, bno, &entry_page)) :
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »pending_req_handler_thread«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:2114:2: Fehler: Implizite Deklaration der Funktion »daemonize« [-Werror=implicit-function-declaration]
daemonize("pending_bio%x", s->s_kdev);
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »session_getmap«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3339:1: Warnung: Marke »out_copy« definiert, aber nicht verwendet [-Wunused-label]
out_copy:
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »copy_bits_to_user«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3385:4: Warnung: Ãbergabe des Arguments 2 von »constant_test_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
if (test_bit(copy_count, src))
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:318:28: Anmerkung: »const volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
static __always_inline int constant_test_bit(unsigned int nr, const volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3385:4: Warnung: Ãbergabe des Arguments 2 von »variable_test_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
if (test_bit(copy_count, src))
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:324:19: Anmerkung: »const volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
static inline int variable_test_bit(int nr, volatile const unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3386:5: Warnung: Ãbergabe des Arguments 2 von »set_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
set_bit((copy_count + bitno) & 31, &uval);
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:62:1: Anmerkung: »volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
set_bit(unsigned int nr, volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3388:5: Warnung: Ãbergabe des Arguments 2 von »clear_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
clear_bit((copy_count + bitno) & 31, &uval);
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:100:1: Anmerkung: »volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
clear_bit(int nr, volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3401:4: Warnung: Ãbergabe des Arguments 2 von »constant_test_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
if (test_bit(bit, src))
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:318:28: Anmerkung: »const volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
static __always_inline int constant_test_bit(unsigned int nr, const volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3401:4: Warnung: Ãbergabe des Arguments 2 von »variable_test_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
if (test_bit(bit, src))
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:324:19: Anmerkung: »const volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
static inline int variable_test_bit(int nr, volatile const unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3402:5: Warnung: Ãbergabe des Arguments 2 von »set_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
set_bit(bit + bitno, &uval);
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:62:1: Anmerkung: »volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
set_bit(unsigned int nr, volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3404:5: Warnung: Ãbergabe des Arguments 2 von »clear_bit« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
clear_bit(bit + bitno, &uval);
^
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:15:
/usr/src/kernels/3.9.9-302.fc19.i686.PAE/arch/x86/include/asm/bitops.h:100:1: Anmerkung: »volatile long unsigned int *« erwartet, aber Argument hat Typ »unsigned int *«
clear_bit(int nr, volatile unsigned long *addr)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »collect_bitmap_to_user«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3461:3: Warnung: Ãbergabe des Arguments 1 von »copy_bits_to_user« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
ret = copy_bits_to_user(map, bitno, block, copy_count);
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3362:12: Anmerkung: »unsigned int *« erwartet, aber Argument hat Typ »uint8_t *«
static int copy_bits_to_user(unsigned int* map, unsigned long long bitno,
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3461:3: Warnung: Ãbergabe des Arguments 3 von »copy_bits_to_user« von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
ret = copy_bits_to_user(map, bitno, block, copy_count);
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3362:12: Anmerkung: »unsigned int *« erwartet, aber Argument hat Typ »unsigned char *«
static int copy_bits_to_user(unsigned int* map, unsigned long long bitno,
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »session_getsparsedmap«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3508:2: Warnung: Ãbergabe des Arguments 2 von »map_init« erzeugt Ganzzahl von Zeiger ohne Typkonvertierung [standardmäÃig aktiviert]
ret = map_init(s, groups, gcount);
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:1452:12: Anmerkung: »long unsigned int« erwartet, aber Argument hat Typ »struct group_entry *«
static int map_init(struct session_struct* s, unsigned long uaddr, unsigned n)
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:3525:9: Warnung: Zuweisung von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
entry = map_iterator_get_value(&s->s_groupmap);
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: Auf höchster Ebene:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:4573:2: Warnung: Initialisierung von inkompatiblem Zeigertyp [standardmäÃig aktiviert]
unlocked_ioctl: snapapi3_ioctl,
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:4573:2: Warnung: (nahe der Initialisierung für »snapctl_fops.unlocked_ioctl«) [standardmäÃig aktiviert]
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: In Funktion »snapapi_init«:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:4717:1: Warnung: Marke »err_thread« definiert, aber nicht verwendet [-Wunused-label]
err_thread:
^
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c: Auf höchster Ebene:
/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.c:4216:12: Warnung: »snapapi4_ioctl« definiert, aber nicht verwendet [-Wunused-function]
static int snapapi4_ioctl(struct inode *ino, struct file *file, unsigned int cmd,
^
cc1: Einige Warnungen werden als Fehler behandelt
make[1]: *** [/var/lib/dkms/snapapi26/0.7.69/build/snapapi26.o] Fehler 1
make: *** [_module_/var/lib/dkms/snapapi26/0.7.69/build] Fehler 2
make: Leaving directory `/usr/src/kernels/3.9.9-302.fc19.i686.PAE'

so any new snapapi sources there?

0 Users found this helpful

Hello R E,

Thank you for posting this question in our forum. I am happy to assist you.

I want to ask you to create a system report of the affected machine and contact support. You will find all available support options in our Customer handbook.

If there is anything else we can do for you, please let me know.

Thank you.

I'm getting the same error on debian wheezy with kernel 3.9.0.bpo.1-686-pae with snapapi26 0.7.69. I'm getting the same error on daemonize. I grepped my kernel headers as well as the snapapi source and couldn't find a definition anywhere. So any hints?