VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Nick.Lemberger at lkfd... Guest
|
Posted: Thu Aug 13, 2009 8:31 pm Post subject: [Freeswitch-users] OpenSolaris Compile Error [gcc] |
|
|
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
_______________________________________________
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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Fri Aug 14, 2009 1:17 pm Post subject: [Freeswitch-users] OpenSolaris Compile Error [gcc] |
|
|
It would appear that different versions of opensolaris / compiler /
32/64 bit handle this totally differently. I have tested this both 32
and 64 on sun studio when I made the change and it works, seems gcc
wants different format specifiers. The patch that caused this is :
http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=14069
Anyone with access to 32 and 64 bit opensolaris with both sun cc and
gcc build systems working I need a patch that works on all.
Mike
On Aug 13, 2009, at 9:24 PM, Nick Lemberger wrote:
Quote: | 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
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|