Describe your system a bit, most importantly the kernel version and distribution.
I suspect that kernels newer than 2.6.15(maybe before) lack a SYMBOL_EXPORT
for the dev_ioctl function.

You might try to edit /usr/src/linux/net/core/dev.c and add the following line just after
the dev_ioctl function and recompile the kernel:

EXPORT_SYMBOL(dev_ioctl);

Mind you, I'm not a kernel hacker but this helped, so I could load the lapd.ko module successfully. What other things I broke with this I don't know. On an older install of Suse with kernel version 2.6.13, everything compiled and works fine without any editing.

Regards,

Ales Golob, razvijalec aplikacij
CERIS, Center za razvoj izkaznic in sistemov

Gospodinjska ulica 8, Ljubljana
Tel.: (01) 500 40 00
Fax: (01) 500 40 40
E-mail: [EMAIL PROTECTED]
Splet: http://www.ceris.si



Michael Rack wrote:
What can i do? How can i help.. Thank you very much.

WHILE COMPILING
*** Warning: "dev_ioctl" [/usr/src/visdn-0.0.0/modules/lapd/lapd.ko] undefined!

VISDN_CONFIGURATOR
ioctl(IOC_CREATE): File exists
Cannot create socket: Address family not supported by protocol
Cannot create socket: Address family not supported by protocol
ioctl(IOC_CREATE): File exists
Cannot create socket: Address family not supported by protocol
Cannot create socket: Address family not supported by protocol

ASTERISK CLI
May 5 00:18:30 WARNING[8600]: intf.c:406 visdn_intf_open: Cannot open interface visdn0, skipping May 5 00:18:31 ERROR[8600]: libq931:0 : visdn1: socket(PF_LAPD, ...): Address family not supported by protocol May 5 00:18:31 WARNING[8600]: intf.c:406 visdn_intf_open: Cannot open interface visdn1, skipping May 5 00:18:33 ERROR[8600]: libq931:0 : visdn0: socket(PF_LAPD, ...): Address family not supported by protocol May 5 00:18:33 WARNING[8600]: intf.c:406 visdn_intf_open: Cannot open interface visdn0, skipping May 5 00:18:33 ERROR[8600]: libq931:0 : visdn1: socket(PF_LAPD, ...): Address family not supported by protocol May 5 00:18:33 WARNING[8600]: intf.c:406 visdn_intf_open: Cannot open interface visdn1, skipping May 5 00:18:35 ERROR[8600]: libq931:0 : visdn0: socket(PF_LAPD, ...): Address family not supported by protocol May 5 00:18:35 WARNING[8600]: intf.c:406 visdn_intf_open: Cannot open interface visdn0, skipping May 5 00:18:35 ERROR[8600]: libq931:0 : visdn1: socket(PF_LAPD, ...): Address family not supported by protocol

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to