[Home]

Summary:ASTERISK-09153: zaptel compilation fails in wcusb.c on FC5 Stock kernel 2.6.15-1.2054_FC5
Reporter:Ronald Chan (loloski)Labels:
Date Opened:2007-03-30 10:20:14Date Closed:2011-06-07 14:03:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:/usr/src/1.4/zaptel/wcusb.c:1451: error: unknown field ?owner? specified in initializer
/usr/src/1.4/zaptel/wcusb.c:1451: warning: initialization from incompatible pointer type


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

URL: http://svn.digium.com/svn/zaptel/branches/1.4
Repository Root: http://svn.digium.com/svn/zaptel
Repository UUID: f558416c-6c06-0410-9f27-dde2687782d0
Revision: 2352
Node Kind: directory
Schedule: normal
Last Changed Author: russell
Last Changed Rev: 2351
Last Changed Date: 2007-03-30 00:36:55 +0800 (Fri, 30 Mar 2007)
Properties Last Updated: 2007-03-30 23:12:58 +0800 (Fri, 30 Mar 2007)

Comments:By: Ronald Chan (loloski) 2007-03-30 10:46:56

I can confirm, removing wcusb,xpp on make menuselect compiles fine on FC5, If you think this is a package dependency problem I'm really sorry, Kindly please close this.

This problem exist on latest svn 1.4 zaptel branch and tarball.

By: Tzafrir Cohen (tzafrir) 2007-03-30 12:42:25

lolosky: have you tried it with xpp (but without wcusb) ?

If other kernel modules build wekll, it should not be a dependency issue.

The code in question has:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
       owner: THIS_MODULE,
#endif

So it is yet another case of Fedora backport.

By: Ronald Chan (loloski) 2007-03-31 12:06:25

If i keep xpp modules on the list, it fails to compile but if i remove them together with wcusb, then it works

By: Ronald Chan (loloski) 2007-04-07 14:10:04

any updates please? thanks

By: Ronald Chan (loloski) 2007-04-24 08:53:06

I can confirm that this is not a package dependency issue, could someone shed a light on this. i ask one of my OJT guy, to install FC5 and install everything on it. the compilation still fails, please see my bugnote 0061775

Thanks in advance

By: Ronald Chan (loloski) 2007-04-25 10:33:22

Please close this upgrading stock kernel 2.6.15-1.2054_FC5 into 2.6.20 via yum solve this issue, this could be a Fedora kernel bug/or asterisk bug. but if anyone wants to close or investigate this further they maybe free to do so.

By: Michiel van Baak (mvanbaak) 2007-09-12 11:27:00

closing on users request.