I'm on Mac 10.6.4 64bit, a fresh clone of git head. I tried to build FS into 32 bit. I use the following command when configure: CFLAGS="-arch i386" CXXFLAGS="-arch i386" LDFLAGS="-arch i386" ./configure --prefix=/opt/fs-i386 --host=i386 --build=i386 --target=i386 However, when make, it throws some errors, I manually *change* the source like from "ifdef" to "ifndef" to trick it and make further, however, I still couldn't get fully built. some errors below. and ideas? thanks. src/switch_apr.c: In function 'switch_vasprintf': src/switch_apr.c:1024: warning: implicit declaration of function 'vasprintf' src/switch_core_session.c: In function 'switch_core_session_thread': src/switch_core_session.c:1193: warning: format '%d' expects type 'int', but argument 8 has type 'switch_size_t' src/switch_core_session.c:1203: warning: format '%d' expects type 'int', but argument 8 has type 'switch_size_t' src/switch_core_session.c:1221: warning: format '%d' expects type 'int', but argument 8 has type 'switch_size_t' src/switch_core.c: In function 'send_heartbeat': src/switch_core.c:84: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/switch_core.c: In function 'change_user_group': src/switch_core.c:677: warning: implicit declaration of function 'setgroups' src/switch_core.c:704: warning: implicit declaration of function 'initgroups' src/switch_core.c: In function 'send_heartbeat': src/switch_core.c:84: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' src/switch_core.c: In function 'change_user_group': src/switch_core.c:677: warning: implicit declaration of function 'setgroups' src/switch_core.c:704: warning: implicit declaration of function 'initgroups' src/switch_rtp.c: In function 'rtp_common_write': src/switch_rtp.c:3437: error: 'u_long' undeclared (first use in this function) src/switch_rtp.c:3437: error: (Each undeclared identifier is reported only once src/switch_rtp.c:3437: error: for each function it appears in.) src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' src/switch_rtp.c:3437: error: expected ')' before 'rtp_session' make[1]: *** [libfreeswitch_la-switch_rtp.lo] Error 1 src/switch_utils.c: In function 'switch_build_uri': src/switch_utils.c:1530: error: 'NI_MAXHOST' undeclared (first use in this function) src/switch_utils.c:1530: error: (Each undeclared identifier is reported only once src/switch_utils.c:1530: error: for each function it appears in.) src/switch_utils.c:1530: error: 'NI_MAXSERV' undeclared (first use in this function) more detailed log: http://pastebin.freeswitch.org/13615 -- Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn