[Home]

Summary:DAHLIN-00138: problem compiling dahdi-linux 2.2.02 on a 2.6.31-git3 linux kernel
Reporter:Vittorio Manfredini (vitsoft)Labels:
Date Opened:2009-08-20 02:09:49Date Closed:2009-12-14 15:53:35.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:dahdi (the module)
Versions:2.2.0.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I tried to compile the latest dahdi-linux-2.2.0.2 on opensuse 11.2 (Factory) with a linux 2.6.31-git3 kernel and I received some error.



****** ADDITIONAL INFORMATION ******

This is the error that I receive :

 CC [M]  /usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function ‘wctc4xxp_net_register’:
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:776: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:777: error: ‘struct net_device’ has no member named ‘open’
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:778: error: ‘struct net_device’ has no member named ‘stop’
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:779: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:780: error: ‘struct net_device’ has no member named ‘get_stats’
/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:781: error: ‘struct net_device’ has no member named ‘do_ioctl’
make[5]: *** [/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp/base.o] Error 1
make[4]: *** [/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/wctc4xxp] Error 2
make[3]: *** [_module_/usr/src/packages/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-rc5-git3-2-obj/x86_64/default'
make: *** [modules] Error 2
Comments:By: George Diamantopoulos (gd) 2009-08-20 11:56:05

Same results on 2.6.31-rc6... same error when compiling both dahdi-linux-2.2.0.1 and dahdi-linux-2.2.0.2 on x86.

By: Jason Parker (jparker) 2009-08-20 11:59:32

I'll let sruffell make the final call here, but we typically don't make any changes for a kernel until it is released.  Kernel RCs are still subject to API changes.

By: George Diamantopoulos (gd) 2009-08-24 09:01:39

this is probably due to COMPAT_NET_DEV_OPS being dropped from the 2.6.31 kernel since all drivers have been converted to the new net_device_ops API right?

By: Vittorio Manfredini (vitsoft) 2009-08-24 09:51:08

Yes this is the problem !!
No more COMPAT_NET_DEV_OPS, so the problem is only on the wctc4xxp driver or is present on other drivers ?

I will try to disable the build of this driver and start again to build dahdi-linux.

By: Shaun Ruffell (sruffell) 2009-08-24 10:00:58

This is already fixed on the head of the dahdi-linux 2.2 branch in revision 6937.

By: Jason Parker (jparker) 2009-10-05 17:49:50

Closing per comments from sruffell.