[asterisk-bugs] [Asterisk 0016176]: OpenSolaris Build Problem with editline

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 6 12:26:47 CST 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16176 
====================================================================== 
Reported By:                bklang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16176
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.6 
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-03 23:32 CST
Last Modified:              2009-11-06 12:26 CST
====================================================================== 
Summary:                    OpenSolaris Build Problem with editline
Description: 
This is a continuation of the suspended bug
https://issues.asterisk.org/view.php?id=13704.  I did not see a way to
comment on that bug, so I have opened this one. This bug is observed
against 1.6.1.6.

Most build issues reported in https://issues.asterisk.org/view.php?id=13704
appear to be resolved, but at least
this one regarding editline is still present:

In file included from sig.h:47,
                 from el.h:107,
                 from common.c:51,
                 from editline.c:4:
/usr/include/signal.h:95: error: syntax error before '*' token
make[2]: *** [editline.o_a] Error 1
make[1]: *** [editline/libedit.a] Error 2
make: *** [main] Error 2


A full log of the build output is attached.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0014517 [patch] signals.h - syntax error before...
====================================================================== 

---------------------------------------------------------------------- 
 (0113326) bklang (reporter) - 2009-11-06 12:26
 https://issues.asterisk.org/view.php?id=16176#c113326 
---------------------------------------------------------------------- 
I am reopening this bug because the issues are not completely resolved.

I just checked out the latest SVN branch of 1.6.1 and found that the patch
from https://issues.asterisk.org/view.php?id=14517 does seem to fix the syntax
error building editline.o. 
However, as also reported in https://issues.asterisk.org/view.php?id=14517,
there is now a problem linking
editline.  The message is this:

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

According to comment https://issues.asterisk.org/view.php?id=108424 by Snuffy in
ticket https://issues.asterisk.org/view.php?id=14517 (dated July 30,
2009) a fix has been applied to trunk that resolves this issue.  However,
that fix has not apparently been applied to the 1.6.1 branch.  I did search
the ticketing system and the asterisk-commits archives, but I was not able
to find the ticket related to the MIN/MAX symbols missing in udptl.o.  I
will attach an updated build log.

I'm sorry if this is an inappropriate action, but I felt it was the most
direct one.  Please let me know if I should open a new ticket regarding the
problem linking udptl.o 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-06 12:26 bklang         Note Added: 0113326                          
2009-11-06 12:26 bklang         Status                   closed => new       
2009-11-06 12:26 bklang         Resolution               fixed => reopened   
======================================================================




More information about the asterisk-bugs mailing list