Compilation-error with kernel 3.11.6-4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

first of all: merry christmas to all of yiu!

I upgraded my openSuse from 12.3 to 13.1 and get now errors when dkms
tries to make the slmodem. Is there a new version of slmodem?

Thanks and regards,
DKMS make.log for sl-modem-2.9.11~20110321 for kernel 3.11.6-4-default (i586)
Wed Dec 25 09:36:50 CET 2013
make: Entering directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
doing kernel-ver::
cc -I/lib/modules/3.11.6-4-default/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=3.11.6-4-default
make[1]: Entering directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
	obj-m=slamr.o  slusb.o 
	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/3.11.6-4-default/build SUBDIRS=/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers
make[2]: Entering directory `/usr/src/linux-3.11.6-4-obj/i386/default'
  CC [M]  /var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.o
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c:250:46: error: expected â??=â??, â??,â??, â??;â??, â??asmâ?? or â??__attribute__â?? before â??__devinitdataâ??
 static struct pci_device_id amrmo_pci_tbl [] __devinitdata = {
                                              ^
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c:728:14: error: â??amrmo_pci_tblâ?? undeclared here (not in a function)
  .id_table = amrmo_pci_tbl,
              ^
In file included from /var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c:57:0:
/usr/src/linux-3.11.6-4/include/linux/module.h:87:32: error: â??__mod_pci_device_tableâ?? aliased to undefined symbol â??amrmo_pci_tblâ??
 extern const struct gtype##_id __mod_##gtype##_table  \
                                ^
/usr/src/linux-3.11.6-4/include/linux/module.h:140:3: note: in expansion of macro â??MODULE_GENERIC_TABLEâ??
   MODULE_GENERIC_TABLE(type##_device,name)
   ^
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c:319:1: note: in expansion of macro â??MODULE_DEVICE_TABLEâ??
 MODULE_DEVICE_TABLE (pci, amrmo_pci_tbl);
 ^
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c: In function â??amrmo_unlocked_ioctlâ??:
/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.c:450:17: warning: ignoring return value of â??copy_from_userâ??, declared with attribute warn_unused_result [-Wunused-result]
   copy_from_user(&arg, (unsigned long *)parg, sizeof(arg));
                 ^
make[5]: *** [/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers/amrmo_init.o] Error 1
make[4]: *** [_module_/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-3.11.6-4-obj/i386/default'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
make: *** [all] Error 2
make: Leaving directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
make: Entering directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem'
make modules -C /lib/modules/3.11.6-4-default/build SUBDIRS=/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem
make[1]: Entering directory `/usr/src/linux-3.11.6-4-obj/i386/default'
  CC [M]  /var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.o
/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.c:48:50: error: expected â??=â??, â??,â??, â??;â??, â??asmâ?? or â??__attribute__â?? before â??__devinitdataâ??
 static struct pci_device_id softmodem_pci_tbl [] __devinitdata = {
                                                  ^
/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.c: In function â??softmodem_release_initâ??:
/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.c:84:19: error: â??softmodem_pci_tblâ?? undeclared (first use in this function)
   if(pci_match_id(softmodem_pci_tbl, dev) && pci_dev_driver(dev) &&
                   ^
/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.c:84:19: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem/ungrab-winmodem.o] Error 1
make[3]: *** [_module_/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.11.6-4-obj/i386/default'
make: *** [all] Error 2
make: Leaving directory `/var/lib/dkms/sl-modem/2.9.11~20110321/build/ungrab-winmodem'

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux