[asterisk-bugs] [DAHDI-linux 0014161]: DAHDI-linux failed to compile on Sparc64 - ubuntu 8.04 Server
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 7 10:35:07 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14161
======================================================================
Reported By: etn
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 14161
Category: General
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2009-01-02 09:29 CST
Last Modified: 2009-01-07 10:35 CST
======================================================================
Summary: DAHDI-linux failed to compile on Sparc64 - ubuntu
8.04 Server
Description:
root at sl06:/# uname -a
Linux sl06 2.6.22-16-sparc64-smp http://bugs.digium.com/view.php?id=1 SMP Mon
Nov 24 23:21:07 GMT 2008
sparc64 GNU/Linux
root at sl06:/usr/src/dahdi-linux-2.1.0.3# make
make -C /lib/modules/2.6.22-16-sparc64-smp/build ARCH=sparc64
SUBDIRS=/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.3/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory
`/usr/src/linux-headers-2.6.22-16-sparc64-smp'
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi-base.o
LD [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic_loc.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic_eth.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_transcode.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct1xxp.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wcte11xp.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wcfxo.o
gcc -o /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/makefw.c
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/tormenta2.rbt tor2fw >
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/tor2fw.h
Loaded 69900 bytes from file
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/tor2.o
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/makefw
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/pciradio.rbt radfw >
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/radfw.h
Loaded 42096 bytes from file
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/pciradio.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_echocan_jpah.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_echocan_sec.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_echocan_sec2.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_echocan_kb1.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_echocan_mg2.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wcb4xxp/base.o
LD [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wcb4xxp/wcb4xxp.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/base.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/vpm450m.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/apilib/bt/octapi_bt0.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/apilib/largmath/octapi_largmath.o
CC [M]
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/../oct612x/apilib/llman/octapi_llman.o
LD [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wct4xxp/wct4xxp.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.o
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_cleanup_descriptor_ring’:
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:1265: warning:
implicit declaration of function ‘dma_unmap_single’
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c: In function
‘wctc4xxp_init_one’:
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:3001: error:
‘DMA_32BIT_MASK’ undeclared (first use in this function)
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:3001: error:
(Each undeclared identifier is reported only once
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:3001: error:
for each function it appears in.)
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:3014: error:
‘DMA_TO_DEVICE’ undeclared (first use in this function)
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.c:3024: error:
‘DMA_FROM_DEVICE’ undeclared (first use in this function)
make[3]: *** [/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp/base.o]
Error 1
make[2]: *** [/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctc4xxp] Error
2
make[1]: *** [_module_/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-16-sparc64-smp'
make: *** [modules] Error 2
I just tried to compile dahdi-dummy but in all case i got this issue.
======================================================================
----------------------------------------------------------------------
(0097145) tzafrir (manager) - 2009-01-07 10:35
http://bugs.digium.com/view.php?id=14161#c97145
----------------------------------------------------------------------
Editing drivers/dahdi/Kbuild or other types of makefile hacking can do the
trick.
(with qemu: I meant: building it in qemu on a x86 host. See
http://wiki.debian.org/qemubuilder
Issue History
Date Modified Username Field Change
======================================================================
2009-01-07 10:35 tzafrir Note Added: 0097145
======================================================================
More information about the asterisk-bugs
mailing list