[Home]

Summary:ASTERISK-14029: [patch] app_osplookup fails to build with libosptk3-dev 3.4.2-1: ‘OSPT_CERT’ undeclared
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2009-04-28 13:19:05Date Closed:2009-05-26 17:44:16
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_osplookup
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) configure.ac.diff
( 1) new_ast_check_osptk.m4
Description:As of r190830 ("Updated for OSP Toolkit 3.5.") app_osplookup fails to build on my system:

- Debian Stable (5.0, Lenny)
- libosptk3-dev ver. 3.4.2-1

It seems that the new version changed quite a few things. e.g. the typedef OSPTCERT is now OSPT_CERT.

Either compatiblity added for the older version as well, or test explicitly for the newer version. As things are, it breaks building.
Comments:By: Kristijan Vrban (vrban) 2009-04-28 13:28:13

i can confirm this on Debian Stable (5.0, Lenny)

By: Russell Bryant (russell) 2009-04-29 04:02:10

I have notified Transnexus of this issue.

By: Di-Shi Sun (homesick) 2009-05-18 21:17:38

A autoconf m4 file and a patch for configure.ac were attached to detect the OSP Toolkit library version to fix this issue. The m4 file should be stored under autoconf directory.

By: Di-Shi Sun (homesick) 2009-05-18 21:29:38

The patch and m4 file are for 1.6.1, 1.6.2 and trunk branches.

By: Di-Shi Sun (homesick) 2009-05-20 23:03:38

Please remove ast_check_osptk.m4. new_ast_check_osptk.m4 added -I cppflag for AC_RUN_IFELSE if --with-osptk=DIR used.

By: Digium Subversion (svnbot) 2009-05-26 17:40:35

Repository: asterisk
Revision: 196946

A   trunk/autoconf/ast_check_osptk.m4
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r196946 | russell | 2009-05-26 17:40:34 -0500 (Tue, 26 May 2009) | 8 lines

Update configure script to check for OSP toolkit 3.5.0.

(closes issue ASTERISK-14029)
Reported by: tzafrir
Patches:
     configure.ac.diff uploaded by homesick (license 91)
     new_ast_check_osptk.m4 uploaded by homesick (license 91)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=196946

By: Digium Subversion (svnbot) 2009-05-26 17:42:05

Repository: asterisk
Revision: 196947

_U  branches/1.6.1/
A   branches/1.6.1/autoconf/ast_check_osptk.m4
U   branches/1.6.1/configure
U   branches/1.6.1/configure.ac
U   branches/1.6.1/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r196947 | russell | 2009-05-26 17:42:05 -0500 (Tue, 26 May 2009) | 15 lines

Merged revisions 196946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196946 | russell | 2009-05-26 17:40:34 -0500 (Tue, 26 May 2009) | 8 lines
 
 Update configure script to check for OSP toolkit 3.5.0.
 
 (closes issue ASTERISK-14029)
 Reported by: tzafrir
 Patches:
       configure.ac.diff uploaded by homesick (license 91)
       new_ast_check_osptk.m4 uploaded by homesick (license 91)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=196947

By: Digium Subversion (svnbot) 2009-05-26 17:44:16

Repository: asterisk
Revision: 196949

_U  branches/1.6.2/
A   branches/1.6.2/autoconf/ast_check_osptk.m4
U   branches/1.6.2/configure
U   branches/1.6.2/configure.ac
U   branches/1.6.2/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r196949 | russell | 2009-05-26 17:44:15 -0500 (Tue, 26 May 2009) | 15 lines

Merged revisions 196946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196946 | russell | 2009-05-26 17:40:34 -0500 (Tue, 26 May 2009) | 8 lines
 
 Update configure script to check for OSP toolkit 3.5.0.
 
 (closes issue ASTERISK-14029)
 Reported by: tzafrir
 Patches:
       configure.ac.diff uploaded by homesick (license 91)
       new_ast_check_osptk.m4 uploaded by homesick (license 91)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=196949