Hi Anil, Stupid compiler bug ! The cast to const should be accepted without warning from my point of view. use ./configure --disable-strict to disable warning being treated as errors.
Simon Le mercredi 03 février 2010 à 16:38 -0800, anil v a écrit : > Hi Simon, > I have Installed the latest ffmpeg ( from SVN ) after that i have > tried to compile the msx264 but still i am getting below mentioned > error messages. Could you please suggest me . > > /bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME= > \"msx264\" -DPACKAGE_TARNAME=\"msx264\" -DPACKAGE_VERSION=\"1.3.0\" > -DPACKAGE_STRING=\"msx264\ 1.3.0\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE_URL=\"\" -DPACKAGE=\"msx264\" -DVERSION=\"1.3.0\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" > -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBAVCODEC_AVCODEC_H=1 > -I. -I/usr/local/include -I/usr/local/include -D_REENTRANT > -DORTP_INET6 -I/usr/local/include -g -O2 -Wall -Werror -MT > msx264.lo -MD -MP -MF .deps/msx264.Tpo -c -o msx264.lo msx264.c > libtool: compile: gcc -DPACKAGE_NAME=\"msx264\" -DPACKAGE_TARNAME= > \"msx264\" -DPACKAGE_VERSION=\"1.3.0\" "-DPACKAGE_STRING=\"msx264 > 1.3.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE= > \"msx264\" -DVERSION=\"1.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR= > \".libs/\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 > -DHAVE_LIBAVCODEC_AVCODEC_H=1 -I. -I/usr/local/include > -I/usr/local/include -D_REENTRANT -DORTP_INET6 -I/usr/local/include -g > -O2 -Wall -Werror -MT msx264.lo -MD -MP -MF .deps/msx264.Tpo -c > msx264.c -fPIC -DPIC -o .libs/msx264.o > cc1: warnings being treated as errors > msx264.c: In function ‘get_as_yuvmsg’: > msx264.c:370: error: passing argument 2 of ‘sws_scale’ from > incompatible pointer type > make[1]: *** [msx264.lo] Error 1 > make[1]: Leaving directory > `/home/gaian/Desktop/VDPAU/msx264-1.3.0/src' > > Thanks, > Anil.V > > On 3 February 2010 02:31, Simon Morlat <[email protected]> > wrote: > Hi, > > You have too old x264 and ffmpeg software. Upgrade them to > lastest and > recompile. > > Simon > > Le mardi 02 février 2010 à 17:46 -0800, anil v a écrit : > > > Hi All, > > > > I am trying to compile the msx264-1.3.0 but i am getting > the below > > mentioned error messages. Please find the error log below. > Please > > suggest me why i am getting the error. > > > > msx264.c: In function ‘enc_preprocess’: > > msx264.c:80: error: ‘x264_param_t’ has no member named > > ‘i_sync_lookahead’ > > msx264.c:85: error: ‘x264_param_t’ has no member named > > ‘i_slice_max_size’ > > msx264.c:94: error: ‘struct <anonymous>’ has no member named > > ‘i_lookahead’ > > msx264.c: In function ‘enc_process’: > > msx264.c:150: error: ‘x264_picture_t’ has no member named > ‘param’ > > msx264.c: In function ‘dec_process’: > > msx264.c:501: error: ‘AVPacket’ undeclared (first use in > this > > function) > > msx264.c:501: error: (Each undeclared identifier is reported > only once > > msx264.c:501: error: for each function it appears in.) > > msx264.c:501: error: expected ‘;’ before ‘pkt’ > > cc1: warnings being treated as errors > > msx264.c:503: error: implicit declaration of function > ‘av_init_packet’ > > msx264.c:503: error: ‘pkt’ undeclared (first use in this > function) > > msx264.c:506: error: implicit declaration of function > > ‘avcodec_decode_video2’ > > make[1]: *** [msx264.lo] Error 1 > > > > Thanks, > > Anil.V > > > _______________________________________________ > > Linphone-users mailing list > > [email protected] > > http://lists.nongnu.org/mailman/listinfo/linphone-users > > > _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
