covici at ccs.covici.com Guest
|
Posted: Wed Oct 27, 2021 10:14 am Post subject: [Freeswitch-users] problems compiling 1.10.7 |
|
|
Hi. I am compiling freeswitch under gentoo and getting the following
error:
/bin/sh /usr/src/freeswitch/libs/apr/libtool --silent --mode=compile
gcc -g -O2 -pthread -g -O2 -DHAVE_CONFIG_H -D_REENTRANT
-D_GNU_SOURCE -I./include
-I/usr/src/freeswitch/libs/apr/include/arch/unix -I./include/arch/unix
-I/usr/src/fr\eeswitch/libs/apr/include -o threadproc/unix/signals.lo
-c threadproc/unix/signals.c && touch threadproc/unix/signals.lo
In file included from ./include/apr_pools.h:39,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/../apr_private_common.h:24,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/apr_private.h:881,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/apr_arch_threadproc.h:18,
from
threadproc/unix/signals.c:18:
./include/apr_general.h:33:
warning:
"NSIG"
redefined
33
|
#define
NSIG
__DARWIN_NSIG
|
In
file
included
from
/usr/include/sys/wait.h:36,
from
./include/apr.h:131,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/apr_arch_threadproc.h:17,
from
threadproc/unix/signals.c:18:
/usr/include/signal.h:184:
note:
this
is
the
location
of
the
previous
definition
184
|
# define
NSIG
_NSIG
|
In
file
included
from
./include/apr_pools.h:39,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/../apr_private_common.h:24,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/apr_private.h:881,
from
/usr/src/freeswitch/libs/apr/include/arch/unix/apr_arch_threadproc.h:18,
from
threadproc/unix/signals.c:18:
./include/apr_general.h:33:14:
error:
`__DARWIN_NSIG'
undeclared
here
(not
in
a
function)
33
|
#define
NSIG
__DARWIN_NSIG
|
^~~~~~~~~~~~~
threadproc/unix/signals.c:127:20:
note:
in
expansion
of
macro
`NSIG'
127
|
#define
APR_NUMSIG
NSIG
|
^~~~
threadproc/unix/signals.c:136:39:
note:
in
expansion
of
macro
`APR_NUMSIG'
136
|
static
const
char
*signal_description[APR_NUMSIG];
|
^~~~~~~~~~
make[2]:
***
[/usr/src/freeswitch/libs/apr/build/apr_rules.mk:201:
threadproc/unix/signals.lo]
Error
1
Anyone have a clue?
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici@ccs.covici.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com |
|