bruce.mcalister at blu... Guest
|
Posted: Wed Jun 03, 2009 2:48 pm Post subject: [Freeswitch-users] Solaris 10 build fails with "Compile |
|
|
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
Quote: |
/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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|