[Slackbuilds-users] Avidemux compilation failed because of newer x264
Aleksandar Kukic
kukibl at gmail.com
Fri Nov 21 12:04:22 UTC 2008
I had Avidemux installed, but it was built against older version of x264
(also only required dependencies were used). Last night I had to upgrade
x264 because of some software not available at SlackBuilds - I've compiled
yasm and new x264 (using SlackBuilds of course). Avidemux then failed to
run, so I guess I had to recompile it against new upgraded x264. Compilation
process stopped at this error:
-----------------------
[ 37%] Building CXX object
avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o
/usr/bin/c++ -O2 -march=native -O3 -DNDEBUG -I/tmp/SBo/avidemux-2.4.3
-I/tmp/SBo/avidemux-2.4.3/avidemux
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_utilities
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_lavutil
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_libraries/ADM_lavcodec
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_userInterfaces/ADM_commonUI
-I/tmp/SBo/avidemux-2.4.3/avidemux/ADM_outputs -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -o
avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o -c
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function
'uint8_t X264Encoder::preamble(uint32_t, ADM_x264Param*)':
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:112: error: 'struct
x264_param_t::<anonymous>' has no member named 'b_bidir_me'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:112: error: 'struct
x264_param_t::<anonymous>' has no member named 'b_bidir_me'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:113: error: 'struct
x264_param_t' has no member named 'b_bframe_adaptive'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:113: error: 'struct
x264_param_t' has no member named 'b_bframe_adaptive'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:126: error: 'struct
x264_param_t::<anonymous>' has no member named 'b_bframe_rdo'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function
'virtual uint8_t X264EncoderPass1::init(uint32_t, uint32_t,
ADM_x264Param*)':
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:439: warning:
deprecated conversion from string constant to 'char*'
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp: In member function
'virtual uint8_t X264EncoderPass2::init(uint32_t, uint32_t,
ADM_x264Param*)':
/tmp/SBo/avidemux-2.4.3/avidemux/ADM_codecs/ADM_x264.cpp:475: warning:
deprecated conversion from string constant to 'char*'
make[2]: *** [avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/ADM_x264.o]
Error 1
make[2]: Leaving directory `/tmp/SBo/avidemux-2.4.3'
make[1]: *** [avidemux/ADM_codecs/CMakeFiles/ADM_codecs.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/avidemux-2.4.3'
make: *** [all] Error 2
-----------------------
I guess Avidemux SlackBuild maintainer should make some modifications to
SlackBuild or I am doing something wrong...? :-/
Thank you in advance!
Alex
P. S.
I am using custom CFLAGS (-O2 -march=native), but same thing happens with
default (-O2 -march=i486 -mtune=i686) CFLAGS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20081121/962d1a7d/attachment.htm>
More information about the SlackBuilds-users
mailing list