[asterisk-bugs] [Asterisk 0016251]: Symbol referencing errors (MIN/MAX in channel.o/udptl.o)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 19 15:49:05 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16251 
====================================================================== 
Reported By:                asgaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16251
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.18-rc3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-16 05:01 CST
Last Modified:              2009-11-19 15:49 CST
====================================================================== 
Summary:                    Symbol referencing errors (MIN/MAX in
channel.o/udptl.o)
Description: 
When building asterisk 1.6.0.18-rc3 I am faced with the following build
error:

   [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 autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o
config.o cryptostub.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 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.o say.o sched.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o
strcompat.o tcptls.o tdd.o term.o threadstorage.o translate.o udptl.o
ulaw.o utils.o version.o editline/libedit.a db1-ast/libdb1.a -> asterisk
Undefined                       first referenced
 symbol                             in file
MAX                                 channel.o
MIN                                 udptl.o
ld: fatal: Symbol referencing errors. No output written to asterisk
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2
====================================================================== 

---------------------------------------------------------------------- 
 (0114023) asgaroth (reporter) - 2009-11-19 15:49
 https://issues.asterisk.org/view.php?id=16251#c114023 
---------------------------------------------------------------------- 
Just an update, I tried building with Asterisk release 1.6.0.18 release
today and this issue is still present, here is the output of the build:

creating cache ./config.cache
checking for gcc... /usr/sfw/bin/gcc
checking whether the C compiler (/usr/sfw/bin/gcc -D_REENTRANT -pthreads
-I../..//include   -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -march=i386 -Wcast-align -DSOLARIS
-I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include
-D_XPG4_2 -D__EXTENSIONS__  -O6  ) works... yes
checking whether the C compiler (/usr/sfw/bin/gcc -D_REENTRANT -pthreads
-I../..//include   -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -march=i386 -Wcast-align -DSOLARIS
-I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include
-D_XPG4_2 -D__EXTENSIONS__  -O6  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/sfw/bin/gcc accepts -g... yes
checking how to run the C preprocessor... /usr/sfw/bin/gcc -E
checking for mawk... nawk
checking host system type... i386-pc-solaris2.10
checking for a BSD compatible install... /opt/jdsbld/bin/ginstall -c
checking for ranlib... ranlib
checking for ar... /usr/xpg4/bin/ar
checking for tgetent in -ltermcap... yes
checking for termcap.h... no
checking for term.h... yes
checking for curses.h... yes
checking for sys/cdefs.h... no
checking for vis.h... no
checking for issetugid... yes
checking for fgetln... no
checking for strvis... no
checking for strunvis... no
checking for strlcpy... yes
checking for strlcat... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makelist
creating config.h
   [CC] hash/hash.c -> hash/hash.o
   [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o
   [CC] hash/hash_buf.c -> hash/hash_buf.o
   [CC] hash/hash_func.c -> hash/hash_func.o
   [CC] hash/hash_log2.c -> hash/hash_log2.o
   [CC] hash/hash_page.c -> hash/hash_page.o
   [CC] hash/ndbm.c -> hash/ndbm.o
   [CC] btree/bt_close.c -> btree/bt_close.o
   [CC] btree/bt_conv.c -> btree/bt_conv.o
   [CC] btree/bt_debug.c -> btree/bt_debug.o
   [CC] btree/bt_delete.c -> btree/bt_delete.o
   [CC] btree/bt_get.c -> btree/bt_get.o
   [CC] btree/bt_open.c -> btree/bt_open.o
   [CC] btree/bt_overflow.c -> btree/bt_overflow.o
   [CC] btree/bt_page.c -> btree/bt_page.o
   [CC] btree/bt_put.c -> btree/bt_put.o
   [CC] btree/bt_search.c -> btree/bt_search.o
   [CC] btree/bt_seq.c -> btree/bt_seq.o
   [CC] btree/bt_split.c -> btree/bt_split.o
   [CC] btree/bt_utils.c -> btree/bt_utils.o
   [CC] db/db.c -> db/db.o
   [CC] mpool/mpool.c -> mpool/mpool.o
   [CC] recno/rec_close.c -> recno/rec_close.o
   [CC] recno/rec_delete.c -> recno/rec_delete.o
   [CC] recno/rec_get.c -> recno/rec_get.o
   [CC] recno/rec_open.c -> recno/rec_open.o
   [CC] recno/rec_put.c -> recno/rec_put.o
   [CC] recno/rec_search.c -> recno/rec_search.o
   [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 autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o
config.o cryptostub.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 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.o say.o sched.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o
strcompat.o tcptls.o tdd.o term.o threadstorage.o translate.o udptl.o
ulaw.o utils.o version.o editline/libedit.a db1-ast/libdb1.a -> asterisk
Undefined                       first referenced
 symbol                             in file
MAX                                 channel.o
MIN                                 udptl.o
ld: fatal: Symbol referencing errors. No output written to asterisk
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-19 15:49 asgaroth       Note Added: 0114023                          
======================================================================




More information about the asterisk-bugs mailing list