Hi Rajil, This appears to be a regression caused by some recent work I did to improve Solaris support. I have created a pull request which should fix the issue. See https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/960/... Can you test this fix and report back? Thanks, Spencer On Sep 15, 2016, at 5:19 PM, Rajil Saraswat <rajil.s@gmail.com<mailto:rajil.s@gmail.com>> wrote: 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org