Re: [Ekiga-devel-list] celt option fails to build

Peter Robinson wrote:
Just thought I'd let you know that the celt codec fails to build on
rawhide. Output below.
The original tarball provided on their site was broken with this error.
same tarball, but with the fix for this, is found on gnome site. You can
the latter one or apply the 1-line patch which fixes it (look at ML I
The opal tarball from the gnome site is the one I'm using. Which
Are you sure?

mailing list can I get the fix from?

Does it work?

No. That rev was already applied. I also applied the later two revs
that Damien had done and it didn't help. Its still complaining. Here's
the last lot of output.

gcc -c -fPIC -Os -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -I../../../include -I../..  -o celtcodec.o celtcodec.c
celtcodec.c: In function 'celt_codec_encoder':
celtcodec.c:148: warning: passing argument 3 of 'celt_encode' from
incompatible pointer type
/usr/include/celt/celt.h:182: note: expected 'celt_int16_t *' but
argument is of type 'char *'
celtcodec.c:148: warning: passing argument 4 of 'celt_encode' makes
pointer from integer without a cast
/usr/include/celt/celt.h:182: note: expected 'unsigned char *' but
argument is of type 'int'
celtcodec.c:148: error: too few arguments to function 'celt_encode'
celtcodec.c: In function 'celt_codec_decoder':
celtcodec.c:176: warning: pointer targets in passing argument 2 of
'celt_decode' differ in signedness
/usr/include/celt/celt.h:227: note: expected 'unsigned char *' but
argument is of type 'char *'
make[2]: *** [celtcodec.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/opal-3.5.2/plugins/audio/celt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/opal-3.5.2/plugins'
make: *** [subdirs] Error 2
make: *** Waiting for unfinished jobs....

Do you have celt >= 0.5 installed? The problem is between /usr/include/celt/celt.h:182 and opal's celtcodec.c:148...


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