[CELT-dev] Problem compiling celt 0.7.0

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sun Nov 8 14:02:38 PST 2009


Rule #1: Don't enable options unless you know what they're doing :-)

In this case, you probably configured with --enable-new-plc , which was
just a switch for playing with new PLC algorithms (that don't exist
yet!). Remove that switch and CELT should compile fine.

Cheers,

	Jean-Marc

Pierre a écrit :
> # make
> make  all-recursive
> make[1]: Entering directory `/tmp/celt-0.7.0'
> Making all in libcelt
> make[2]: Entering directory `/tmp/celt-0.7.0/libcelt'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I..     -s -O3 -march=i686 -fvisibility=hidden -W 
> -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow 
> -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -MT celt.lo -MD 
> -MP -MF .deps/celt.Tpo -c -o celt.lo celt.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -s -O3 
> -march=i686 -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra 
> -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses 
> -Wno-unused-parameter -Wno-sign-compare -MT celt.lo -MD -MP -MF 
> .deps/celt.Tpo -c celt.c  -fPIC -DPIC -o .libs/celt.o
> celt.c:1231:17: error: plc.c: No such file or directory
> celt.c: In function 'celt_decode_float':
> celt.c:1340: warning: implicit declaration of function 'celt_decode_lost'
> celt.c:1340: warning: nested extern declaration of 'celt_decode_lost'
> make[2]: *** [celt.lo] Error 1
> make[2]: Leaving directory `/tmp/celt-0.7.0/libcelt'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/celt-0.7.0'
> make: *** [all] Error 2
> 
> _______________________________________________
> celt-dev mailing list
> celt-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/celt-dev
> 
> 



More information about the celt-dev mailing list