Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Solaris 10 build fails with "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
bruce.mcalister at blu...
Guest





PostPosted: Wed Jun 03, 2009 2:17 am    Post subject: [Freeswitch-users] Solaris 10 build fails with "Compile Reply with quote

Hi All,

I am trying to build FS 1.0.4pre8 for Solaris 10 (Update 5), however the
build fails with the following error:

/bin/bash
/export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr/libtool
--silent --mode=compile /usr/bin/cc -g -DHAVE_CONFIG_H -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-I./include
-I/export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr/include/arch/unix
-I./include/arch/unix
-I/export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr/include
-o locks/unix/thread_mutex.lo -c locks/unix/thread_mutex.c && touch
locks/unix/thread_mutex.lo
"/usr/include/sys/feature_tests.h", line 336: #error: "Compiler or
options invalid; UNIX 03 and POSIX.1-2001 applications require the
use of c99"
cc: acomp failed for locks/unix/thread_mutex.c
make[2]: *** [locks/unix/thread_mutex.lo] Error 1
make[2]: Leaving directory
`/export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr'
make: *** [libs/apr/libapr-1.la] Error 2

I have the JDS-CBE build environment setup as recommended on the wiki
with Sun Studio 12 compiler suite installed as well.

I have tried building using Sun's compiler and GNU compiler but I get
the same error message.

I just recently tried "bootstrap.sh" prior to "configure", "make" but
the error is still the same.

Would someone have any suggestions for me to try to get around this?

Thanks
Bruce

_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services