Hello,
I'm trying to compile linphone for 32bits-architecture without video.
I export this flags: CFLAGS=-m32 LDFLAGS=-m32 CXXFLAGS=-m32
then I run:
$./configure --disable-video
Everything seems fine
But when I run
$make
I get this error:
Making all in oRTP
make[2]: Entering directory `/home/stella/linphone-hc2/linphone-3.3.2/oRTP'
make all-recursive
make[3]: Entering directory `/home/stella/linphone-hc2/linphone-3.3.2/oRTP'
Making all in src
make[4]: Entering directory `/home/stella/linphone-hc2/linphone-3.3.2/oRTP/src'
Making all in .
make[5]: Entering directory `/home/stella/linphone-hc2/linphone-3.3.2/oRTP/src'
/usr/bin/ld: i386:x86-64 architecture of input file `.libs/stun.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `.libs/stun_udp.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `.libs/srtp.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `.libs/b64.o' is incompatible with i386 output
collect2: ld returned 1 exit status
I don't know if I have to compile another extra 32bit-library or I have to include some other option or how to solve this problem. I've been searching through the mailing-list and google, and I don't find anyone with the same problem.
Please help me, I'm stuck and I've been searching for a solution for two days.
Regards,
Stella.