Re: [PATCH] compile with kernel 3.9.7 stops with error (solved)
Tamer Higazi <th982a-gM/[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
I think, having solved the problem! Taking out the softecho canceller module that causes me headache. It was the dsp_octaware module let it compile without errors to the end! following I did: Inside "drivers/isdn/mISDN" I modified the Makefile: Line 8: removing "mISDN_dsp_octwareec.o" Line 9 and 25: commenting out the line going back to the base folder: make modules (as user) make modules_install (as root) before loading the modules, otherwise it won't do it... executing "depmod" and loading: modprobe mISDN_core modprobe hfcmulti modprobe mISDN_dsp mISDNuser compiled without any problems at all! Thanks a lot people! Tamer On 09/26/13 19:45, Tamer Higazi wrote: > Okay... seems to work until there is the next error, compiling the > mISDN_dsp module. > > > /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c: In > function 'octvqe_init': > /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1174:5: > error: implicit declaration of function 'create_proc_entry' > [-Werror=implicit-function-declaration] > /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1174:16: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.c:1176:12: > error: dereferencing pointer to incomplete type > cc1: some warnings being treated as errors > make[5]: *** > [/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe/octvqe_linux.o] > Error 1 > make[4]: *** [/usr/local/src/mISDN/standalone/drivers/isdn/mISDN/octvqe] > Error 2 > make[3]: *** > [_module_/usr/local/src/mISDN/standalone/drivers/isdn/mISDN] Error 2 > make[3]: Leaving directory `/usr/src/linux-headers-3.11.0-amd' > make[2]: *** [modules_] Error 2 > make[2]: Leaving directory `/usr/local/src/mISDN/standalone' > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/local/src/mISDN/standalone' > > > Any ideas what could be the error? > > Is it a GCC or glib problem ? > > My GCC version is: > gcc (Debian 4.7.2-5) 4.7.2 > > > > Tamer