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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 7 09:41:35 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17307 
====================================================================== 
Reported By:                kabala
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17307
Category:                   Tests/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 288 
Request Review:              
====================================================================== 
Date Submitted:             2010-05-07 09:41 CDT
Last Modified:              2010-05-07 09:41 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-07 09:41 kabala         New Issue                                    
2010-05-07 09:41 kabala         Asterisk Version          => Older 1.4 - please
test a newer version
2010-05-07 09:41 kabala         Regression                => No              
2010-05-07 09:41 kabala         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2010-05-07 09:41 kabala         SVN Revision (number only!) => 288             
======================================================================




More information about the asterisk-bugs mailing list