[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:10 CDT 2010
The following issue has been ASSIGNED.
======================================================================
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: assigned
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:
======================================================================
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
======================================================================
----------------------------------------------------------------------
(0122193) svnbot (reporter) - 2010-05-19 15:34
https://issues.asterisk.org/view.php?id=17307#c122193
----------------------------------------------------------------------
Repository: testsuite
Revision: 301
U asterisk/trunk/asttest/Makefile
------------------------------------------------------------------------
r301 | mnicholson | 2010-05-19 15:34:09 -0500 (Wed, 19 May 2010) | 5 lines
Link asttest with -lm and -ldl (for centos compatibility)
(closes issue https://issues.asterisk.org/view.php?id=17307)
Reported by: kabala
------------------------------------------------------------------------
http://svn.digium.com/view/testsuite?view=rev&revision=301
Issue History
Date Modified Username Field Change
======================================================================
2010-05-19 15:34 svnbot Checkin
2010-05-19 15:34 svnbot Note Added: 0122193
2010-05-19 15:34 svnbot Status acknowledged =>
assigned
======================================================================
More information about the asterisk-bugs
mailing list