Re: mISDN fails to compile

Karsten Keil <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
Hi Dan,

Am 17.06.2012 10:47, schrieb Dan Johansson:
> Hi,
> 
> At last have I come around to play with mISDN again.
> Today I downloaded the latest version from git (git-clone git://git.misdn.org/mISDN.git/).
> Configure went OK but when I try to do "make modules" I get the following error:
> 
> export MISDN_INC=/usr/local/src/mISDN/standalone/include; export MISDN_CFLAGS="-D_MCONFIG_MISDN -D_MCONFIG_MISDN_DSP -D_MCONFIG_MISDN_L1OIP -D_MCONFIG_MISDN_HFCPCI -D_MCONFIG_MISDN_HFCMULTI"; make -C /lib/modules/3.2.12-gentoo/build  _MCONFIG_MISDN=m _MCONFIG_MISDN_DSP=m _MCONFIG_MISDN_L1OIP=m _MCONFIG_MISDN_HFCPCI=m _MCONFIG_MISDN_HFCMULTI=m SUBDIRS=/usr/local/src/mISDN/standalone/drivers/isdn/mISDN modules
> make[3]: Entering directory `/usr/src/linux-3.2.12-gentoo'
>   CC [M]  /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/l1oip_core.o
>   CC [M]  /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/l1oip_codec.o
>   CC [M]  /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/core.o
>   CC [M]  /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/fsm.o
>   CC [M]  /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/socket.o
> /usr/local/src/mISDN/standalone/drivers/isdn/mISDN/socket.c:26:12: error: 'THIS_MODULE' undeclared here (not in a function)
> 
> Any suggestion of misconfiguration on my part or a workaround?
> 
> Oh, by the way, this system is running on kernel 3.2.12 at the moment.
> 

git.misdn.org is outdated because of write access errors - I do not have
admin rights there. So I created git.misdn.eu on my own server last
year, you should use this one instead. Check if the branch is on socket
after clone.

Karsten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.