[Home]

Summary:DAHTOOL-00071: Compilation fails on Ubuntu 14.04
Reporter:Sean Bright (seanbright)Labels:
Date Opened:2016-02-01 14:04:43.000-0600Date Closed:2016-02-22 09:17:54.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:
Versions:2.10.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 0001-Makefile.am-Put-linker-flags-in-the-right-variables.patch
Description:2.11.0 is not in the version list, but that is the version I am testing.

Compiling dahdi-tools on Ubuntu 14.04 fails on dahdi_cfg with the following errors:

{noformat}
./.libs/libtonezone.so: undefined reference to `sin'
./.libs/libtonezone.so: undefined reference to `cos'
./.libs/libtonezone.so: undefined reference to `pow'
collect2: error: ld returned 1 exit status
make[2]: *** [dahdi_cfg] Error 1
{noformat}

This is due to a misuse of LDFLAGS/LDADD.
Comments:By: Sean Bright (seanbright) 2016-02-01 14:05:44.135-0600

Patch attached.

By: Mike Lees (whizzkid) 2016-02-02 10:48:11.634-0600

I was using a workaround for this. When I got the error:

{noformat}
make distclean
export LIBS=-lm
make all
{noformat}


By: Sean Bright (seanbright) 2016-02-22 09:17:48.019-0600

Fixed by http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=commit;h=e1da7b528467a8f8f82058993b2e01333677ee39

It doesn't look like the DADHI developers are actually using JIRA anymore. Is there a new location to report bugs?

By: Wendell Thompson (wthompson) 2016-02-22 14:47:30.313-0600

That's fixed in the upcoming release candidate.