[asterisk-bugs] [Asterisk 0017307]: asttest fails to compile in centos 5.3
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 10 11:26:21 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-10 11:26 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
======================================================================
----------------------------------------------------------------------
(0121655) lmadsen (administrator) - 2010-05-10 11:26
https://issues.asterisk.org/view.php?id=17307#c121655
----------------------------------------------------------------------
Ya I have run into that issue on CentOS as well, and the conclusion Russell
and I came to was that a ./configure script was really the way to solve
that.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-10 11:26 lmadsen Note Added: 0121655
======================================================================
More information about the asterisk-bugs
mailing list