[asterisk-bugs] [Asterisk 0016395]: Build fails on OpenBSD4.2 in utils.o

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 4 14:13:50 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16395 
====================================================================== 
Reported By:                jtodd
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16395
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 233229 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-04 14:13 CST
Last Modified:              2009-12-04 14:13 CST
====================================================================== 
Summary:                    Build fails on OpenBSD4.2 in utils.o
Description: 
OpenBSD 4.2 i386 system.

A completely new checkout and "fresh" build using all defaults results
in:
 .... 
     [CC] recno/rec_seq.c -> recno/rec_seq.o
   [CC] recno/rec_utils.c -> recno/rec_utils.o
   [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o
hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o
btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o
btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o
btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o
mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o
recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o
recno/rec_utils.o -> libdb1.a
   [LD] abstract_jb.o acl.o adsistub.o aescrypt.o aeskey.o aestab.o alaw.o
app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o
audiohook.o autochan.o autoservice.o bridging.o callerid.o cdr.o cel.o
channel.o chanvars.o cli.o config.o cryptostub.o datastore.o db.o
devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o
fixedjitterbuf.o frame.o fskmodem.o global_datastores.o hashtab.o heap.o
http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o
md5.o netsock.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o
security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o
strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o
threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o
xmldoc.o editline/libedit.a db1-ast/libdb1.a  -> asterisk
utils.o(.text+0xc5d): In function `__ast_string_field_ptr_build_va':
/local/builds/asterisk-trunk/main/utils.c:1718: warning: vsprintf() is
often misused, please use vsnprintf()
app.o(.text+0x10b9): In function `ast_app_group_set_channel':
/local/builds/asterisk-trunk/main/app.c:1058: warning: strcpy() is almost
always misused, please use strlcpy()
ast_expr2.o(.text+0x30cc): In function `op_eq':
/local/builds/asterisk-trunk/main/ast_expr2.y:635: warning: sprintf() is
often misused, please use snprintf()
app.o(.text+0xa83): In function `ast_control_streamfile':
/local/builds/asterisk-trunk/main/app.c:548: warning: strcat() is almost
always misused, please use strlcat()
translate.o(.text+0x3a): In function `ast_translator_build_path':
/local/builds/asterisk-trunk/main/translate.c:75: undefined reference to
`__builtin_ffsll'
translate.o(.text+0x58):/local/builds/asterisk-trunk/main/translate.c:75:
undefined reference to `__builtin_ffsll'
translate.o(.text+0x6af): In function `__ast_register_translator':
/local/builds/asterisk-trunk/main/translate.c:75: undefined reference to
`__builtin_ffsll'
translate.o(.text+0x6de):/local/builds/asterisk-trunk/main/translate.c:75:
undefined reference to `__builtin_ffsll'
translate.o(.text+0x7a1):/local/builds/asterisk-trunk/main/translate.c:75:
undefined reference to `__builtin_ffsll'
translate.o(.text+0x10da):/local/builds/asterisk-trunk/main/translate.c:75:
more undefined references to `__builtin_ffsll' follow
collect2: ld returned 1 exit status
gmake[1]: *** [asterisk] Error 1
gmake: *** [main] Error 2
bash-3.2# 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-04 14:13 jtodd          New Issue                                    
2009-12-04 14:13 jtodd          Asterisk Version          => SVN             
2009-12-04 14:13 jtodd          Regression                => No              
2009-12-04 14:13 jtodd          SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-12-04 14:13 jtodd          SVN Revision (number only!) => 233229          
======================================================================




More information about the asterisk-bugs mailing list