make -C /lib/modules/3.8.0-29-generic/build M=/usr/src/kmod-huawei-voice modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
CC [M] /usr/src/kmod-huawei-voice/option.o
/usr/src/kmod-huawei-voice/option.c:905:16: error: ‘usb_serial_probe’ undeclared here (not in a function)
/usr/src/kmod-huawei-voice/option.c:906:16: error: ‘usb_serial_disconnect’ undeclared here (not in a function)
/usr/src/kmod-huawei-voice/option.c:937:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/kmod-huawei-voice/option.c:937:2: warning: (near initialization for ‘option_1port_device.tiocmget’) [enabled by default]
/usr/src/kmod-huawei-voice/option.c:938:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/kmod-huawei-voice/option.c:938:2: warning: (near initialization for ‘option_1port_device.tiocmset’) [enabled by default]
/usr/src/kmod-huawei-voice/option.c: In function ‘option_init’:
/usr/src/kmod-huawei-voice/option.c:984:2: error: implicit declaration of function ‘usb_serial_register’ [-Werror=implicit-function-declaration]
/usr/src/kmod-huawei-voice/option.c:997:2: error: implicit declaration of function ‘usb_serial_deregister’ [-Werror=implicit-function-declaration]
/usr/src/kmod-huawei-voice/option.c: In function ‘option_instat_callback’:
/usr/src/kmod-huawei-voice/option.c
2: error: implicit declaration of function ‘dbg’ [-Werror=implicit-function-declaration]
/usr/src/kmod-huawei-voice/option.c
6: error: called object ‘err’ is not a function
/usr/src/kmod-huawei-voice/option.c: In function ‘__check_debug’:
/usr/src/kmod-huawei-voice/option.c
1: warning: return from incompatible pointer type [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/kmod-huawei-voice/option.o] Error 1
make[1]: *** [_module_/usr/src/kmod-huawei-voice] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'
make: *** [all] Error 2