[asterisk-bugs] [Asterisk 0013838]: [Solaris] ./configure script can not use h323.h and compilation fails
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 4 23:36:52 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13838
======================================================================
Reported By: ano
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13838
Category: Channels/chan_h323
Reproducibility: have not tried
Severity: block
Priority: normal
Status: new
Asterisk Version: 1.4.22
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-04 15:23 CST
Last Modified: 2008-11-04 23:36 CST
======================================================================
Summary: [Solaris] ./configure script can not use h323.h and
compilation fails
Description:
checking /export/home/ano/pwlib/include/ptlib.h usability... no
checking /export/home/ano/pwlib/include/ptlib.h presence... no
checking for /export/home/ano/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... yes
checking /usr/local/include/ptlib.h presence... yes
checking for /usr/local/include/ptlib.h... yes
checking for ptlib-config... /usr/local/bin/ptlib-config
checking if PWLib version 1.12.0 is compatible with chan_h323... yes
checking PWLib installation validity... yes
checking /usr/local/share/pwlib/../openh323/version.h usability... no
checking /usr/local/share/pwlib/../openh323/version.h presence... no
checking for /usr/local/share/pwlib/../openh323/version.h... no
checking /export/home/ano/openh323/include/h323.h usability... no
checking /export/home/ano/openh323/include/h323.h presence... no
checking for /export/home/ano/openh323/include/h323.h... no
checking /usr/local/include/openh323/h323.h usability... no
checking /usr/local/include/openh323/h323.h presence... yes
configure: WARNING: /usr/local/include/openh323/h323.h: present but cannot
be compiled
configure: WARNING: /usr/local/include/openh323/h323.h: check for
missing prerequisite headers?
configure: WARNING: /usr/local/include/openh323/h323.h: see the Autoconf
documentation
configure: WARNING: /usr/local/include/openh323/h323.h: section
"Present But Cannot Be Compiled"
configure: WARNING: /usr/local/include/openh323/h323.h: proceeding with
the preprocessor's result
configure: WARNING: /usr/local/include/openh323/h323.h: in the future, the
compiler will take precedence
configure: WARNING: ## ------------------------------- ##
configure: WARNING: ## Report this to www.asterisk.org ##
configure: WARNING: ## ------------------------------- ##
checking for /usr/local/include/openh323/h323.h... yes
checking if OpenH323 version 1.19.1 is compatible with chan_h323... yes
checking OpenH323 build option... opt
checking OpenH323 installation validity... no
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0013704 Asterisk has new problems compiling on ...
======================================================================
----------------------------------------------------------------------
(0094579) ano (reporter) - 2008-11-04 23:36
http://bugs.digium.com/view.php?id=13838#c94579
----------------------------------------------------------------------
This patch resolves problem: asterisk compiled successfully
--- include/asterisk/channel.h.orig 2008-11-05 08:44:31.178145107
-0800
+++ include/asterisk/channel.h 2008-11-05 08:43:45.295402323 -0800
@@ -1291,7 +1291,6 @@ static inline int ast_fdisset(struct pol
return 0;
}
-/*
#ifdef SOLARIS
static inline void timersub(struct timeval *tvend, struct timeval
*tvstart, struct timeval *tvdiff)
{
@@ -1304,7 +1303,6 @@ static inline void timersub(struct timev
}
#endif
-*/
/*! \brief Waits for activity on a group of channels
* \param nfds the maximum number of file descriptors in the sets
Issue History
Date Modified Username Field Change
======================================================================
2008-11-04 23:36 ano Note Added: 0094579
======================================================================
More information about the asterisk-bugs
mailing list