[Freeswitch-users] mod_perl buid errors on Solaris
Michael Jerris
mike at jerris.com
Thu Aug 21 08:28:01 PDT 2008
Please open up a bug on http://jira.freeswitch.org on this. We have
this reproduced on the build servers now and we are looking to resolve
this.
Mike
On Aug 21, 2008, at 5:40 AM, Bruce McAlister wrote:
> Hi,
>
> I tried to build FreeSWITCH 1.0.1 using GCC versus Sun Studio 12 and
> the
> build does not get very far. I now am faced with the following error
> using
> GCC:
>
> /bin/bash ./libtool --mode=link gcc -g -O2 -I. -I. -o pcregrep
> pcregrep.o
> libpcre.la
> gcc -g -O2 -I. -I. -o pcregrep pcregrep.o ./.libs/libpcre.a
> g++ -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc -
> fPIC -DPIC
> -o pcrecpp.o
> g++ -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_scanner.cc
> -fPIC
> -DPIC -o pcre_scanner.o
> g++ -c -g -O2 -I. -I. -DPOSIX_MALLOC_THRESHOLD=10 ./
> pcre_stringpiece.cc
> -fPIC -DPIC -o pcre_stringpiece.o
> rm -f libpcrecpp.la
> /bin/bash ./libtool --mode=link g++ -I. -I. -rpath /opt/freeswitch/
> lib
> libpcre.la -version-info \
> '0:0:0' -o libpcrecpp.la pcrecpp.lo pcre_scanner.lo
> pcre_stringpiece.lo
> libtool: link: `/usr/sfw/lib/libstdc++.la' is not a valid libtool
> archive
>
> Would you like me to send in a copy of scope.h for you to have a
> look at?
>
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Andy
> Spitzer
> Sent: 18 August 2008 19:41
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] mod_perl buid errors on Solaris
>
> Woof!
>
> On Mon, 18 Aug 2008 14:25:45 -0400, Bruce McAlister
> <bruce.mcalister at blueface.ie> wrote:
>> Does anyone have any idea's on the error listed below?
>
>> /opt/SUNWspro/bin/cc -w -DMULTIPLICITY -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO
>> -I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE -DEMBED_PERL
>> -I/export/home/vzhsxn/packages/BUILD/freeswitch-1.0.1/src/include
>> -I/export/home/vzhsxn/packages/BUILD/freeswitch-1.0.1/libs/
>> libteletone/src
>> -KPIC -DPIC -DPATH_MAX=2048 -g -v -Xc -xc99=all -D_GNU_SOURCE
>> -DHAVE_CONFIG_H -c -o perlxsi.o perlxsi.c
>>
>> "/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/scope.h", line 221:
>> syntax
>> error before or at: sigjmp_buf
>
> Just a guess (from previous solaris experience), that somewhere in the
> perlxsi.c file, there is an include that is re-defining a symbol
> used in
> scope.h. I don't have access to scope.h here to see what it is
> complaining
> about, but that is where I'd look.
>
> Another thing to try would be use gcc instead of Sun's
> compiler...see if
> that makes a difference or changes the error message to something a
> bit more
> useful.
>
> --Woof!
>
> _______________________________________________
> 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