[Freeswitch-users] Make error on Scientific Linux 6.1
Abdul Basit
basit.engg at gmail.com
Sun Oct 23 21:22:15 MSD 2011
On Sun, Oct 23, 2011 at 10:08 PM, Cliff Wells <cliff at develix.com> wrote:
> On Sun, 2011-10-23 at 21:46 +0500, Abdul Basit wrote:
> > Cliff,
> >
> >
> > I faced the same issue. Please see your gcc version. Install gcc < 4.5
> > because they have changed something regarding paths.
>
> I currently have gcc 4.4.5 installed.. I don't think 4.5 is available in
> the SL repo... is there any chance you are misremembering the versions?
>
>
I tested on ubuntu server 11.10 after apt-get upgrade that installed gcc
version 4.6.
https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
Please test downgrading the gcc version.
This is just a way around. If you get resolve the issue, just post the bug.
> Also, this is the same version of gcc as on the working system. I'm
> doing "make sure" on the working system to see if compilation continues
> to work fine there.
>
> As far as I can tell, both systems are up-to-date with yum and both have
> git head. I'm going to do a diff on the output of rpm -qa to see if
> there's some variation in installed packages.
>
> > while using FS version 1.0.6 i faced switch.h problem and on git HEAD
> > i faced the same problem as yours.
> >
> >
> > I installed gcc-4.4 and compilation worked well. Also did you
> > follow ./bootstrap.sh and ./configure ?
> >
>
> Yes, I followed standard procedure: ./bootstrap.sh && ./configure &&
> make
>
> Regards,
> Cliff
>
>
> > --
> > regards,
> >
> >
> > Abdul Basit
> >
> >
> >
> >
> >
> >
> > On Sun, Oct 23, 2011 at 9:29 PM, Madovsky <infos at madovsky.org> wrote:
> > did you try sh boostrap.sh before compile ?
> >
> >
> > ----- Original Message -----
> > From: "Cliff Wells" <cliff at develix.com>
> > To: <freeswitch-users at lists.freeswitch.org>
> > Sent: Sunday, October 23, 2011 12:25 PM
> > Subject: [Freeswitch-users] Make error on Scientific Linux 6.1
> >
> >
> > > I've compiled FS on SL6.1 previously without issue. I'm
> > wondering how I
> > > can get more informative output so I can figure out if I'm
> > missing a
> > > dependency, have a conflicting library installed, or
> > whatever:
> > >
> > >
> > Compiling ../../../../libs/xmlrpc-c/lib/expat/xmltok/xmltok.c...
> > > Compiling
> > >
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c...
> > > quiet_libtool: compile:
> > > gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse
> > -I../../../../libs/xmlrpc-c/lib/expat/xmltok
> > > -I../../../../libs/xmlrpc-c
> > -I../../../../libs/xmlrpc-c/include
> > -I../../../../libs/xmlrpc-c/lib/abyss/src
> > > -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD
> > -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include
> > > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/libs/libteletone/src
> > > -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
> > -DHAVE_VISIBILITY=1
> > > -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic
> > -Wdeclaration-after-statement
> > > -D_GNU_SOURCE -DHAVE_CONFIG_H -c
> > >
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c -fPIC
> > > -DPIC -o .libs/mod_xml_rpc.o
> > > quiet_libtool: compile:
> > > gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse
> > -I../../../../libs/xmlrpc-c/lib/expat/xmltok
> > > -I../../../../libs/xmlrpc-c
> > -I../../../../libs/xmlrpc-c/include
> > -I../../../../libs/xmlrpc-c/lib/abyss/src
> > > -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD
> > -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include
> > > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/libs/libteletone/src
> > > -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
> > -DHAVE_VISIBILITY=1
> > > -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic
> > -Wdeclaration-after-statement
> > > -D_GNU_SOURCE -DHAVE_CONFIG_H -c
> > >
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c -o
> > > mod_xml_rpc.o >/dev/null 2>&1
> > > Creating mod_xml_rpc.la...
> > > make[6]: Leaving directory
> > > `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc'
> > > make[5]: Leaving directory
> > > `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc'
> > > make[4]: Leaving directory
> > `/usr/local/src/freeswitch/src/mod'
> > > make[3]: Leaving directory `/usr/local/src/freeswitch/src'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/usr/local/src/freeswitch'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory `/usr/local/src/freeswitch'
> > > make: *** [current] Error 2
> > >
> > > Thanks for any suggestions.
> > >
> > > Cliff
> > >
> > >
> > >
> > >
> > > 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
> >
> >
> > 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
>
--
Regards,
Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111023/b3adcda5/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list