Summary: | cinelerra comile error - undefined reference to `x264_encoder_open_93' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | konti <kontika-list> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | defuebr |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Complete build log |
Description
konti
2010-08-21 00:18:56 UTC
Need: - Full build.log - Output of 'emerge -pv x264' - Verification that you don't have old x264 installed in e.g. /usr/local: # find /usr/local -name '*x264*' Created attachment 243795 [details]
Complete build log
- Full build.log you can find it in the attachment ----------------------------------------------------------------------------- - Output of 'emerge -pv x264' $ emerge -pv x264 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/x264-0.0.20100605 USE="threads -debug -pic" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB !!! The following installed packages are masked: - dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s)) A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. ----------------------------------------------------------------------------- - Verification that you don't have old x264 installed in e.g. /usr/local: # find /usr/local -name '*x264*' I have some....how to remove them? (In reply to comment #3) >> - Verification that you don't have old x264 installed in e.g. /usr/local: >> # find /usr/local -name '*x264*' > I have some....how to remove them? Heh, the obvious way, "rm" :-) Portage doesn't put anything in /usr/local, so you must have installed them yourself at some point... accident, or not Old headers and libraries in /usr/local is the most likely reason for this issue. Please re-open. cinelerra-20101104 and possibly earlier apparently needs to add media-video/x264-encoder as a dependency. It fails for missing x264-encoder. As a work around: emerge x264-encoder && emerge cinelerra This is the default ordering for emerging: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-video/cinelerra-20101104 [20100320] USE="3dnow alsa css mmx opengl (-altivec) -ieee1394 -oss" 0 kB [ebuild U ] media-video/x264-encoder-0.0.20101029 [0.0.20100605] USE="ffmpeg mp4 threads -debug" 0 kB This is the error message if x264-encoder is not emerged first: libtool: link: x86_64-pc-linux-gnu-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_ALSA -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -pthread -I/usr/include/OpenEXR -I/usr/include/libavcodec -I/usr/include/libswscale -DHAVE_SWSCALER -DPLUGIN_DIR=\"/usr/lib64/cinelerra\" -march=opteron -O2 -pipe -D__STDC_CONSTANT_MACROS -Wl,-O1 -Wl,-O1 -o .libs/cinelerra aattachmentpoint.o aautomation.o aboutprefs.o adeviceprefs.o aedit.o aedits.o amodule.o apatchgui.o apluginarray.o aplugin.o apluginset.o arender.o asset.o assetedit.o assetpopup.o assetremove.o assets.o atrack.o attachmentpoint.o audioalsa.o audiocine.o audiodevice.o audiodvb.o audioesound.o audioidevice.o audioodevice.o audiooss.o auto.o autoconf.o automation.o autos.o awindow.o awindowgui.o awindowmenu.o batch.o batchrender.o bitspopup.o brender.o browsebutton.o byteorderpopup.o cache.o cachebase.o canvas.o canvastools.o channel.o channeldb.o channeledit.o channelpicker.o chantables.o clipedit.o commonrender.o confirmquit.o confirmsave.o cpanel.o cplayback.o ctimebar.o ctracking.o cursor.o cwindow.o cwindowgui.o cwindowtool.o dcoffset.o dcraw.o deleteallindexes.o devicedvbinput.o drivesync.o dvbtune.o edit.o edithandles.o editpanel.o editpopup.o edits.o edl.o edlsession.o exportedl.o fadeengine.o ffmpeg.o fileac3.o fileavi.o filebaseaudio.o filebase.o filebaseima4.o filebaseulaw.o file.o filecr2.o filedv.o fileogg.o fileexr.o fileformat.o filejpeg.o filelist.o filemov.o filempeg.o filepng.o filesndfile.o filetga.o filethread.o filetiff.o filevorbis.o filexml.o fileyuv.o floatauto.o floatautos.o formatcheck.o formatpopup.o formatpresets.o formattools.o framecache.o garbage.o gwindow.o gwindowgui.o indexfile.o indexthread.o intauto.o intautos.o interfaceprefs.o keyframe.o keyframehandles.o keyframepopup.o keyframes.o labeledit.o labelnavigate.o labels.o levelwindow.o levelwindowgui.o loadbalance.o loadfile.o loadmode.o localsession.o main.o mainclock.o maincursor.o mainerror.o mainindexes.o mainmenu.o mainprogress.o mainsession.o mainundo.o manualgoto.o maskauto.o maskautos.o maskengine.o mbuttons.o menuaeffects.o menueffects.o menuveffects.o meterpanel.o module.o mtimebar.o mwindow.o mwindowedit.o mwindowgui.o mwindowmove.o new.o newfolder.o overlayframe.o packagedispatcher.o packagerenderer.o packagingengine.o panauto.o panautos.o patchbay.o patchgui.o performanceprefs.o picture.o pipe.o playabletracks.o playback3d.o playbackconfig.o playbackengine.o playbackprefs.o playtransport.o pluginaclient.o pluginaclientlad.o pluginarray.o pluginautos.o plugin.o pluginclient.o plugindialog.o pluginpopup.o pluginserver.o pluginset.o plugintclient.o plugintoggles.o pluginvclient.o preferences.o preferencesthread.o question.o quit.o recconfirmdelete.o recordableatracks.o recordablevtracks.o recordaudio.o record.o recordconfig.o recordgui.o recordlabel.o recordmonitor.o recordprefs.o recordthread.o recordtransport.o recordvideo.o recordwindow.o removethread.o render.o renderengine.o renderfarm.o renderfarmclient.o renderprofiles.o resample.o resizetrackthread.o resourcepixmap.o resourcethread.o samplescroll.o savefile.o setformat.o sharedlocation.o shmemory.o sighandler.o splashgui.o statusbar.o theme.o threadexec.o threadfork.o threadindexer.o threadloader.o timebar.o timeentry.o tipwindow.o track.o trackcanvas.o tracking.o tracks.o trackscroll.o tracksedit.o transition.o transitionhandles.o transitionpopup.o transportque.o tunerserver.o undostackitem.o vattachmentpoint.o vautomation.o vdevicebase.o vdevicebuz.o vdevicedvb.o vdeviceprefs.o vdevicev4l.o vdevicev4l2.o vdevicev4l2jpeg.o vdevicex11.o vedit.o vedits.o videodevice.o viewmenu.o virtualaconsole.o virtualanode.o virtualconsole.o virtualnode.o virtualvconsole.o virtualvnode.o vmodule.o vpatchgui.o vplayback.o vpluginarray.o vplugin.o vpluginset.o vrender.o vtimebar.o vtrack.o vtracking.o vwindow.o vwindowgui.o wavecache.o yuvstream.o zoombar.o zoompanel.o -pthread -Wl,--export-dynamic -Wl,--as-needed data/libimagedata.a ../mpeg2enc/.libs/libmpeg2enc.a ../toolame-02l/.libs/libtoolame.a ../quicktime/.libs/libquicktimehv.so -lmp3lame -lfaad -lfaac /var/tmp/portage/media-video/cinelerra-20101104/work/cinelerra-20101104/libmpeg3/.libs/libmpeg3hv.so -lx264 ../guicast/.libs/libguicast.so -L/usr/lib64 -lGLU -lGL /usr/lib64/libXxf86vm.so /usr/lib64/libXv.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so ../libmpeg3/.libs/libmpeg3hv.so /usr/lib64/liba52.so -lavcodec -lpostproc -lswscale -lvorbisfile -lvorbis -ltheora -lIlmImf -lImath -lHalf -lIex -lIlmThread /usr/lib64/libsndfile.so -lFLAC -lvorbisenc -logg /usr/lib64/libpng14.so /usr/lib64/libtiff.so -ljbig /usr/lib64/libjpeg.so -lc -lz /usr/lib64/libasound.so -lrt /usr/lib64/libdv.so -luuid /usr/lib64/libmjpegutils.so -lm -ldl -lpthread -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libx264.so.98, needed by /usr/lib64/libavcodec.so, not found (try using -rpath or -rpath-link) /usr/lib64/libavcodec.so: undefined reference to `x264_encoder_open_98' collect2: ld returned 1 exit status make[3]: *** [cinelerra] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/cinelerra-20101104/work/cinelerra-20101104/cinelerra' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/cinelerra-20101104/work/cinelerra-20101104/cinelerra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/cinelerra-20101104/work/cinelerra-20101104' make: *** [all] Error 2 emake failed * ERROR: media-video/cinelerra-20101104 failed: (In reply to comment #1) > Need: > > - Full build.log > - Output of 'emerge -pv x264' > - Verification that you don't have old x264 installed in e.g. /usr/local: > # find /usr/local -name '*x264*' > package 'x264' has apparently been replaced by package 'x264-encoder'. See my comment #5. (In reply to comment #6) > (In reply to comment #1) > > Need: > > > > - Full build.log > > - Output of 'emerge -pv x264' > > - Verification that you don't have old x264 installed in e.g. /usr/local: > > # find /usr/local -name '*x264*' > > > > package 'x264' has apparently been replaced by package 'x264-encoder'. See my > comment #5. > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: > warning: libx264.so.98, needed by /usr/lib64/libavcodec.so, not found (try > using -rpath or -rpath-link) > /usr/lib64/libavcodec.so: undefined reference to `x264_encoder_open_98' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ libavcodec.so is part of ffmpeg: That means your media-video/ffmpeg installation is broken and you should run revdep-rebuild. |