[asterisk-bugs] [DAHDI-linux 0014161]: DAHDI-linux failed to compile on Sparc64 - ubuntu 8.04 Server
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 17 15:37:05 CDT 2009
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=14161
======================================================================
Reported By: etn
Assigned To: tzafrir
======================================================================
Project: DAHDI-linux
Issue ID: 14161
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: won't fix
Fixed in Version:
======================================================================
Date Submitted: 2009-01-02 09:29 CST
Last Modified: 2009-03-17 15:37 CDT
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0101890) qwell (administrator) - 2009-03-17 15:37
http://bugs.digium.com/view.php?id=14161#c101890
----------------------------------------------------------------------
Since sparc isn't a supported platform, I'm going to go ahead and close
this.
I suspect a non-trivial amount of work would need to be done, not only for
sparc, but for the 32-/64-bit userspace/kernel split that sparc64 distros
have.
This issue and your comments have been noted.
Issue History
Date Modified Username Field Change
======================================================================
2009-03-17 15:37 qwell Note Added: 0101890
2009-03-17 15:37 qwell Status acknowledged =>
resolved
2009-03-17 15:37 qwell Resolution open => won't fix
======================================================================
More information about the asterisk-bugs
mailing list