Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002197KdenliveBuild Systempublic2011-06-28 03:482011-06-29 00:55
ReporterAlexK 
Assigned Toj-b-m 
PriorityimmediateSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Platform32 bit intel and alikeOSDebian LinuxOS Version4.0
Product VersionRecent git 
Target VersionFixed in Version 
Summary0002197: SVN 5739 crashes at 100% with undefined reference to symbol 'QScriptEngine::globalObject() const'
Description[100%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindowadaptor.o
Linking CXX executable kdenlive
/usr/bin/ld: CMakeFiles/kdenlive.dir/renderwidget.o: undefined reference to symbol 'QScriptEngine::globalObject() const'
/usr/bin/ld: note: 'QScriptEngine::globalObject() const' is defined in DSO /usr/lib/libQtScript.so.4 so try adding it to the linker command line
/usr/lib/libQtScript.so.4: could not read symbols: Invalid operation
Steps To Reproduce~/kdenlive$ rm -fr src

install fresh version of build-kdenlive.sh (version 11) from:
http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts [^]

change lines:
# If defined to 1, outputs trace log lines
TRACE=1

# If defined to 1, outputs debug log lines
DEBUG=1

~/kdenlive$ ./build-kdenlive.sh
...
(error as in Description)
Additional Information~/kdenlive$ 20110628/start-kdenlive --version
Kdenlive Builder Wizard version: 11
libvpx: commit be99868bd16fd46c7009e7052131705c116bda5a Date: Mon Jun 27 09:43:21 2011 -0700
x264: commit 4c552d873ada1be3cf2d77965427fab599d051a0 Date: Thu Jun 9 01:34:14 2011 +0400
frei0r: commit 6c65d6a48b8c0d51791bc3ba7e25a161c95fac30 Date: Wed Mar 16 00:54:34 2011 -0700
ffmpeg: commit 7b7c47c8f70e51d3835a6153c3e467e59acf8a8b Date: Tue Jun 28 02:29:39 2011 +0200
mlt: commit febfd488055a5994c96c5bc6b33213a609a7b054 Date: Sun Jun 26 23:07:08 2011 -0700
kdenlive: Revision: 5739 Last Changed Date: 2011-06-28 01:16:28 +0100 (Tue, 28 Jun 2011)
Qt: 4.7.3
KDE Development Platform: 4.4.5 (KDE 4.4.5)
Kdenlive: 0.8.1 (rev. 5739)

Found fix within:
http://www.kdenlive.org/forum/svn-fails-undefined-reference-libdlso2 [^]

At line 325 in src/kdenlive/src/CMakeLists.txt added:
# 2011-06-28 added 'QtScript' to fix latest error
target_link_libraries(kdenlive
  ${KDE4_KDEUI_LIBS}
  ${KDE4_KIO_LIBS}
  ${KNEWSTUFF_LIBS}
  ${LIBMLTPLUS_LIBRARY}
  ${LIBMLT_LIBRARY}
  ${optional_libs}
  ${KDE4_KNOTIFYCONFIG_LIBRARY}
  ${KDE4_KROSSUI_LIBS}
  ${CMAKE_DL_LIBS}
  ${CMAKE_THREAD_LIBS_INIT}
  QtScript
)

(although have not tested yet!!!)
TagsNo tags attached.
Build/Install MethodBuild Wizard
Attached Files

- Relationships

-  Notes
(0006976)
AlexK (reporter)
2011-06-28 18:06

That SVN both built & opened OK after compilation.
(0006981)
j-b-m (administrator)
2011-06-28 22:18

Can you please test latest svn (5744) to see if it compiles for you?
(0006983)
AlexK (reporter)
2011-06-29 00:11
edited on: 2011-06-29 00:11

Failed at first with identical error already reported:
http://www.kdenlive.org/mantis/view.php?id=2198 [^]

(then switched off swfdec compilation within Builder Wizard & tried again)

...has now frozen on screen (approx 10 minutes):
[ 97%] Building C object src/cmake_bindir/CMakeFiles/kdenlive.dir/v4l/src.o
In file included from /home/alex/kdenlive/src/kdenlive/src/v4l/src.h:26,
                 from /home/alex/kdenlive/src/kdenlive/src/v4l/src.c:20:
/home/alex/kdenlive/src/kdenlive/src/v4l/videodev2.h:790: warning: declaration does not declare anything
/home/alex/kdenlive/src/kdenlive/src/v4l/videodev2.h:1278: warning: declaration does not declare anything
/home/alex/kdenlive/src/kdenlive/src/v4l/videodev2.h:1400: warning: declaration does not declare anything
/home/alex/kdenlive/src/kdenlive/src/v4l/videodev2.h:1451: warning: declaration does not declare anything
/home/alex/kdenlive/src/kdenlive/src/v4l/src.c: In function 'v4l2_free_mmap':
/home/alex/kdenlive/src/kdenlive/src/v4l/src.c:30: warning: comparison between signed and unsigned integer expressions
[ 98%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/bpointitem.o
[ 98%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/nearestpoint.o
[ 98%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/splineitem.o
[ 99%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/rotoscoping/rotowidget.o
[ 99%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlivesettings.o
[100%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindowadaptor.o

This time, I will again remove src + 20110628 dirs (did not do that on 2nd compile) & try again.

(0006984)
AlexK (reporter)
2011-06-29 00:55

Froze again at the same place.

~/kdenlive/src/kdenlive/src/CMakeLists.txt Line 336:
 Changed `${QT_QTSCRIPT_LIBRARY}' to `QtScript' (no quotes)

~/kdenlive$ ./build-kdenlive.sh
...
(does it *have* to re-compile successfully-compiled src when no SVN update?)
...
TRACE: Entering feedback_result @ = SUCCESS Everything succeeded
LOG: Process has finished. Reason: SUCCESS Everything succeeded

~/kdenlive$ 20110628/start-kdenlive --version
Kdenlive Builder Wizard version: 11
libvpx: commit 9bcf07ae4a1ebd83713350ce7ef9c1d47de9d30f Date: Tue Jun 28 12:54:25 2011 -0700
x264: commit 4c552d873ada1be3cf2d77965427fab599d051a0 Date: Thu Jun 9 01:34:14 2011 +0400
frei0r: commit 6c65d6a48b8c0d51791bc3ba7e25a161c95fac30 Date: Wed Mar 16 00:54:34 2011 -0700
ffmpeg: commit dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7 Date: Tue Jun 28 22:23:52 2011 +0200
mlt: commit febfd488055a5994c96c5bc6b33213a609a7b054 Date: Sun Jun 26 23:07:08 2011 -0700
kdenlive: Revision: 5745 Last Changed Date: 2011-06-28 22:15:05 +0100 (Tue, 28 Jun 2011)
Qt: 4.7.3
KDE Development Platform: 4.4.5 (KDE 4.4.5)
Kdenlive: 0.8.1 (rev. 5745)

- Issue History
Date Modified Username Field Change
2011-06-28 03:48 AlexK New Issue
2011-06-28 18:06 AlexK Note Added: 0006976
2011-06-28 22:18 j-b-m Note Added: 0006981
2011-06-28 22:18 j-b-m Assigned To => j-b-m
2011-06-28 22:18 j-b-m Status new => feedback
2011-06-29 00:11 AlexK Note Added: 0006983
2011-06-29 00:11 AlexK Status feedback => assigned
2011-06-29 00:11 AlexK Note Edited: 0006983 View Revisions
2011-06-29 00:55 AlexK Note Added: 0006984


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker