[Freeswitch-users] problems compiling 1.10.7
John Covici
covici at ccs.covici.com
Wed Oct 27 14:47:52 UTC 2021
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 at ccs.covici.com
More information about the FreeSWITCH-users
mailing list