nice nice nice, but with the new ubuntu 9.10 and gcc version 4.4.1, i have this error:

gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT export_divx5_la-aud_aux.lo -MD -MP -MF .deps/export_divx5_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_divx5_la-aud_aux.o
In file included from aud_aux.c:48:
../libtc/tcavcodec.h:32:30: error: libavutil/avutil.h: No such file or directory ../libtc/tcavcodec.h:33:32: error: libavcodec/avcodec.h: No such file or directory ../libtc/tcavcodec.h:34:34: error: libavformat/avformat.h: No such file or directory aud_aux.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token aud_aux.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mpa_ctx’
aud_aux.c: In function ‘tc_audio_init_ffmpeg’:
aud_aux.c:325: warning: implicit declaration of function ‘avcodec_init’
aud_aux.c:325: warning: implicit declaration of function ‘avcodec_register_all’
aud_aux.c:329: error: ‘CODEC_ID_MP2’ undeclared (first use in this function)
aud_aux.c:329: error: (Each undeclared identifier is reported only once
aud_aux.c:329: error: for each function it appears in.)
aud_aux.c:332: error: ‘CODEC_ID_AC3’ undeclared (first use in this function)
aud_aux.c:339: error: ‘mpa_codec’ undeclared (first use in this function)
aud_aux.c:339: warning: implicit declaration of function ‘avcodec_find_encoder’
aud_aux.c:349: error: ‘mpa_ctx’ undeclared (first use in this function)
aud_aux.c:357: warning: implicit declaration of function ‘avcodec_open’
aud_aux.c: In function ‘tc_audio_encode_mp3’:
aud_aux.c:752: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness /usr/include/lame/lame.h:707: note: expected ‘unsigned char *’ but argument is of type ‘char *’ aud_aux.c:759: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness /usr/include/lame/lame.h:722: note: expected ‘unsigned char *’ but argument is of type ‘char *’ aud_aux.c:808: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness aud_aux.c:140: note: expected ‘unsigned char *’ but argument is of type ‘char *’
aud_aux.c: In function ‘tc_audio_encode_ffmpeg’:
aud_aux.c:864: warning: implicit declaration of function ‘avcodec_encode_audio’
aud_aux.c:864: error: ‘mpa_ctx’ undeclared (first use in this function)
aud_aux.c: In function ‘tc_audio_close’:
aud_aux.c:1032: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness /usr/include/lame/lame.h:813: note: expected ‘unsigned char *’ but argument is of type ‘char *’
aud_aux.c: In function ‘tc_audio_stop’:
aud_aux.c:1078: error: ‘mpa_codec’ undeclared (first use in this function)
aud_aux.c:1078: warning: implicit declaration of function ‘avcodec_close’
aud_aux.c:1078: error: ‘mpa_ctx’ undeclared (first use in this function)
make[2]: *** [export_divx5_la-aud_aux.lo] Error 1

cheers,
pat

Reply via email to