[Freeswitch-users] cannot compile 64 bit freeswitch
covici at ccs.covici.com
covici at ccs.covici.com
Fri Apr 1 20:23:36 MSD 2011
Removing the files just causes the link to complain that the files were
not there.
Even a ./configure does no good, its still looking for those files --
libsqlite3.a and .lai as well.
Peter Olsson <peter.olsson at visionutveckling.se> wrote:
> Well, bootstrap doesn't clean though.. :) Seems like it's a leftover from an old build, just remove it. I usually do "make current", which cleans, updates from git, builds and installs - all in one step.
>
> /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:40
> Till: FreeSWITCH Users Help
> Ämne: Re: [Freeswitch-users] cannot compile 64 bit freeswitch
>
> You bet -- I even did a bootstrap.sh. I wonder what this file is?
> Should I delete it or substitute the one from the system library?
>
> Peter Olsson <peter.olsson at visionutveckling.se> wrote:
>
> > 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
> >
> >
> >
> >
> > _______________________________________________
> > 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:4d95f28e32763212311503!
>
>
> _______________________________________________
> 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
More information about the FreeSWITCH-users
mailing list