asterisk/main/asterisk.exports.in
George Joseph e61716b774 pjproject_bundled: Various fixes discovered during testing of OSes
For all OSes:
* Disabled third-party codecs in pjproject and added
  '--disable-speex-codec --disable-speex-aec --disable-gsm-codec' to the
  configure options since we don't use the pjsip codec capability.

FreeBSD:
* Added FreeBSD support to install_prereq.
* Changed pjproject/configure.m4 to use $GNU_MAKE instead of hardcoding "make".
* Added __progname and environ to asterisk.exports.in.
* Reverted the use of ldconfig to create shared library symlinks to ln.
* Only enable epoll in pjproject if `uname -s` is Linux.
* Added a patch to pjproject to take the name of the 'make' command from
  an environment variable if supplied.  This is needed for the python bindings.
  (merged by Teluu into pjproject trunk 5/3/2016)
FreeBSD support isn't complete.  Still some general issues regarding
make/gmake having nothing to do with pjproject.  With some handholding it DOES
build successfully.

CentOS:
Added 'patch' and 'bzip2' to install_prereq PACKAGES_RH.
CentOS 6/7 32/64 build and run the pjsip testsuite successfully.

Ubuntu:
No changes required.
Ubuntu 15/16 32/64 build and run the pjsip testsuite successfully.

Debian:
No changes required.
Debian 6/7/8 32/64 build and run the pjsip testsuite successfully.

There will utimately be a follow-up patch to create an install_prereq for
the testsuite as I've discovered a few missing requirements.

ASTERISK-25968 #close

Change-Id: I5756a07facfc63798115a5e73a8709382fe9259c
2016-05-03 07:56:18 -05:00

76 lines
2.3 KiB
Text

{
global:
LINKER_SYMBOL_PREFIXast_*;
LINKER_SYMBOL_PREFIXbridge_*;
LINKER_SYMBOL_PREFIXbridge_channel_*;
LINKER_SYMBOL_PREFIX_ast_*;
LINKER_SYMBOL_PREFIX__ast_*;
LINKER_SYMBOL_PREFIXpbx_*;
LINKER_SYMBOL_PREFIXastman_*;
LINKER_SYMBOL_PREFIXaco_*;
LINKER_SYMBOL_PREFIX__aco_*;
LINKER_SYMBOL_PREFIXao2_*;
LINKER_SYMBOL_PREFIX__ao2_*;
LINKER_SYMBOL_PREFIXoption_debug;
LINKER_SYMBOL_PREFIXoption_verbose;
LINKER_SYMBOL_PREFIXdahdi_chan_name;
LINKER_SYMBOL_PREFIXdahdi_chan_name_len;
LINKER_SYMBOL_PREFIXdahdi_chan_mode;
LINKER_SYMBOL_PREFIXcallerid_*;
LINKER_SYMBOL_PREFIXcid_di;
LINKER_SYMBOL_PREFIXcid_dr;
LINKER_SYMBOL_PREFIXclidsb;
LINKER_SYMBOL_PREFIXMD5*;
LINKER_SYMBOL_PREFIXsched_*;
LINKER_SYMBOL_PREFIXio_*;
LINKER_SYMBOL_PREFIXjb_*;
LINKER_SYMBOL_PREFIXaes_*;
LINKER_SYMBOL_PREFIXconfig_*;
LINKER_SYMBOL_PREFIXtdd_*;
LINKER_SYMBOL_PREFIXterm_*;
LINKER_SYMBOL_PREFIXchannelreloadreason2txt;
LINKER_SYMBOL_PREFIXdevstate2str;
LINKER_SYMBOL_PREFIX__manager_event;
LINKER_SYMBOL_PREFIXdialed_interface_info;
LINKER_SYMBOL_PREFIXstrsep;
LINKER_SYMBOL_PREFIXsetenv;
LINKER_SYMBOL_PREFIXstasis_*;
LINKER_SYMBOL_PREFIXunsetenv;
LINKER_SYMBOL_PREFIXstrcasestr;
LINKER_SYMBOL_PREFIXstrnlen;
LINKER_SYMBOL_PREFIXstrndup;
LINKER_SYMBOL_PREFIXvasprintf;
LINKER_SYMBOL_PREFIXasprintf;
LINKER_SYMBOL_PREFIXstrtoq;
LINKER_SYMBOL_PREFIXgetloadavg;
LINKER_SYMBOL_PREFIXntohll;
LINKER_SYMBOL_PREFIXhtonll;
LINKER_SYMBOL_PREFIXtimersub;
LINKER_SYMBOL_PREFIXres_srtp;
LINKER_SYMBOL_PREFIXres_srtp_policy;
LINKER_SYMBOL_PREFIXsecure_call_info;
LINKER_SYMBOL_PREFIX__progname;
LINKER_SYMBOL_PREFIXenviron;
/*
If _IO_stdin_used is not exported, stdout/stderr may not get
properly aligned. That causes breakage on some architectures.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#51
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#94
http://lists.gnu.org/archive/html/bug-glibc/2001-12/msg00203.html
We export the symbol to get proper behaviour. Now printf
doesn't SIGBUS anymore on the SPARC.
Michael Karcher wrote on Jan 13, 2013:
> A build process that mangles the export of _IO_stdin_used is
> (as defined by the libc ABI, even if not explicitly written
> down) broken. [...]
*/
LINKER_SYMBOL_PREFIX_IO_stdin_used;
local:
*;
};