Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002198KdenliveBuild Systempublic2011-06-28 03:532011-06-30 15:25
ReporterAlexK 
Assigned Toddennedy 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
Platform32 bit intel and alikeOSDebian LinuxOS Version4.0
Product VersionRecent git 
Target VersionFixed in Version 
Summary0002198: swfdec fails to build with "undefined reference to symbol 'g_module_symbol'"
DescriptionIn two recent versions (latest is 5739) have received same error):

~/kdenlive$ ./build-kdenlive.sh
...
/usr/bin/ld: swfdec_test-swfdec_test_test.o: undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: 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
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 7123 of src/swfdec/configure, added:
# Set sane defaults for various variables
# 2011-06-27 horrible hack to fix error due to DSO Linking changes
hack_add="-lgmodule-2.0"
if test -z "$LTCFLAGS"; then
  if test -z "$CFLAGS"; then
    CFLAGS=$hack_add
  else
    CFLAGS="$CFLAGS $hack_add"
  fi
else
  LTCFLAGS="$LTCFLAGS $hack_add"
fi
test -z "$CC" && CC=cc
test -z "$LTCC" && LTCC=$CC
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
test -z "$LD" && LD=ld
test -z "$ac_objext" && ac_objext=o

swfdec now built OK
TagsNo tags attached.
Build/Install MethodBuild Wizard
Attached Files

- Relationships

-  Notes
(0006973)
ttill (developer)
2011-06-28 16:58

The original report is about the MLT swfdec module, right?
How does the comment relate?
(0006975)
AlexK (reporter)
2011-06-28 18:02

In the cold light of day, the comment does NOT relate, and has therefore been removed (thank you).

- Issue History
Date Modified Username Field Change
2011-06-28 03:53 AlexK New Issue
2011-06-28 03:58 AlexK Note Added: 0006968
2011-06-28 16:58 ttill Note Added: 0006973
2011-06-28 16:58 ttill Status new => feedback
2011-06-28 18:02 AlexK Note Added: 0006975
2011-06-28 18:02 AlexK Status feedback => new
2011-06-28 18:02 AlexK Note Deleted: 0006968
2011-06-30 15:25 ttill Assigned To => ddennedy
2011-06-30 15:25 ttill Status new => assigned


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker