Hi when i want compile asterisk 1.2.11, i have this error : make[1]: Leaving directory `/usr/src/asterisk-1.2.11/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-O6" ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O6 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [editline/libedit.a] Erreur 1 [root@gw asterisk-1.2.11]# what is the library that i don't have put on my server ?
Anyone have a idea ? Noc Phibee a ?crit :> Hi > > when i want compile asterisk 1.2.11, i have this error : > > > make[1]: Leaving directory `/usr/src/asterisk-1.2.11/stdtime' > cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-O6" > ./configure > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc -O6 ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > make: *** [editline/libedit.a] Erreur 1 > [root@gw asterisk-1.2.11]# > > > what is the library that i don't have put on my server ? > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
On Thu, Aug 31, 2006 at 05:58:49PM +0200, Noc Phibee wrote:> Hi > > when i want compile asterisk 1.2.11, i have this error : > > > make[1]: Leaving directory `/usr/src/asterisk-1.2.11/stdtime' > cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="-O6" > ./configure > loading cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc -O6 ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > make: *** [editline/libedit.a] Erreur 1 > [root@gw asterisk-1.2.11]#It seems that your system is lacking a basic build system (gcc, glibc headers, and such). Which Linux distribution is it? -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com
Ciao Noc,> checking whether the C compiler (gcc -O6 ) works... noIn my gcc version (3.4.4), there's no -O6 switch. Try removing from your CFLAGS the -O6 switch, or replacing it with a more conservative -O2. HTH, -- Andrea Spadaccini Multimedia Technologies Institute s.r.l.