[asterisk-bugs] [Asterisk 0008982]: Zaptel is not compiling, something related to xbus-core.c - xbus-core.o

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 12:35:55 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8982 
====================================================================== 
Reported By:                ruyrocha
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   8982
Category:                   Core/General
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-04-2007 16:29 CST
Last Modified:              06-07-2008 12:35 CDT
====================================================================== 
Summary:                    Zaptel is not compiling, something related to
xbus-core.c - xbus-core.o
Description: 
Hi,

When I try an 'make' or 'make linux26' it breaks on xpp/xbus-core.c:


  LD [M]  /usr/src/asterisk/zaptel-1.2.12/wct4xxp/wct4xxp.o
 make[1]: Entering directory `/usr/src/linux-2.6.20'
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/zaptel.o
/usr/src/asterisk/zaptel-1.2.12/zaptel.c:188: warning: `fcstab' defined
but not used
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/tor2.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/torisa.o
/usr/src/asterisk/zaptel-1.2.12/torisa.c:1143: warning: `set_tor_base'
defined but not used
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wcusb.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wcfxo.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wctdm.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wctdm24xxp.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/ztdynamic.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/ztd-eth.o
/usr/src/asterisk/zaptel-1.2.12/ztd-eth.c:185: warning: initialization
from incompatible pointer type
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wct1xxp.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wcte11xp.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/pciradio.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/ztd-loc.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/ztdummy.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wct4xxp/base.o
  HOSTCC  /usr/src/asterisk/zaptel-1.2.12/wct4xxp/fw2h
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/fw2h
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/OCT6114-128D.ima
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/vpmoct128_fw.h
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/fw2h
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/OCT6114-64D.ima
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/vpmoct064_fw.h
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/wct4xxp/vpm450m.o
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/vpm450m.h:33: warning:
`oct064_firmware' defined but not used
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/vpm450m.h:34: warning:
`oct128_firmware' defined but not used
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/apilib/bt/octapi_bt0.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/apilib/largmath/octapi_largmath.o
  CC [M] 
/usr/src/asterisk/zaptel-1.2.12/wct4xxp/../oct612x/apilib/llman/octapi_llman.o
  LD [M]  /usr/src/asterisk/zaptel-1.2.12/wct4xxp/wct4xxp.o
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/xpp/card_fxo.o
/usr/src/asterisk/zaptel-1.2.12/xpp/card_fxo.c: In function
`__check_report_battery':
/usr/src/asterisk/zaptel-1.2.12/xpp/card_fxo.c:38: warning: return from
incompatible pointer type
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/xpp/card_fxs.o
/usr/src/asterisk/zaptel-1.2.12/xpp/card_fxs.c: In function
`__check_poll_digital_inputs':
/usr/src/asterisk/zaptel-1.2.12/xpp/card_fxs.c:37: warning: return from
incompatible pointer type
  CC [M]  /usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.o
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:88: warning:
`kmem_cache_t' is deprecated (declared at include/linux/slab.h:17)
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:346:83: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c: In function
`xbus_activate':
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:346: error: `INIT_WORK'
undeclared (first use in this function)
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:346: error: (Each
undeclared identifier is reported only once
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:346: error: for each
function it appears in.)
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c: At top level:
/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.c:213: warning: `xbus_poll'
defined but not used
make[3]: *** [/usr/src/asterisk/zaptel-1.2.12/xpp/xbus-core.o] Error 1
make[2]: *** [/usr/src/asterisk/zaptel-1.2.12/xpp] Error 2
make[1]: *** [_module_/usr/src/asterisk/zaptel-1.2.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [linux26] Error 2
resurec:/usr/src/asterisk/zaptel-1.2.12#
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0009006 xpp modules do not compile with kernel ...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 12:35  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2113

_U  branches/1.2/xpp/
U   branches/1.2/xpp/Makefile
U   branches/1.2/xpp/card_fxo.c
U   branches/1.2/xpp/card_fxs.c
U   branches/1.2/xpp/card_global.c
_U  branches/1.2/xpp/init_card_3_24
UU  branches/1.2/xpp/init_card_4_24
UU  branches/1.2/xpp/init_card_6_24
UU  branches/1.2/xpp/init_card_7_24
U   branches/1.2/xpp/utils/Makefile
U   branches/1.2/xpp/utils/genzaptelconf
A   branches/1.2/xpp/utils/xpp.rules
U   branches/1.2/xpp/utils/xpp_fxloader
A   branches/1.2/xpp/utils/zaptel-helper
U   branches/1.2/xpp/xbus-core.c
U   branches/1.2/xpp/xdefs.h
U   branches/1.2/xpp/xpd.h
U   branches/1.2/xpp/xpp_usb.c
U   branches/1.2/xpp/xpp_zap.c
D   branches/1.2/xpp/zaptel-helper

------------------------------------------------------------------------
r2113 | tzafrir | 2008-06-07 12:35:52 -0500 (Sat, 07 Jun 2008) | 12 lines

xpp driver rev. 3332:
 * Reverse polarity and power denial detection.
 * A short led flash at registration time.
 * Add a real version of the xpp modules to them (independent of the
Zaptel
   version).
 * Update our line status even when not registered.
 * Fixed a false SIG_CHANGED when inserting or removing cable to FXO.
 * Fixed compilation fixes for 2.6.20 (Bug
http://bugs.digium.com/view.php?id=8982)
 * A cleaner fix for the bool changes of 2.6.19 .
 * Automatically detect echo_can_state_t at debug time.
 * Automaitcally set XPP_DEBUGFS (depending on debugfs) at compile time.
 * Bug-fixes to zaptel-helper.
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2113 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 12:35  svnbot         Checkin                                      
06-07-08 12:35  svnbot         Note Added: 0088239                          
======================================================================




More information about the asterisk-bugs mailing list