Opened 15 years ago

Closed 15 years ago

#22655 closed defect (invalid)

kdelibs4 4.3.3 build error (undefined symbols?)

Reported by: smgava@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: sharky@…
Port: kdelibs4

Description (last modified by jmroot (Joshua Root))

...

/usr/bin/g++-4.2   -mmacosx-version-min=10.6 -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -dynamiclib -headerpad_max_install_names -single_module -multiply_defined suppress -L/opt/local/lib -arch x86_64 -compatibility_version 4.0.0 -current_version 4.3.0 -o ../../lib/libkjsembed.4.3.0.dylib -install_name /opt/local/lib/libkjsembed.4.dylib CMakeFiles/kjsembed.dir/kjsembed_automoc.o CMakeFiles/kjsembed.dir/kjseglobal.o CMakeFiles/kjsembed.dir/binding_support.o CMakeFiles/kjsembed.dir/static_binding.o CMakeFiles/kjsembed.dir/variant_binding.o CMakeFiles/kjsembed.dir/object_binding.o CMakeFiles/kjsembed.dir/builtins.o CMakeFiles/kjsembed.dir/fileio.o CMakeFiles/kjsembed.dir/jseventmapper.o CMakeFiles/kjsembed.dir/eventproxy.o CMakeFiles/kjsembed.dir/slotproxy.o CMakeFiles/kjsembed.dir/jseventutils.o CMakeFiles/kjsembed.dir/qobject_binding.o CMakeFiles/kjsembed.dir/kjsembed.o CMakeFiles/kjsembed.dir/value_binding.o CMakeFiles/kjsembed.dir/iosupport.o CMakeFiles/kjsembed.dir/qwidget_binding.o CMakeFiles/kjsembed.dir/qaction_binding.o CMakeFiles/kjsembed.dir/qlayout_binding.o CMakeFiles/kjsembed.dir/qpainter_binding.o CMakeFiles/kjsembed.dir/settings.o CMakeFiles/kjsembed.dir/svg_binding.o CMakeFiles/kjsembed.dir/filedialog_binding.o CMakeFiles/kjsembed.dir/application.o CMakeFiles/kjsembed.dir/color.o CMakeFiles/kjsembed.dir/dom.o CMakeFiles/kjsembed.dir/font.o CMakeFiles/kjsembed.dir/image.o CMakeFiles/kjsembed.dir/pen.o CMakeFiles/kjsembed.dir/pixmap.o CMakeFiles/kjsembed.dir/point.o CMakeFiles/kjsembed.dir/rect.o CMakeFiles/kjsembed.dir/size.o CMakeFiles/kjsembed.dir/url.o CMakeFiles/kjsembed.dir/brush.o CMakeFiles/kjsembed.dir/QBrush_bind.o CMakeFiles/kjsembed.dir/quiloader_binding.o -L/opt/local/var/macports/build/_opt_macports_svn_trunk_dports_kde_kdelibs4/work/build/lib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread ../../lib/libkdecore.5.3.0.dylib /usr/lib/libQtUiTools.a -F/opt/local/libexec/qt4-mac/lib -framework QtGui -F/opt/local/libexec/qt4-mac/lib -framework QtSvg -F/opt/local/libexec/qt4-mac/lib -framework QtXml -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread ../../lib/libkjs.4.3.0.dylib -F/opt/local/libexec/qt4-mac/lib -framework QtDBus -framework Carbon 
ld: warning: in /usr/lib/libQtUiTools.a, missing required architecture x86_64 in file
Undefined symbols:
  "QUiLoader::QUiLoader(QObject*)", referenced from:
      KJSEmbed::uiLoader()     in qwidget_binding.o
      KJSEmbed::UiLoaderBinding::ctorMethod(KJS::ExecState*, KJS::List const&) in quiloader_binding.o
      KJSEmbed::UiLoaderBinding::ctorMethod(KJS::ExecState*, KJS::List const&) in quiloader_binding.o
  "QUiLoader::load(QIODevice*, QWidget*)", referenced from:
      UiLoaderNS::load(KJS::ExecState*, KJS::JSObject*, KJS::List const&)in quiloader_binding.o
  "QUiLoader::staticMetaObject", referenced from:
      KJSEmbed::UiLoaderBinding::bindMethod(KJS::ExecState*, PointerBase&)       in quiloader_binding.o
      UiLoaderNS::pluginPaths(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
      UiLoaderNS::createActionGroup(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
      UiLoaderNS::createAction(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
      UiLoaderNS::load(KJS::ExecState*, KJS::JSObject*, KJS::List const&)in quiloader_binding.o
      UiLoaderNS::createWidget(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
      UiLoaderNS::createLayout(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
  "QUiLoader::pluginPaths() const", referenced from:
      UiLoaderNS::pluginPaths(KJS::ExecState*, KJS::JSObject*, KJS::List const&) in quiloader_binding.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libkjsembed.4.3.0.dylib] Error 1
make[1]: *** [kjsembed/kjsembed/CMakeFiles/kjsembed.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/make -f kdeui/CMakeFiles/kdeui.dir/build.make kdeui/CMakeFiles/kdeui.dir/build
make[2]: Nothing to be done for `kdeui/CMakeFiles/kdeui.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_macports_svn_trunk_dports_kde_kdelibs4/work/build/CMakeFiles  22 23 24 25 26 27 28 29 30
[ 39%] Built target kdeui
make: *** [all] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_macports_svn_trunk_dports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed
Warning: the following items did not execute (for kdelibs4): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for kdelibs4 is at: /opt/local/var/macports/logs/kdelibs4/main.log
Error: Status 1 encountered during processing.

Attachments (1)

main.log (345.3 KB) - added by smgava@… 15 years ago.
build log fyi

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by smgava@…

oh, and i'm trying to build on snow leopard.

Changed 15 years ago by smgava@…

Attachment: main.log added

build log fyi

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: sharky@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…

comment:3 Changed 15 years ago by smgava@…

ok, tried a clean install of macports, didn't help. but i found some qt libraries that something else had installed under /usr/lib , when i moved those libraries away and cleaned and rebuilt kdelibs4 it built just fine. please close this ticket now problem solved.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Glad you got it working.

Note: See TracTickets for help on using tickets.