Hello,
I'm trying to compile linphone 3.0.0 in Ubuntu
And I'm getting the following compilation error.
I somewhere read that the fault happens because of the gcc 4.3.2 that
debian based linux uses.
Is there any solution (except downgrading gcc)
Thank you in advance
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I../include/ -I.. -I../../oRTP/include
-I/usr/include/ffmpeg -DVIDEO_ENABLED -DORTP_INET6 -DINET6 -Wall
-O2 -g -pthread -D_REENTRANT -MT msconf.lo -MD -MP -MF
".deps/msconf.Tpo" -c -o msconf.lo msconf.c;
\
then mv -f ".deps/msconf.Tpo" ".deps/msconf.Plo";
else rm -f
".deps/msconf.Tpo"; exit 1;
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I..
-I../../oRTP/include -I/usr/include/ffmpeg -DVIDEO_ENABLED -DORTP_INET6
-DINET6 -Wall -O2 -g -pthread -D_REENTRANT -MT msconf.lo -MD -MP
-MF .deps/msconf.Tpo -c msconf.c -fPIC -DPIC
-o .libs/msconf.o
msconf.c:27:36: error: speex/speex_preprocess.h: No such file or
directory
msconf.c:55: error: expected specifier-qualifier-list before
?SpeexPreprocessState?
msconf.c: In function
?channel_init?:
msconf.c:79: error: ?Channel? has no member named
?speex_pp?
msconf.c:79: warning: implicit declaration of function
?speex_preprocess_state_init?
msconf.c:80: error: ?Channel? has no member named
?speex_pp?
msconf.c:84: warning: implicit declaration of function
?speex_preprocess_ctl?
msconf.c:84: error: ?Channel? has no member named
?speex_pp?
msconf.c:84: error: ?SPEEX_PREPROCESS_SET_DENOISE? undeclared (first use
in this function)
msconf.c:84: error: (Each undeclared identifier is reported only
once
msconf.c:84: error: for each function it appears
in.)
msconf.c:89: error: ?Channel? has no member named
?speex_pp?
msconf.c:89: error: ?SPEEX_PREPROCESS_SET_VAD? undeclared (first use in
this
function)
msconf.c:95: error: ?Channel? has no member named
?speex_pp?
msconf.c:95: error: ?SPEEX_PREPROCESS_SET_AGC? undeclared (first use in
this
function)
msconf.c:97: error: ?Channel? has no member named
?speex_pp?
msconf.c:97: error: ?SPEEX_PREPROCESS_SET_AGC_LEVEL? undeclared (first
use in this
function)
msconf.c:106: error: ?Channel? has no member named
?speex_pp?
msconf.c:108: error: ?Channel? has no member named
?speex_pp?
msconf.c:111: error: ?Channel? has no member named
?speex_pp?
msconf.c:111: error: ?SPEEX_PREPROCESS_SET_DEREVERB? undeclared (first
use in this
function)
msconf.c:113: error: ?Channel? has no member named
?speex_pp?
msconf.c:113: error: ?SPEEX_PREPROCESS_SET_DEREVERB_DECAY? undeclared
(first use in this function)
msconf.c:115: error: ?Channel? has no member named ?speex_pp?
msconf.c:115: error: ?SPEEX_PREPROCESS_SET_DEREVERB_LEVEL? undeclared
(first use in this function)
msconf.c: In function ?channel_uninit?:
msconf.c:123: error: ?Channel? has no member named ?speex_pp?
msconf.c:124: warning: implicit declaration of function
?speex_preprocess_state_destroy?
msconf.c:124: error: ?Channel? has no member named ?speex_pp?
msconf.c:125: error: ?Channel? has no member named ?speex_pp?
msconf.c: In function ?conf_sum?:
msconf.c:264: error: ?Channel? has no member named ?speex_pp?
msconf.c:267: warning: implicit declaration of function
?speex_preprocess?
msconf.c:267: error: ?Channel? has no member named ?speex_pp?
msconf.c:292: error: ?Channel? has no member named ?speex_pp?
msconf.c:295: error: ?Channel? has no member named ?speex_pp?
make[3]: *** [msconf.lo] Error 1
make[3]: Leaving directory
`/home/theo/Desktop/linphone-3.0.0/mediastreamer2/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/theo/Desktop/linphone-3.0.0/mediastreamer2/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/theo/Desktop/linphone-3.0.0/mediastreamer2'
make: *** [install-recursive] Error 1
Hi, You probably need to install libspeex-dev and (possibly) libspeexdsp-dev. Jean-Marc Theofrastos Mantadelis a ?crit :> Hello, > > I'm trying to compile linphone 3.0.0 in Ubuntu > And I'm getting the following compilation error. > I somewhere read that the fault happens because of the gcc 4.3.2 that > debian based linux uses. > Is there any solution (except downgrading gcc) > > Thank you in advance > > if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I.. -I../include/ -I.. -I../../oRTP/include > -I/usr/include/ffmpeg -DVIDEO_ENABLED -DORTP_INET6 -DINET6 -Wall > -O2 -g -pthread -D_REENTRANT -MT msconf.lo -MD -MP -MF > ".deps/msconf.Tpo" -c -o msconf.lo msconf.c; > \ > then mv -f ".deps/msconf.Tpo" ".deps/msconf.Plo"; else rm -f > ".deps/msconf.Tpo"; exit 1; > fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I.. > -I../../oRTP/include -I/usr/include/ffmpeg -DVIDEO_ENABLED -DORTP_INET6 > -DINET6 -Wall -O2 -g -pthread -D_REENTRANT -MT msconf.lo -MD -MP > -MF .deps/msconf.Tpo -c msconf.c -fPIC -DPIC > -o .libs/msconf.o > msconf.c:27:36: error: speex/speex_preprocess.h: No such file or > directory > msconf.c:55: error: expected specifier-qualifier-list before > ?SpeexPreprocessState? > msconf.c: In function > ?channel_init?: > msconf.c:79: error: ?Channel? has no member named > ?speex_pp? > msconf.c:79: warning: implicit declaration of function > ?speex_preprocess_state_init? > msconf.c:80: error: ?Channel? has no member named > ?speex_pp? > msconf.c:84: warning: implicit declaration of function > ?speex_preprocess_ctl? > msconf.c:84: error: ?Channel? has no member named > ?speex_pp? > msconf.c:84: error: ?SPEEX_PREPROCESS_SET_DENOISE? undeclared (first use > in this function) > msconf.c:84: error: (Each undeclared identifier is reported only > once > msconf.c:84: error: for each function it appears > in.) > msconf.c:89: error: ?Channel? has no member named > ?speex_pp? > msconf.c:89: error: ?SPEEX_PREPROCESS_SET_VAD? undeclared (first use in > this > function) > msconf.c:95: error: ?Channel? has no member named > ?speex_pp? > msconf.c:95: error: ?SPEEX_PREPROCESS_SET_AGC? undeclared (first use in > this > function) > msconf.c:97: error: ?Channel? has no member named > ?speex_pp? > msconf.c:97: error: ?SPEEX_PREPROCESS_SET_AGC_LEVEL? undeclared (first > use in this > function) > msconf.c:106: error: ?Channel? has no member named > ?speex_pp? > msconf.c:108: error: ?Channel? has no member named > ?speex_pp? > msconf.c:111: error: ?Channel? has no member named > ?speex_pp? > msconf.c:111: error: ?SPEEX_PREPROCESS_SET_DEREVERB? undeclared (first > use in this > function) > msconf.c:113: error: ?Channel? has no member named > ?speex_pp? > msconf.c:113: error: ?SPEEX_PREPROCESS_SET_DEREVERB_DECAY? undeclared > (first use in this function) > msconf.c:115: error: ?Channel? has no member named ?speex_pp? > msconf.c:115: error: ?SPEEX_PREPROCESS_SET_DEREVERB_LEVEL? undeclared > (first use in this function) > msconf.c: In function ?channel_uninit?: > msconf.c:123: error: ?Channel? has no member named ?speex_pp? > msconf.c:124: warning: implicit declaration of function > ?speex_preprocess_state_destroy? > msconf.c:124: error: ?Channel? has no member named ?speex_pp? > msconf.c:125: error: ?Channel? has no member named ?speex_pp? > msconf.c: In function ?conf_sum?: > msconf.c:264: error: ?Channel? has no member named ?speex_pp? > msconf.c:267: warning: implicit declaration of function > ?speex_preprocess? > msconf.c:267: error: ?Channel? has no member named ?speex_pp? > msconf.c:292: error: ?Channel? has no member named ?speex_pp? > msconf.c:295: error: ?Channel? has no member named ?speex_pp? > make[3]: *** [msconf.lo] Error 1 > make[3]: Leaving directory > `/home/theo/Desktop/linphone-3.0.0/mediastreamer2/src' > make[2]: *** [install] Error 2 > make[2]: Leaving directory > `/home/theo/Desktop/linphone-3.0.0/mediastreamer2/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/theo/Desktop/linphone-3.0.0/mediastreamer2' > make: *** [install-recursive] Error 1 > > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev
Theofrastos Mantadelis wrote:> I'm trying to compile linphone 3.0.0 in Ubuntu > And I'm getting the following compilation error. > I somewhere read that the fault happens because of the gcc 4.3.2 that > debian based linux uses. > Is there any solution (except downgrading gcc)Downgrading gcc only sweeps the problem under the carpet, it does not fix the problem.> msconf.c:27:36: error: speex/speex_preprocess.h: No such file or > directoryOn Debian/Ubuntu systems : sudo apt-get install apt-file sudo apt-file update then: apt-file search speex_preprocess.h will tell you that the file you are looking for is in the libspeexdsp-dev package. Apt-file is a very useful program. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "If you don't have freedom as a principle, you can never see a reason not to make an exception." -- Richard Stallman.