[Freeswitch-users] Solaris 10 build fails with "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications require the use of c99"
Bruce McAlister
bruce.mcalister at blueface.ie
Thu Jun 4 07:10:11 PDT 2009
Hi Mike,
As per request, here is the build status of 1.0.4preX for me:
1.0.4pre2 compile successful
1.0.4pre3 compile successful
1.0.4pre4 compile successful
1.0.4pre5 compile successful
1.0.4pre6 compile successful
1.0.4pre7 compile successful
1.0.4pre8 compile fails
I have used the same spec file for each build so the build environment
is identical for each.
I have filed a jira at:
http://jira.freeswitch.org/browse/FSBUILD-169
Thanks
Bruce
Michael Jerris wrote:
> if you could nail down a specific svn revision that causes this issue
> and file a jira at http://jira.freeswitch.org that would be a big help
> in resolving this issue.
>
> Mike
>
> On Jun 3, 2009, at 3:43 PM, Bruce McAlister wrote:
>
>> Hi All,
>>
>> Any pointers or suggestions on this issue would be greatly
>> appreciated.
>>
>> PS: I tried compiling several version of FreeSWITCH to see if I
>> encounter the same issue, I have varying results. Version 1.0 compiles
>> fine, version 1.0.2 fails and 1.0.3RC1/1.0.3 builds fine. But this
>> error
>> message is new in version 1.0.4preX. I've not tried any older
>> pre-releases of 1.0.4 though.
>>
>> Thanks
>> Bruce
>>
>> Thanks
>> Bruce
>>> /bin/bash
>>> /export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr/
>>> libtool
>>> --silent --mode=compile /usr/sfw/bin/gcc -m32 -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
>>> In file included from
>>> /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/sys/types.h:27,
>>> from ./include/apr.h:113,
>>> from
>>> /export/home/user/packages/BUILD/freeswitch-1.0.4pre8/libs/apr/
>>> include/arch/unix/apr_arch_thread_mutex.h:24,
>>> from locks/unix/thread_mutex.c:17:
>>> /usr/include/sys/feature_tests.h:336:2: #error "Compiler or options
>>> invalid; UNIX 03 and POSIX.1-2001 applications require the use
>>> of c99"
>>> 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
>>>
>>> In all cases I have started the build from the beginning, whereby I
>>> remove and re-extract the 1.0.4pre8 tarball. I've tried with just a
>>> configure and also a bootstrap/configure, but I end up with the same
>>> error (except when I change the compiler to Sun Studio 12's c99).
>>>
>>> Is GCC 3.4.3 too old to use to build this version of freeswitch?
>>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
More information about the FreeSWITCH-users
mailing list