[asterisk-bugs] [Asterisk 0011205]: Issues while cross compiling asterisk-addons

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 14 18:21:02 CST 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11205 
====================================================================== 
Reported By:                ovi
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11205
Category:                   Addons/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:            Addons 1.4.2  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-08-2007 23:02 CST
Last Modified:              11-14-2007 18:21 CST
====================================================================== 
Summary:                    Issues while cross compiling asterisk-addons
Description: 
While cross-compiling asterisk-addons I noticed that cross compile options
are passed to the menuselect/mxml build:
=== configuring in mxml
(/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/asterisk-addons-1.4.4-r1/asterisk-addons-1.4.4/menuselect/mxml)
configure: running /bin/sh ./configure
--prefix=/usr/local  'CC=' 'LD=' 'AR=' 'CFLAGS='
'LDFLAGS=-L/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib

-Wl,
-rpath-link,
/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib

-Wl,-O1'
'CPPFLAGS=-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include'

'CPP=armeb-linux-gcc -E'
--cache-file=/dev/null
--srcdir=.


And here's the compile output:
make[3]: Entering directory
`/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/asterisk-addons-1.4.4-r1/asterisk-addons-1.4.4/menuselect/mxml'
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-attr.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-entity.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-file.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-index.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-node.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-search.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-set.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-private.c
gcc -O -Wall 
-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include
-c mxml-string.c


The
'-isystem/home/admin/slug-3.10/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include'
should not be passed as an argument since mxml should be compiled against
the native host.


This issue was fixed for asterisk a while ago (maybe the same fix needs to
be aplied here too).  Here's a list of cross-compile issues that were fixed
for asterisk:
http://bugs.digium.com/view.php?id=8637
http://bugs.digium.com/view.php?id=9784
====================================================================== 

---------------------------------------------------------------------- 
 ovi - 11-14-07 18:21  
---------------------------------------------------------------------- 
The menuselect issue is fixed now, but app_saycountpl.c fails to compile
(log will be coming shortly. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-14-07 18:21  ovi            Resolution               fixed => reopened   
11-14-07 18:21  ovi            Note Added: 0073659                          
======================================================================




More information about the asterisk-bugs mailing list