[asterisk-bugs] [Asterisk 0011563]: Compile-Error the the Mashine sparc (tested) or hppa (also tested) - debian

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 17 14:12:45 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11563 
====================================================================== 
Reported By:                thomasmebes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11563
Category:                   Codecs/codec_gsm
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-15-2007 09:30 CST
Last Modified:              12-17-2007 14:12 CST
====================================================================== 
Summary:                    Compile-Error the the Mashine sparc (tested) or hppa
(also tested) - debian
Description: 
if i try compile (to build) asterisk on a sparc or hppa (debian) then i
have a compile error:

cc1: error: unrecognized command line option "-march=hppa2.0"
cc1: error: unrecognized command line option "-march=hppa2.0"
make[2]: *** [src/add.o] Error 1
make[1]: *** [gsm/lib/libgsm.a] Error 2
make: *** [codecs] Error 2

My solution was:
File: codecs/gsm/Makefile
Line: 43 
Add: #  before  OPTIMIZE+=-march=$(PROC)
Result on Line 43: #OPTIMIZE+=-march=$(PROC) 


now i can build my asterisk

====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 12-17-07 14:12  
---------------------------------------------------------------------- 
thomasmebes: can you try this patch and report if it fixes your problem? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-17-07 14:12  mvanbaak       Note Added: 0075596                          
======================================================================




More information about the asterisk-bugs mailing list