[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:37:37 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:37 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:37  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2144

_U  trunk/
_U  trunk/xpp/
U   trunk/xpp/Makefile
U   trunk/xpp/README.Astribank
U   trunk/xpp/card_fxo.c
U   trunk/xpp/card_fxs.c
U   trunk/xpp/card_global.c
A   trunk/xpp/firmwares/FPGA_1141.hex
U   trunk/xpp/firmwares/FPGA_1151.hex
UU  trunk/xpp/firmwares/FPGA_FXS.hex
A   trunk/xpp/firmwares/USB_1140.hex
D   trunk/xpp/init_card_3_23
A   trunk/xpp/init_card_3_24
D   trunk/xpp/init_card_4_23
A   trunk/xpp/init_card_4_24
A   trunk/xpp/init_card_6_24
A   trunk/xpp/init_card_7_24
U   trunk/xpp/utils/Makefile
_U  trunk/xpp/utils/adj_clock.8
_U  trunk/xpp/utils/adj_clock.c
U   trunk/xpp/utils/fpga_load.8
U   trunk/xpp/utils/fpga_load.c
U   trunk/xpp/utils/genzaptelconf
A   trunk/xpp/utils/xpp.rules
U   trunk/xpp/utils/xpp_fxloader
A   trunk/xpp/utils/zaptel-helper
U   trunk/xpp/xbus-core.c
U   trunk/xpp/xbus-core.h
U   trunk/xpp/xdefs.h
U   trunk/xpp/xpd.h
A   trunk/xpp/xpp_log.h
U   trunk/xpp/xpp_usb.c
U   trunk/xpp/xpp_zap.c
U   trunk/xpp/xpp_zap.h
U   trunk/xpp/xproto.c
U   trunk/xpp/xproto.h
U   trunk/xpp/zap_debug.c
U   trunk/xpp/zap_debug.h
D   trunk/xpp/zaptel-helper

------------------------------------------------------------------------
r2144 | tzafrir | 2008-06-07 12:37:35 -0500 (Sat, 07 Jun 2008) | 39 lines

Merged revisions 2123-2124 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

........
r2123 | tzafrir | 2007-02-08 02:05:17 +0200 (Thu, 08 Feb 2007) | 27 lines

Branch 1.4 is back in sync (currently: xorcom rev. 3332):
* Performance improvements for multi-XPD (span) devices.
* Astribank BRI driver (in next commit).
* Changes under /proc:
  - XBUS and XPD numbers have two digits.
  - Every script wildcard should be replaced from XBUS-? to XBUS-[0-9]*
  - Added /proc/xpp/XBUS-*/XPD-*/blink: echo 1 to start and 0 to stop.
* Several countries (South Africa, UAE, anybody else) require a shorter
  ring delay. Adjust FXO reg 0x17 (23)'s bits 0:2 to 011.
* Use tasklets to move most of the interrupt PCM copying out of the
interrupt.
* Debugfs-based code to dump data to userspace (used to debug BRI D
channel).
* Pretend every 2.6.9 actually has later RHEL's typedefs.
* fpga_load supports /dev/bus/usb .
* Fixed physical order sorting in genzaptelconf.
* 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. Moved to xpp/utils .
* Xbus protocol version: 2.4 (Zaptel 1.2.12/1.4.0 had 2.3).
 XPS Init scripts renamed accordingly.
........
r2124 | tzafrir | 2007-02-08 02:30:56 +0200 (Thu, 08 Feb 2007) | 1 line

Now 'chans' is used after all. 
........

------------------------------------------------------------------------

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

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




More information about the asterisk-bugs mailing list