[asterisk-bugs] [Asterisk 0011205]: Issues while cross compiling asterisk-addons
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Feb 7 15:01:59 CST 2008
The following issue has been RESOLVED.
======================================================================
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: resolved
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-08-2007 23:02 CST
Last Modified: 02-07-2008 15:01 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
======================================================================
----------------------------------------------------------------------
qwell - 02-07-08 15:01
----------------------------------------------------------------------
This should now be fixed in asterisk-addons trunk as of revision 524. It
required a very large amount of restructuring of the build system - because
of this, I don't feel that it is appropriate for 1.4.
Issue History
Date Modified Username Field Change
======================================================================
02-07-08 15:01 qwell Status assigned => resolved
02-07-08 15:01 qwell Resolution reopened => fixed
02-07-08 15:01 qwell Note Added: 0081878
======================================================================
More information about the asterisk-bugs
mailing list