Page 1 of 1

Error compiling released 0.9.2 (under BLFS)

Posted: 25 Sep 2008 04:25
by marcoscunha
I got the package from source and tried to compile under my BLFS system...

Command was: ./configure --prefix=/usr --disable-a52 --disable-qt4 --disable-skins2 && make && make install

And I got something wrong between the FFmpeg but this last one compiled flawlessly...

FFmpeg configuration: --disable-ffserver --disable-debug --enable-libvorbis --enable-libxvid --enable-libx264 --enable-nonfree --enable-shared --prefix=/usr --enable-x11grab --enable-libmp3lame --enable-gpl --enable-pthreads --enable-postproc

Code: Select all

make[5]: Entrando no diretório `/usr/src/vlc-0.9.2/modules/video_filter' /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/src/vlc-0.9.2/./extras/contrib/include -DSYS_LINUX `top_builddir="../.." ../../vlc-config --cflags plugin libimgresample_plugin_la-imgresample.lo` -I/usr/src/vlc-0.9.2/./extras/contrib/include -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libimgresample_plugin_la-imgresample.lo -MD -MP -MF .deps/libimgresample_plugin_la-imgresample.Tpo -c -o libimgresample_plugin_la-imgresample.lo `test -f 'imgresample.c' || echo './'`imgresample.c gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/src/vlc-0.9.2/./extras/contrib/include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=imgresample -DMODULE_NAME_IS_imgresample -DMODULE_STRING=\"imgresample\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -I/usr/src/vlc-0.9.2/./extras/contrib/include -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libimgresample_plugin_la-imgresample.lo -MD -MP -MF .deps/libimgresample_plugin_la-imgresample.Tpo -c imgresample.c -fPIC -DPIC -o .libs/libimgresample_plugin_la-imgresample.o In file included from imgresample.c:46: ../codec/avcodec/chroma.h: In function 'GetFfmpegChroma': ../codec/avcodec/chroma.h:117: warning: comparison between signed and unsigned ../codec/avcodec/chroma.h:118: warning: comparison between signed and unsigned ../codec/avcodec/chroma.h:119: warning: comparison between signed and unsigned imgresample.c: At top level: imgresample.c:79: error: expected specifier-qualifier-list before 'ImgReSampleContext' imgresample.c: In function 'OpenFilter': imgresample.c:119: error: 'filter_sys_t' has no member named 'p_rsc' imgresample.c:120: warning: implicit declaration of function 'img_resample_init' imgresample.c:132: error: 'filter_sys_t' has no member named 'p_rsc' imgresample.c: In function 'Conversion': imgresample.c:181: error: 'filter_sys_t' has no member named 'p_rsc' imgresample.c:183: warning: implicit declaration of function 'img_convert' imgresample.c:188: warning: implicit declaration of function 'img_resample' imgresample.c:188: error: 'filter_sys_t' has no member named 'p_rsc' imgresample.c: In function 'CloseFilter': imgresample.c:208: error: 'filter_sys_t' has no member named 'p_rsc' imgresample.c:210: warning: implicit declaration of function 'img_resample_close' imgresample.c:210: error: 'filter_sys_t' has no member named 'p_rsc' make[5]: ** [libimgresample_plugin_la-imgresample.lo] Erro 1 make[5]: Saindo do diretório `/usr/src/vlc-0.9.2/modules/video_filter' make[4]: ** [all-recursive] Erro 1 make[4]: Saindo do diretório `/usr/src/vlc-0.9.2/modules/video_filter' make[3]: ** [all] Erro 2 make[3]: Saindo do diretório `/usr/src/vlc-0.9.2/modules/video_filter' make[2]: ** [all-recursive] Erro 1 make[2]: Saindo do diretório `/usr/src/vlc-0.9.2/modules' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/usr/src/vlc-0.9.2' make: ** [all] Erro 2
Compiler is GCC 4.1.2. Any clue?

Re: Error compiling released 0.9.2 (under BLFS)

Posted: 25 Sep 2008 09:17
by Jean-Baptiste Kempf
--enable-swscaler in your FFmpeg.

Re: Error compiling released 0.9.2 (under BLFS)

Posted: 25 Sep 2008 14:18
by marcoscunha
It worked, thanks!