[asterisk-bugs] [Asterisk 0017307]: asttest fails to compile in centos 5.3
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 7 13:39:52 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: ready for review
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-07 13:39 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
======================================================================
----------------------------------------------------------------------
(0121578) pabelanger (manager) - 2010-05-07 13:39
https://issues.asterisk.org/view.php?id=17307#c121578
----------------------------------------------------------------------
Had some troubles building it yesterday too. I think the ultimate
solutions is to create a ./configure script for it.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-07 13:39 pabelanger Note Added: 0121578
======================================================================
More information about the asterisk-bugs
mailing list