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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Nov 22 01:38:44 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-22 01:38 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
====================================================================== 

---------------------------------------------------------------------- 
 (0114105) snuffy (manager) - 2009-11-22 01:38
 https://issues.asterisk.org/view.php?id=16251#c114105 
---------------------------------------------------------------------- 
asagroth, I meant from trunk.. /include/asterisk/utils.h
Here are the below definitions.

#define MIN(a, b) ({ typeof(a) __a = (a); typeof(b) __b = (b); ((__a >
__b) ? __b : __a);})

#define MAX(a, b) ({ typeof(a) __a = (a); typeof(b) __b = (b); ((__a <
__b) ? __b : __a);}) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-22 01:38 snuffy         Note Added: 0114105                          
======================================================================




More information about the asterisk-bugs mailing list