[asterisk-bugs] [JIRA] (ASTERISK-23315) Asterisk 12 rc1 doesn't compile on my raspberry
Tom De Moor (JIRA)
noreply at issues.asterisk.org
Mon Mar 17 09:40:19 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom De Moor updated ASTERISK-23315:
-----------------------------------
Status: Waiting for Feedback (was: Waiting for Feedback)
Ok, i was able to compile Asterisk!
I replaced
{noformat}
#elif defined (PJ_M_ARMV4) || defined(ARM) || defined(_ARM_) || \
defined(ARMV4) || defined(__arm__)
/*
* ARM, bi-endian, so raise error if endianness is not configured
*/
# undef PJ_M_ARMV4
# define PJ_M_ARMV4 1
# define PJ_M_NAME "armv4"
# define PJ_HAS_PENTIUM 0
# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN
# error Endianness must be declared for this processor
# endif
{noformat}
with
{noformat}
#elif defined (PJ_M_ARMV4) || defined(ARM) || defined(_ARM_) || \
defined(ARMV4) || defined(__arm__)
/*
* ARM, bi-endian, so raise error if endianness is not configured
*/
# undef PJ_M_ARMV4
# define PJ_M_ARMV4 1
# define PJ_M_NAME "armv4"
# define PJ_HAS_PENTIUM 0
# define PJ_IS_LITTLE_ENDIAN 1
# define PJ_IS_BIG_ENDIAN 0
{noformat}
Then I ran ./configure again and I could successfully build Asterisk.
Thanks Walter! I would never found that myself.
> Asterisk 12 rc1 doesn't compile on my raspberry
> -----------------------------------------------
>
> Key: ASTERISK-23315
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23315
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 12.0.0-alpha1
> Environment: Raspbian
> Reporter: Tom De Moor
> Assignee: Tom De Moor
>
> I installed pjsip following the instructions as described in https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject
> The modules are there, the config scripts finds them as well.
> But the make gives following error:
> [CC] res_pjsip/pjsip_distributor.c -> res_pjsip/pjsip_distributor.o
> res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
> res_pjsip/pjsip_distributor.c:141:21: error: ‘pjsip_transaction’ has no member named ‘mutex’
> make[1]: *** [res_pjsip/pjsip_distributor.o] Error 1
> make: *** [res] Error 2
> full output of make command: http://pastebin.com/89F4z1yD
> the config.log file: http://pastebin.aquilenet.fr/?1034ac23b8e5bd2e#8n9Re8LGZYmKHkXFoywdqHRQVbgweisobXPfcec/Ccg=
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list