DABCELT 0.1 source compilation error

48 views
Skip to first unread message

Gro Bil

unread,
May 2, 2013, 6:04:00 AM5/2/13
to crc-mm...@googlegroups.com
hi

i tried to install openmokast-0.6.4 from source but i have a problem with dabcelt-0.1 :

~/dabcelt-0.1$ make
make  all-recursive
make[1]: entrant dans le répertoire « /home/loic/dabcelt-0.1 »
Making all in src
make[2]: entrant dans le répertoire « /home/loic/dabcelt-0.1/src »
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -O0 -ggdb   -g -O2 -MT libdabcelt_la-DabCelt.lo -MD -MP -MF .deps/libdabcelt_la-DabCelt.Tpo -c -o libdabcelt_la-DabCelt.lo `test -f 'DabCelt.c' || echo './'`DabCelt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O0 -ggdb -g -O2 -MT libdabcelt_la-DabCelt.lo -MD -MP -MF .deps/libdabcelt_la-DabCelt.Tpo -c DabCelt.c  -fPIC -DPIC -o .libs/libdabcelt_la-DabCelt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O0 -ggdb -g -O2 -MT libdabcelt_la-DabCelt.lo -MD -MP -MF .deps/libdabcelt_la-DabCelt.Tpo -c DabCelt.c -o libdabcelt_la-DabCelt.o >/dev/null 2>&1
mv -f .deps/libdabcelt_la-DabCelt.Tpo .deps/libdabcelt_la-DabCelt.Plo
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -O0 -ggdb   -g -O2 -MT libdabcelt_la-DabCeltPcm.lo -MD -MP -MF .deps/libdabcelt_la-DabCeltPcm.Tpo -c -o libdabcelt_la-DabCeltPcm.lo `test -f 'DabCeltPcm.c' || echo './'`DabCeltPcm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O0 -ggdb -g -O2 -MT libdabcelt_la-DabCeltPcm.lo -MD -MP -MF .deps/libdabcelt_la-DabCeltPcm.Tpo -c DabCeltPcm.c  -fPIC -DPIC -o .libs/libdabcelt_la-DabCeltPcm.o
DabCeltPcm.c: In function ‘DabCeltPcmDecoder_get’:
DabCeltPcm.c:100:17: attention : passing argument 3 of ‘celt_mode_create’ makes pointer from integer without a cast [enabled by default]
In file included from DabCeltPcm.h:42:0,
                 from DabCeltPcm.c:35:
/usr/include/celt/celt.h:142:18: note: expected ‘int *’ but argument is of type ‘unsigned int’
DabCeltPcm.c:100:17: erreur: too many arguments to function ‘celt_mode_create’
In file included from DabCeltPcm.h:42:0,
                 from DabCeltPcm.c:35:
/usr/include/celt/celt.h:142:18: note: declared here
DabCeltPcm.c:113:9: erreur: too few arguments to function ‘celt_decoder_create’
In file included from DabCeltPcm.h:42:0,
                 from DabCeltPcm.c:35:
/usr/include/celt/celt.h:235:21: note: declared here
make[2]: *** [libdabcelt_la-DabCeltPcm.lo] Erreur 1
make[2]: quittant le répertoire « /home/loic/dabcelt-0.1/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/loic/dabcelt-0.1 »
make: *** [all] Erreur 2

it seems that i need some help... again ;-)

thanks

Pascal Charest

unread,
May 13, 2013, 5:06:23 PM5/13/13
to crc-mm...@googlegroups.com
Gro Bil wrote:
> hi
>
> i tried to install openmokast-0.6.4 from source but i have a problem
> with dabcelt-0.1 :
>
> ~/dabcelt-0.1$ make
> make all-recursive
> make[1]: entrant dans le répertoire « /home/loic/dabcelt-0.1 »
> /usr/include/celt/celt.h:142:18: note: expected ‘int *’ but
> argument is of type ‘unsigned int’
> DabCeltPcm.c:100:17: erreur: too many arguments to function
> ‘celt_mode_create’
> In file included from DabCeltPcm.h:42:0,
> from DabCeltPcm.c:35:
> /usr/include/celt/celt.h:142:18: note: declared here
> DabCeltPcm.c:113:9: erreur: too few arguments to function
> ‘celt_decoder_create’
> In file included from DabCeltPcm.h:42:0,
> from DabCeltPcm.c:35:
> /usr/include/celt/celt.h:235:21: note: declared here
> make[2]: *** [libdabcelt_la-DabCeltPcm.lo] Erreur 1
> make[2]: quittant le répertoire « /home/loic/dabcelt-0.1/src »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/loic/dabcelt-0.1 »
> make: *** [all] Erreur 2
>

Probably a version issue with the Celt library that your are using. This
is an old project and as such, uses an old version of the library. You
can test to see if it is the case by trying to compile with an older
version of the celt library.

Regards,

Pascal

Gro Bil

unread,
Jun 9, 2013, 6:13:35 AM6/9/13
to crc-mm...@googlegroups.com
thanks for your reply pascal, i'm going tu try this !

loic
Reply all
Reply to author
Forward
0 new messages