[asterisk-bugs] [Asterisk 0017307]: asttest fails to compile in centos 5.3

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 19 15:34:11 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17307 
====================================================================== 
Reported By:                kabala
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17307
Category:                   Tests/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                       SWP-1431 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 288 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-07 09:41 CDT
Last Modified:              2010-05-19 15:34 CDT
====================================================================== 
Summary:                    asttest fails to compile in centos 5.3
Description: 
The lines in Makefile:
asttest: asttest.c $(OBJS) $(T_OBJS) $(L_OBJS) include/asttest/asttest.h
        $(CC) -o $@ $(OBJS) $(L_OBJS) $(T_LIBS) $(L_MODULES) $(L_LIBS)

are missing these options:
 -lm -ldl

Finally, the lines should look like this to successfully compile in CentOS
5.3:
 asttest: asttest.c $(OBJS) $(T_OBJS) $(L_OBJS) include/asttest/asttest.h
        $(CC) -o $@ $(OBJS) $(L_OBJS) $(T_LIBS) $(L_MODULES) $(L_LIBS) -lm
-ldl
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-19 15:34 svnbot         Status                   assigned => resolved
2010-05-19 15:34 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list