[Freeswitch-users] cannot compile 64 bit freeswitch

Peter Olsson peter.olsson at visionutveckling.se
Fri Apr 1 19:28:39 MSD 2011


Did you clean before building (if it was not newly pulled from git)?

/Peter
________________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för covici at ccs.covici.com [covici at ccs.covici.com]
Skickat: den 1 april 2011 17:19
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] cannot compile 64 bit freeswitch

It was using the correct compiler, but this file is something which is
there and dated in September of 2010!

curriegrad2004 <curriegrad2004 at gmail.com> wrote:

> Seems like your compiler is trying to link x86 code with x86_64 code.
> Have you tried adding this before the ./configure command?
>
> eg. CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 ./configure
>
> On Fri, Apr 1, 2011 at 2:41 AM,  <covici at ccs.covici.com> wrote:
> > Here is some of what I get when i try to compile fs using 64-bit C
> > compiler and libraries -- using gentoo.
> >
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > i386 architecture of input file `./.libs/libsqlite3.a(complete.o)' is
> > incompatib\le with i386:x86-64 output
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > i386 architecture of input file `./.libs/libsqlite3.a(main.o)' is
> > incompatible w\ith i386:x86-64 output
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > i386 architecture of input file `./.libs/libsqlite3.a(os_unix.o)' is
> > incompatibl\e with i386:x86-64 output
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > i386 architecture of input file `./.libs/libsqlite3.a(prepare.o)' is
> > incompatibl\e with i386:x86-64 output
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
> > i386 architecture of input file `./.libs/libsqlite3.a(printf.o)' is
> > incompatible\ with i386:x86-64 output
> >
> >
> > There is more like that and then it dies with a number of undefined
> > references.
> >
> > How can I fix this library or what else should I do?  I restarted from
> > ./bootstrap.sh  ./config and make.
> >
> > Any assistance would be appreciated.
> >
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> >
> >         John Covici
> >         covici at ccs.covici.com
> >
> > _______________________________________________
> > 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

--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com

_______________________________________________
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

!DSPAM:4d95ed4832767123130774!




More information about the FreeSWITCH-users mailing list