[Freeswitch-users] Unable to compile upstream v1.6 on FreeBSD 10.3

Rajil Saraswat rajil.s at gmail.com
Fri Sep 16 04:19:19 MSD 2016


Hello,

I am getting the error pasted below while compiling 1.6 branch in
FreeBSD 10.3. Is there any workaround for this?


gmake[5]: Entering directory
'/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia'
  CC       mod_sofia_la-mod_sofia.lo
  CC       mod_sofia_la-sofia.lo
  CC       mod_sofia_la-sofia_glue.lo
  CC       mod_sofia_la-sofia_presence.lo
  CC       mod_sofia_la-sofia_reg.lo
  CC       mod_sofia_la-sofia_media.lo
  CC       mod_sofia_la-sip-dig.lo
In file included from sip-dig.c:137:
/home/fs/fs1.6/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf/../../config.h:521:9:
error: '__BYTE_ORDER' macro redefined [-Werror]
#define __BYTE_ORDER __LITTLE_ENDIAN
        ^
../../../../src/include/switch_platform.h:144:9: note: previous
definition is here
#define __BYTE_ORDER __BIG_ENDIAN
        ^
1 error generated.
gmake[5]: *** [Makefile:749: mod_sofia_la-sip-dig.lo] Error 1
gmake[5]: Leaving directory
'/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia'
gmake[4]: *** [Makefile:594: all] Error 2
gmake[4]: Leaving directory
'/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia'
gmake[3]: *** [Makefile:666: mod_sofia-all] Error 1
gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod'
gmake[2]: *** [Makefile:574: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src'
gmake[1]: *** [Makefile:3131: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch'
gmake: *** [Makefile:1410: all] Error 2

Thanks,
Rajil



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list