Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema ao compilar o MLT
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
zilion
n00b
n00b


Joined: 10 Jul 2016
Posts: 1

PostPosted: Wed Jul 13, 2016 8:24 pm    Post subject: Problema ao compilar o MLT Reply with quote

Olá, estou desde ontem tentando achar uma solução para este meu problema e não tenho tido êxito. Segue as informações do problema:

Build log (resumida até a parte do erro)
Quote:

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+0x115): 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]+0xa8): 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]+0xb8): 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]+0xc0): 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]+0xc8): 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]+0xd0): 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]+0xd8): 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+0x2b4): 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]+0xa0): undefined reference to `movit::PaddingEffect::output_fragment_shader[abi:cxx11]()'
filter_movit_crop.o:(.data.rel.ro._ZTV14OptionalEffectIN5movit13PaddingEffectEE[_ZTV14OptionalEffectIN5movit13PaddingEffectEE]+0xa8): 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]+0xb8): 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]+0xc0): 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]+0xc8): 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]+0xd0): 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]+0xd8): 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+0x36f): 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]+0xb8): 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]+0xc0): 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]+0xc8): 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]+0xd0): 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]+0xd8): 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+0x726): undefined reference to `movit::Effect::register_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:59: ../libmltopengl.so] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mlt-6.2.0-r1/work/mlt-6.2.0/src/modules/opengl'
make[1]: *** [Makefile:5: all] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/mlt-6.2.0-r1/work/mlt-6.2.0/src/modules'
make: *** [Makefile:9: all] Error 1
* ERROR: media-libs/mlt-6.2.0-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/mlt-6.2.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/mlt-6.2.0-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/mlt-6.2.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-6.2.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/mlt-6.2.0-r1/work/mlt-6.2.0'
* S: '/var/tmp/portage/media-libs/mlt-6.2.0-r1/work/mlt-6.2.0'


Informações:
Quote:

Portage 2.3.0 (python 3.4.4-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r2, 4.6.4-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.6.4-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem: 3873188 total, 1162948 free
KiB Swap: 1048572 total, 776380 free
Timestamp of repository gentoo: Wed, 13 Jul 2016 16:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash: 4.3_p46::gentoo
dev-lang/perl: 5.24.0-r1::gentoo
dev-lang/python: 2.7.11-r2::gentoo, 3.4.4::gentoo
dev-util/cmake: 3.6.0::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.2-r1::gentoo
sys-apps/openrc: 0.21.2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.26.1::gentoo
sys-devel/gcc: 5.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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="rsync://gentoo.c3sl.ufpr.br/gentoo/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dri3 dts dvd dvdr emboss encode evdev exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

media-libs/mlt-6.2.0-r1::gentoo was built with the following:
USE="ffmpeg kdenlive melt opengl qt5 sdl xml -compressed-lumas -debug -fftw -frei0r -gtk -jack -libav -libsamplerate -lua -python -rtaudio -ruby -vdpau -xine" ABI_X86="64" CPU_FLAGS_X86="mmx sse sse2" PYTHON_TARGETS="python2_7"


Outras informações:
Quote:

[ebuild R ] media-libs/mlt-6.2.0-r1 USE="ffmpeg gtk* kdenlive melt opengl qt5 sdl xml -compressed-lumas -debug -fftw -frei0r -jack -libav -libsamplerate -lua -python -rtaudio -ruby -vdpau -xine" CPU_FLAGS_X86="mmx sse sse2" PYTHON_TARGETS="python2_7"


E caso ajude, meu make.conf
Quote:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="X alsa evdev dbus opengl dri3 qt5 networkmanager ffmpeg -systemd -gnome -gnome-keyring -bluetooth -samba"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3"
MAKEOPTS="-j5"


PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

ACCEPT_LICESENSE="*"
ACCEPT_KEYWORDS="~amd64"

INPUT_DEVICES="evdev synaptics keyboard mouse"
VIDEO_CARDS="intel i965"
ALSA_CARDS="hda-intel"

GENTOO_MIRRORS="rsync://gentoo.c3sl.ufpr.br/gentoo/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"

RUBY_TARGETS="ruby22 ruby23"
PYTHON_TARGETS="python2_7 python3_4"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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