compilation issues

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

 



Hi. I am trying to compile martian-full-20100123, but get the following error:

make -C kmodule/ modules
make[1]: Entering directory `/code/martian-full-20100123/kmodule'
make -C /lib/modules/3.8.0-23-generic/build
M="/code/martian-full-20100123/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'
  CC [M]  /code/martian-full-20100123/kmodule/martian.o
/code/martian-full-20100123/kmodule/martian.c: In function ‘martian_isr’:
/code/martian-full-20100123/kmodule/martian.c:135:27: warning: value
computed is not used [-Wunused-value]
/code/martian-full-20100123/kmodule/martian.c: At top level:
/code/martian-full-20100123/kmodule/martian.c:596:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘martian_configure_isr’
/code/martian-full-20100123/kmodule/martian.c:618:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘martian_configure_params’
/code/martian-full-20100123/kmodule/martian.c: In function ‘martian_add’:
/code/martian-full-20100123/kmodule/martian.c:715:2: error: implicit
declaration of function ‘martian_configure_isr’
[-Werror=implicit-function-declaration]
/code/martian-full-20100123/kmodule/martian.c:716:2: error: implicit
declaration of function ‘martian_configure_params’
[-Werror=implicit-function-declaration]
/code/martian-full-20100123/kmodule/martian.c: At top level:
/code/martian-full-20100123/kmodule/martian.c:796:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘martian_device_gatherinfo’
/code/martian-full-20100123/kmodule/martian.c:1001:1: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mars_device_probe’
/code/martian-full-20100123/kmodule/martian.c:1039:23: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mars_remove’
In file included from /code/martian-full-20100123/kmodule/martian.c:1045:0:
/code/martian-full-20100123/kmodule/martian_ids.c:11:15: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
/code/martian-full-20100123/kmodule/martian.c:1050:12: error:
‘mars_device_probe’ undeclared here (not in a function)
/code/martian-full-20100123/kmodule/martian.c:1051:2: error: implicit
declaration of function ‘__devexit_p’
[-Werror=implicit-function-declaration]
/code/martian-full-20100123/kmodule/martian.c:1051:26: error:
‘mars_remove’ undeclared here (not in a function)
/code/martian-full-20100123/kmodule/martian.c:1052:14: error:
‘martian_ids’ undeclared here (not in a function)
/code/martian-full-20100123/kmodule/martian.c:1065:23: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘detach_from_serial_class’
/code/martian-full-20100123/kmodule/martian.c:1086:23: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘detach_from_serial’
/code/martian-full-20100123/kmodule/martian.c: In function ‘martian_init’:
/code/martian-full-20100123/kmodule/martian.c:1107:2: error: implicit
declaration of function ‘detach_from_serial’
[-Werror=implicit-function-declaration]
/code/martian-full-20100123/kmodule/martian.c: At top level:
/code/martian-full-20100123/kmodule/martian.c:1127:1: error:
‘__mod_pci_device_table’ aliased to undefined symbol ‘martian_ids’
cc1: some warnings being treated as errors
make[3]: *** [/code/martian-full-20100123/kmodule/martian.o] Error 1
make[2]: *** [_module_/code/martian-full-20100123/kmodule] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/code/martian-full-20100123/kmodule'
make: *** [all] Error 2

My machine is an x86_64 machine with Ubuntu 13.04 (3.8.0-23-generic
#34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux). I have also replaced the Makefile with the one available
from http://www.spinics.net/lists/linmodem/msg12713.html, with not
much difference.

The scanmodem utility returned the following modem info:

CLASS=0780
NAME="Communication controller: Intel Corporation Mobile 4 Series
Chipset MEI Controller "
PCIDEV=8086:2a44
SUBSYS=103c:30eb
IRQ=46
HDA2=00:1b.0
CodecDiagnosed=
slamrTest=
HDAchipVendorID=11c1
CHIP=0x11c11040
CodecClass=
IDENT=agrsm
Driver=agrsm
package=agrsm-11c11040


Regards
Loknath Bharti





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

  Powered by Linux