linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Error compiling Linphone in Ubuntu-Linux 5.10


From: S.P.T.Krishnan
Subject: [Linphone-developers] Error compiling Linphone in Ubuntu-Linux 5.10
Date: Mon, 13 Feb 2006 17:33:45 +0800

Hi,

I am trying to compile the Linphone 1.2.0 in my laptop with ubuntu-linux 5.10.  Facing some problems though.

1. I am using the stable ubuntu-linux with all the current patches.
2. "./configure" works fine without any problem.

When I issue "make" command, after a few minutes, I get the following error.

make[2]: Entering directory `/home/krishnan/projects/linphone-1.2.0/console'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../coreapi -I../osipua/ -I../osipua/src -I../oRTP/include -I../oRTP/ -I../mediastreamer -I/usr/include -I/usr/include/speex -I/usr/include -I../exosip   -Wall -Werror  -DENABLE_TRACE -D_ORTP_SOURCE  -g -O2 -I../support -MT linphonec.o -MD -MP -MF ".deps/linphonec.Tpo" -c -o linphonec.o linphonec.c; \
then mv -f ".deps/linphonec.Tpo" ".deps/linphonec.Po"; else rm -f ".deps/linphonec.Tpo"; exit 1; fi
cc1: warnings being treated as errors
linphonec.c: In function 'main':
linphonec.c:211: warning: unused variable 'p'
make[2]: *** [linphonec.o] Error 1
make[2]: Leaving directory `/home/krishnan/projects/linphone-1.2.0/console'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/krishnan/projects/linphone-1.2.0'
make: *** [all] Error 2

There are two options.  Fix the error or disable the -Werror switch.
I did some googling and some tweaking here and there.
I removed "-Werror" from configure.in appearing in the lines,

if test "$GCC" = "yes" ; then
        STRICT_OPTIONS="-Wall -Werror"
fi

Still when the Makefile is getting written, "-Werror" appears again and make fails soon thereafter.

Can you provide me a solution out of this situvation.

regards,
Krishnan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]