Page 1 of 1

vlc 0.9.8a src compiling problem

Posted: 24 Feb 2009 19:10
by billyap
Hi everybody,
I'm trying to compile vlc 0.9.8a on Ubuntu 8.10.
This is my configure instruction:

Code: Select all

./configure --enable-x11 --enable-xvideo --disable-gtk --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --with-live555-tree=/usr/lib/live --enable-caca --enable-skins --enable-alsa --disable-kde --enable-ncurses --enable-release --disable-postproc --disable-a52 --disable-glx --disable-sdl --disable-freetype --disable-alsa --disable-skins2 --disable-qt4 --disable-remoteosd --disable-libgcrypt
The make gives this error after some minutes of compiling.

Code: Select all

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] Error 1 make[5]: Leaving directory `/home/alessandro/downloads/vlc-0.9.8a/modules/video_filter' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/alessandro/downloads/vlc-0.9.8a/modules/video_filter' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/alessandro/downloads/vlc-0.9.8a/modules/video_filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/alessandro/downloads/vlc-0.9.8a/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alessandro/downloads/vlc-0.9.8a' make: *** [all] Error 2
Any suggestion will be very welcome and appreciated.
Thanks a lot in advance.
Billy

Re: vlc 0.9.8a src compiling problem

Posted: 27 Feb 2009 12:32
by xtophe
there is something fishy in the detection of swscale and imgresample.

So you need to look at config.log

And check why it doesn't find libswscale
and why, when it falls back to imgresample, it doesn't detect it isn't present.

Which version of ffmpeg ? form some packages or compiled yourself ?

Re: vlc 0.9.8a src compiling problem

Posted: 05 Jan 2010 07:14
by dvbfreaky007
My FFmpeg Configuration:

[root@localhost ffmpeg-0.5]# ./configure --disable-ffserver --disable-debug --enable-libvorbis --enable-libxvid --enable-libx264 --enable-nonfree --enable-shared --prefix=/usr --enable-x11grab --enable-gpl --enable-pthreads --enable-postproc --enable-swscale


I downloaded ffmpeg 0.5
from
http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2


VLC from:
vlc 0.9.0
http://download.videolan.org/pub/videol ... .0.tar.bz2

Configure options:
./configure --enable-debug --enable-release --prefix=/usr --disable-mad --disable-avformat --disable-a52


Still I am getting error:
/bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX `top_builddir="../.." ../../vlc-config --cflags plugin libimgresample_plugin_la-imgresample.lo` -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
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=imgresample -DMODULE_NAME_IS_imgresample -DMODULE_STRING=\"imgresample\" -g -O2 -ffast-math -funroll-loops -mtune=pentium2 -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:47:
../codec/avcodec/chroma.h: In function âGetFfmpegChromaâ:
../codec/avcodec/chroma.h:116: warning: comparison between signed and unsigned integer expressions
../codec/avcodec/chroma.h:117: warning: comparison between signed and unsigned integer expressions
../codec/avcodec/chroma.h:118: warning: comparison between signed and unsigned integer expressions
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] Error 1
make[5]: Leaving directory `/home/santhosh/vlc-0.9.0/modules/video_filter'



Please Help me out

Re: vlc 0.9.8a src compiling problem

Posted: 05 Jan 2010 13:19
by xtophe
vlc 0.9.0
Are you kidding me ?
the latest release of vlc is 1.0.4.

And if you really needs one of the 0.9 branch take 0.9.9