[Freeswitch-users] OpenSolaris Compile Error [gcc]

Nick Lemberger Nick.Lemberger at lkfd.net
Thu Aug 13 18:24:35 PDT 2009


64bit OpenSolaris w/ gcc-4.3.2

After a bootstrap and configure I get the following error when running make:


---snip---

Compiling src/switch_caller.c ...
cc1: warnings being treated as errors
src/switch_caller.c: In function 'switch_caller_profile_event_set_data':
src/switch_caller.c:299: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:301: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:303: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:305: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:307: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:309: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
src/switch_caller.c:311: error: format '%lld' expects type 'long long int', but argument 5 has type 'switch_time_t'
make[2]: *** [libfreeswitch_la-switch_caller.lo] Error 1

---snip---

I get this error in both the source for 1.0.4 and last nights snapshot.  An suggestions or ideas?  There are no apparent errors during the bootstrap or configure processes.

Regards,
Nicholas Lemberger
Lakefield Communications






More information about the FreeSWITCH-users mailing list