David Petruzzella
2005-Jan-17 11:29 UTC
[Asterisk-Users] RE: Issue compiling zaptel on FC 3 kernel 2.6.10-1.737
I am unable to compile the zaptel drivers on the latest kernel for fc 3, I get the following errors which are listed below if anyone has any suggestions on how I can solve this issue aside from trying a different distro, please don't hesitate to offer. Thanks in advance. [root@asterisk-test2 zaptel]# make linux26 make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10' CC [M] /usr/src/zaptel/wcfxs.o /usr/src/zaptel/wcfxs.c: In function `__check_battdebounce': /usr/src/zaptel/wcfxs.c:2193: error: `battdebounce' undeclared (first use in this function) /usr/src/zaptel/wcfxs.c:2193: error: (Each undeclared identifier is reported only once /usr/src/zaptel/wcfxs.c:2193: error: for each function it appears in.) /usr/src/zaptel/wcfxs.c: At top level: /usr/src/zaptel/wcfxs.c:2193: error: `battdebounce' undeclared here (not in a function) /usr/src/zaptel/wcfxs.c:2193: error: initializer element is not constant /usr/src/zaptel/wcfxs.c:2193: error: (near initialization for `__param_battdebounce.arg') /usr/src/zaptel/wcfxs.c: In function `__check_battthresh': /usr/src/zaptel/wcfxs.c:2194: error: `battthresh' undeclared (first use in this function) /usr/src/zaptel/wcfxs.c: At top level: /usr/src/zaptel/wcfxs.c:2194: error: `battthresh' undeclared here (not in a function) /usr/src/zaptel/wcfxs.c:2194: error: initializer element is not constant /usr/src/zaptel/wcfxs.c:2194: error: (near initialization for `__param_battthresh.arg') /usr/src/zaptel/wcfxs.c: In function `__check_alawoverride': /usr/src/zaptel/wcfxs.c:2195: error: `alawoverride' undeclared (first use in this function) /usr/src/zaptel/wcfxs.c: At top level: /usr/src/zaptel/wcfxs.c:2195: error: `alawoverride' undeclared here (not in a function) /usr/src/zaptel/wcfxs.c:2195: error: initializer element is not constant /usr/src/zaptel/wcfxs.c:2195: error: (near initialization for `__param_alawoverride.arg') /usr/src/zaptel/wcfxs.c:2193: error: __param_battdebounce causes a section type conflict /usr/src/zaptel/wcfxs.c:2194: error: __param_battthresh causes a section type conflict /usr/src/zaptel/wcfxs.c:2195: error: __param_alawoverride causes a section type conflict make[2]: *** [/usr/src/zaptel/wcfxs.o] Error 1 make[1]: *** [_module_/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10' make: *** [linux26] Error 2 [root@asterisk-test2 zaptel]# David Petruzzella IT Department Smart Carpet Incorporated 1646 Beaver Dam Road PT. Pleasant, NJ 08742 732-899-9840 www.smartcarpet.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050117/f3ad8f8c/attachment.htm
Eric Bishop
2005-Jan-18 01:16 UTC
[Asterisk-Users] RE: Issue compiling zaptel on FC 3 kernel 2.6.10-1.737
I too had the exact same issue today with FC2 and both stock and vanilla 2.6.9 kernels... still remains unresolved. I think it could be a broken CVS -stable...... On Mon, 17 Jan 2005 13:29:58 -0500, David Petruzzella <dpetruzz@smartcarpet.com> wrote:> > > > I am unable to compile the zaptel drivers on the latest kernel for fc 3, I > get the following errors which are listed below if anyone has any > suggestions on how I can solve this issue aside from trying a different > distro, please don't hesitate to offer. Thanks in advance. > > > > [root@asterisk-test2 zaptel]# make linux26 > > make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/zaptel modules > > make[1]: Entering directory > `/usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10' > > CC [M] /usr/src/zaptel/wcfxs.o > > /usr/src/zaptel/wcfxs.c: In function `__check_battdebounce': > > /usr/src/zaptel/wcfxs.c:2193: error: `battdebounce' undeclared (first use in > this function) > > /usr/src/zaptel/wcfxs.c:2193: error: (Each undeclared identifier is reported > only once > > /usr/src/zaptel/wcfxs.c:2193: error: for each function it appears in.) > > /usr/src/zaptel/wcfxs.c: At top level: > > /usr/src/zaptel/wcfxs.c:2193: error: `battdebounce' undeclared here (not in > a function) > > /usr/src/zaptel/wcfxs.c:2193: error: initializer element is not constant > > /usr/src/zaptel/wcfxs.c:2193: error: (near initialization for > `__param_battdebounce.arg') > > /usr/src/zaptel/wcfxs.c: In function `__check_battthresh': > > /usr/src/zaptel/wcfxs.c:2194: error: `battthresh' undeclared (first use in > this function) > > /usr/src/zaptel/wcfxs.c: At top level: > > /usr/src/zaptel/wcfxs.c:2194: error: `battthresh' undeclared here (not in a > function) > > /usr/src/zaptel/wcfxs.c:2194: error: initializer element is not constant > > /usr/src/zaptel/wcfxs.c:2194: error: (near initialization for > `__param_battthresh.arg') > > /usr/src/zaptel/wcfxs.c: In function `__check_alawoverride': > > /usr/src/zaptel/wcfxs.c:2195: error: `alawoverride' undeclared (first use in > this function) > > /usr/src/zaptel/wcfxs.c: At top level: > > /usr/src/zaptel/wcfxs.c:2195: error: `alawoverride' undeclared here (not in > a function) > > /usr/src/zaptel/wcfxs.c:2195: error: initializer element is not constant > > /usr/src/zaptel/wcfxs.c:2195: error: (near initialization for > `__param_alawoverride.arg') > > /usr/src/zaptel/wcfxs.c:2193: error: __param_battdebounce causes a section > type conflict > > /usr/src/zaptel/wcfxs.c:2194: error: __param_battthresh causes a section > type conflict > > /usr/src/zaptel/wcfxs.c:2195: error: __param_alawoverride causes a section > type conflict > > make[2]: *** [/usr/src/zaptel/wcfxs.o] Error 1 > > make[1]: *** [_module_/usr/src/zaptel] Error 2 > > make[1]: Leaving directory > `/usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10' > > make: *** [linux26] Error 2 > > [root@asterisk-test2 zaptel]# > > > > > > David Petruzzella > > IT Department > > Smart Carpet Incorporated > > 1646 Beaver Dam Road > > PT. Pleasant, NJ 08742 > > 732-899-9840 > > www.smartcarpet.com > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >