[asterisk-bugs] [Asterisk 0018375]: compiling error in ubuntu 9.04 sparc

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 7 11:45:04 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18375 
====================================================================== 
Reported By:                brian667
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18375
Category:                   Codecs/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           Older 1.6.2 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-25 00:47 CST
Last Modified:              2010-12-07 11:45 CST
====================================================================== 
Summary:                    compiling error in ubuntu 9.04 sparc
Description: 
I got problem while I have performed 1.6 or 1.8 compiling. Any ideas?

./configure. no problem.

Problem is while perform make.

<pre>
config.status: creating include/asterisk/autoconfig.h

.$$$$$$$$$$$$$$$=..
.$7$7.. .7$$7:.
.$$:. ,$7.7
.$7. 7$$$$ .$$77
..$$. $$$$$ .$$$7
..7$ .?. $$$$$ .?. 7$$$.
$.$. .$$$7. $$$$7 .7$$$. .$$$.
.777. .$$$$$$77$$$77$$$$$7. $$$,
$$$~ .7$$$$$$$$$$$$$7. .$$$.
.$$7 .7$$$$$$$7: ?$$$.
$$$ ?7$$$$$$$$$$I .$$$7
$$$ .7$$$$$$$$$$$$$$$$ :$$$.
$$$ $$$$$$7$$$$$$$$$$$$ .$$$.
$$$ $$$ 7$$$7 .$$$ .$$$.
$$$$ $$$$7 .$$$.
7$$$7 7$$$$ 7$$$
$$$$$ $$$
$$$$7. $$ (TM)
$$$$$$$. .7$$$$$$ $$
$$$$$$$$$$$$7$$$$$$$$$.$$$$$$
$$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : sparc64
configure: build-cpu:vendor:os: sparc64 : unknown : linux-gnu :
configure: host-cpu:vendor:os: sparc64 : unknown : linux-gnu :
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk-1.6.2.0/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-1.6.2.0/menuselect'
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" menuselect
make[1]: Entering directory `/usr/src/asterisk-1.6.2.0/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c
make[2]: Entering directory `/usr/src/asterisk-1.6.2.0/menuselect/mxml'
gcc -O -Wall -c mxml-attr.c
gcc -O -Wall -c mxml-entity.c
gcc -O -Wall -c mxml-file.c
gcc -O -Wall -c mxml-index.c
gcc -O -Wall -c mxml-node.c
gcc -O -Wall -c mxml-search.c
gcc -O -Wall -c mxml-set.c
gcc -O -Wall -c mxml-private.c
gcc -O -Wall -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o
mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o
mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[2]: Leaving directory `/usr/src/asterisk-1.6.2.0/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o
mxml/libmxml.a
make[1]: Leaving directory `/usr/src/asterisk-1.6.2.0/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
[CC] stereorize.c -> stereorize.o
[CC] frame.c -> frame.o
[LD] stereorize.o frame.o -> stereorize
[CC] streamplayer.c -> streamplayer.o
[LD] streamplayer.o -> streamplayer
[CC] muted.c -> muted.o
[LD] muted.o -> muted
[CC] hashtest2.c -> hashtest2.o
[CP] main/md5.c -> md5.c
[CC] md5.c -> md5.o
[CP] main/utils.c -> utils.c
[CC] utils.c -> utils.o
[CP] main/strings.c -> strings.c
[CC] strings.c -> strings.o
[CP] main/astobj2.c -> astobj2.c
[CC] astobj2.c -> astobj2.o
[CP] main/sha1.c -> sha1.c
[CC] sha1.c -> sha1.o
[CP] main/strcompat.c -> strcompat.c
[CC] strcompat.c -> strcompat.o
[CP] main/threadstorage.c -> threadstorage.c
[CC] threadstorage.c -> threadstorage.o
[CC] clicompat.c -> clicompat.o
[CP] main/poll.c -> poll.c
[CC] poll.c -> poll.o
[LD] hashtest2.o md5.o utils.o strings.o astobj2.o sha1.o strcompat.o
threadstorage.o clicompat.o poll.o -> hashtest2
utils.o: In function `ast_atomic_dec_and_test':
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:2007: undefined
reference to `__sync_sub_and_fetch_4'
utils.o: In function `ast_atomic_fetchadd_int':
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: undefined
reference to `__sync_fetch_and_add_4'
astobj2.o: In function `ast_atomic_fetchadd_int':
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: undefined
reference to `__sync_fetch_and_add_4'
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: undefined
reference to `__sync_fetch_and_add_4'
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: undefined
reference to `__sync_fetch_and_add_4'
/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: undefined
reference to `__sync_fetch_and_add_4'
astobj2.o:/usr/src/asterisk-1.6.2.0/include/asterisk/lock.h:1961: more
undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
make[1]: *** [hashtest2] Error 1
make: *** [utils] Error 2

root at para:/usr/src/asterisk-1.6.2.0# uname -a
Linux paradox 2.6.32.4 https://issues.asterisk.org/view.php?id=1 SMP Fri Jan 22
12:35:06 HKT 2010 sparc64
GNU/Linux
</pre>
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-07 11:45 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list