Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/mlt-6.10.0-r1 compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
rosomak123
n00b
n00b


Joined: 20 Dec 2018
Posts: 3

PostPosted: Thu Dec 20, 2018 9:58 am    Post subject: media-libs/mlt-6.10.0-r1 compile error Reply with quote

During update I ran into problem with media-libs/mlt-6.10.0-r1, which fails to compile with undefined reference to movit:

Code:
x86_64-pc-linux-gnu-g++ -shared -o ../libmltopengl.so factory.o consumer_xgl.o filter_glsl_manager.o filter_movit_blur.o filter_movit_convert.o filter_movit_crop.o filter_movit_deconvolution_sharpen.o filter_movit_diffusion.o filter_movit_glow.o filter_movit_lift_gamma_gain.o filter_movit_mirror.o filter_movit_opacity.o filter_movit_rect.o filter_movit_resample.o filter_movit_resize.o filter_movit_saturation.o filter_movit_vignette.o filter_movit_white_balance.o mlt_movit_input.o transition_movit_luma.o transition_movit_mix.o transition_movit_overlay.o -L../../framework -lmlt -lm -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../mlt++ -lmlt++ -lmovit -lepoxy -lpthread -lGL -lX11
filter_glsl_manager.o: In function `GlslManager::onInit(mlt_properties_s*, GlslManager*)':
filter_glsl_manager.cpp:(.text+0x1a7): undefined reference to `movit::init_movit(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, movit::MovitDebugLevel)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xa0): undefined reference to `movit::Effect::set_gl_state(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xb0): undefined reference to `movit::Effect::set_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xb8): undefined reference to `movit::Effect::set_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xc0): undefined reference to `movit::Effect::set_vec2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xc8): undefined reference to `movit::Effect::set_vec3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xd0): undefined reference to `movit::Effect::set_vec4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_crop.o: In function `get_image(mlt_frame_s*, unsigned char**, mlt_image_format*, int*, int*, int)':
filter_movit_crop.cpp:(.text+0x22b): undefined reference to `movit::Effect::register_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0x98): undefined reference to `movit::PaddingEffect::output_fragment_shader[abi:cxx11]()'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xa0): undefined reference to `movit::PaddingEffect::set_gl_state(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xb0): undefined reference to `movit::Effect::set_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xb8): undefined reference to `movit::Effect::set_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xc0): undefined reference to `movit::Effect::set_vec2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xc8): undefined reference to `movit::Effect::set_vec3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xd0): undefined reference to `movit::Effect::set_vec4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_resample.o: In function `get_image(mlt_frame_s*, unsigned char**, mlt_image_format*, int*, int*, int)':
filter_movit_resample.cpp:(.text+0x297): undefined reference to `movit::Effect::register_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*)'
filter_movit_resample.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit14ResampleEffectEE[_ZTV14OptionalEffectIN5movit14ResampleEffectEE]+0xb0): undefined reference to `movit::Effect::set_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
filter_movit_resample.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit14ResampleEffectEE[_ZTV14OptionalEffectIN5movit14ResampleEffectEE]+0xb8): undefined reference to `movit::ResampleEffect::set_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)'
filter_movit_resample.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit14ResampleEffectEE[_ZTV14OptionalEffectIN5movit14ResampleEffectEE]+0xc0): undefined reference to `movit::Effect::set_vec2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_resample.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit14ResampleEffectEE[_ZTV14OptionalEffectIN5movit14ResampleEffectEE]+0xc8): undefined reference to `movit::Effect::set_vec3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_resample.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit14ResampleEffectEE[_ZTV14OptionalEffectIN5movit14ResampleEffectEE]+0xd0): undefined reference to `movit::Effect::set_vec4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float const*)'
filter_movit_resize.o: In function `get_image(mlt_frame_s*, unsigned char**, mlt_image_format*, int*, int*, int)':
filter_movit_resize.cpp:(.text+0x77a): undefined reference to `movit::Effect::register_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*)'


emerge --info follows:

Code:
# emerge --info '=media-libs/mlt-6.10.0-r1::gentoo'
Portage 2.3.51 (python 3.4.8-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.6
KiB Mem:     8116820 total,   4398596 free
KiB Swap:    8819708 total,   8819708 free
Timestamp of repository gentoo: Thu, 20 Dec 2018 09:00:01 +0000
Head commit of repository gentoo: 0960fd4da7874a50b79bd5622ca4dfd7ef792055
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" L10N="cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks in advance for any advice.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20501
Location: here

PostPosted: Thu Dec 20, 2018 10:00 am    Post subject: Reply with quote

Try to re-build media-video/movit package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
rosomak123
n00b
n00b


Joined: 20 Dec 2018
Posts: 3

PostPosted: Thu Dec 20, 2018 11:40 am    Post subject: Reply with quote

Thank you very much, it really helped (surprisingly for me).

Thanks again.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20501
Location: here

PostPosted: Thu Dec 20, 2018 12:55 pm    Post subject: Reply with quote

rosomak123 wrote:
Thank you very much, it really helped (surprisingly for me).

The problem is that there is a abi change
Code:
filter_movit_convert.o:(.data.rel.ro._ZTVN3Mlt12VerticalFlipE[_ZTVN3Mlt12VerticalFlipE]+0xb0): undefined reference to `movit::Effect::set_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'

When you switched from gcc 4.9.x to 5.4.x you read the relative new https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html

P.S.: welcome to gentoo forum (sorry I forgot this in my previous post)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum