[Bug 427605] [NEW] karmic: can't build dahdi-source

Edmundo eantoranz at gmail.com
Thu Sep 10 23:30:31 UTC 2009


Public bug reported:

I want to dive into asterisk.. at least for experimenting a little but
with it.

After having some installation issues (the apt-get install process
breaking because there was no dahdi kernel module) I uninstalled
asterisk and installed dahdi-source so that I could build it before i
installed asterisk (shouldn't that be handled with a requirement to
asterisk?... anyway).

After I installed dahdi-source, I tried to make it, and see what
happened:

$ sudo LANG=en make
make -C /lib/modules/2.6.31-10-generic/build SUBDIRS=/usr/src/dahdi-2.2.0.2/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-2.2.0.2/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m                                                                                                                                 
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-10-generic'                                                                                                 
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi-base.o                                                                                                            
/usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi-base.c: In function 'dahdi_rbs_sethook':                                                                                    
/usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi-base.c:2306: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'                         
  LD [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi.o                                                                                                                 
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_dummy.o                                                                                                           
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_dynamic.o                                                                                                         
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_dynamic_loc.o                                                                                                     
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_dynamic_eth.o                                                                                                     
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_transcode.o                                                                                                       
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wctdm.o                                                                                                                 
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct1xxp.o                                                                                                               
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wcte11xp.o                                                                                                              
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wcfxo.o                                                                                                                 
gcc -o /usr/src/dahdi-2.2.0.2/drivers/dahdi/makefw /usr/src/dahdi-2.2.0.2/drivers/dahdi/makefw.c                                                                       
/usr/src/dahdi-2.2.0.2/drivers/dahdi/makefw /usr/src/dahdi-2.2.0.2/drivers/dahdi/tormenta2.rbt tor2fw > /usr/src/dahdi-2.2.0.2/drivers/dahdi/tor2fw.h                  
Loaded 69900 bytes from file                                                                                                                                           
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/tor2.o                                                                                                                  
/usr/src/dahdi-2.2.0.2/drivers/dahdi/makefw /usr/src/dahdi-2.2.0.2/drivers/dahdi/pciradio.rbt radfw > /usr/src/dahdi-2.2.0.2/drivers/dahdi/radfw.h                     
Loaded 42096 bytes from file                                                                                                                                           
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/pciradio.o                                                                                                              
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_echocan_jpah.o                                                                                                    
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_echocan_sec.o                                                                                                     
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_echocan_sec2.o                                                                                                    
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_echocan_kb1.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/dahdi_echocan_mg2.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/voicebus/voicebus.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/voicebus/GpakCust.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/voicebus/GpakApi.o
  LD [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/voicebus/dahdi_voicebus.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wcb4xxp/base.o
  LD [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wcb4xxp/wcb4xxp.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/base.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/vpm450m.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/apilib/bt/octapi_bt0.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/apilib/largmath/octapi_largmath.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/../oct612x/apilib/llman/octapi_llman.o
  LD [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]  /usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.o
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c: In function 'wctc4xxp_net_register':
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:776: error: 'struct net_device' has no member named 'set_multicast_list'
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:777: error: 'struct net_device' has no member named 'open'
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:778: error: 'struct net_device' has no member named 'stop'
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:779: error: 'struct net_device' has no member named 'hard_start_xmit'
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:780: error: 'struct net_device' has no member named 'get_stats'
/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.c:781: error: 'struct net_device' has no member named 'do_ioctl'
make[3]: *** [/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp/base.o] Error 1
make[2]: *** [/usr/src/dahdi-2.2.0.2/drivers/dahdi/wctc4xxp] Error 2
make[1]: *** [_module_/usr/src/dahdi-2.2.0.2/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-10-generic'
make: *** [modules] Error 2

What's next?

** Affects: dahdi-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
karmic: can't build dahdi-source
https://bugs.launchpad.net/bugs/427605
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list