[Uml-user] error in the last building stage

Haim Cohen haim.cohen at analog.com
Thu Mar 20 05:09:07 UTC 2003


Hi,

I have a linkage problem in the final stages of building Umbrello - it seems that the qt libraries can not be found, although all the -L and -l flags parameters are supplied.
I will be happy if someone can take a look:


gmake[1]: Entering directory `/home/hcohen/bin/umbrello-1.1.1/uml'
/bin/bash ../libtool --mode=link --tag=CXX g++  -O2 -fno-exceptions -fno-check-new    -o umbrello -L/opt/qt3/lib -L/opt/kde3//lib  -L/cpd/gnu/lib -L/opt/kde3/gcc-libs -R /opt/kde3//lib -R /opt/qt3/lib -R /cpd/gnu/lib classimport.o umllistviewitemdata.o umllistviewitem.o umllistview.o seqlinewidget.o codegenerator.o activitywidget.o activitywidgetdata.o worktoolbar.o usecasewidgetdata.o usecasewidget.o usecase.o umlwidgetdata.o umlwidget.o umlviewdata.o umlview.o umlviewcanvas.o umlobject.o umlnamespace.o umldoc.o uml.o statewidgetdata.o statewidget.o operation.o objectwidgetdata.o objectwidget.o notewidgetdata.o notewidget.o messagewidgetdata.o messagewidget.o main.o listpopupmenu.o linepath.o kstartuplogo.o infowidget.o floatingtextdata.o floatingtext.o docwindow.o conceptwidgetdata.o conceptwidget.o concept.o attribute.o assocrules.o associationwidgetdata.o associationwidget.o actorwidgetdata.o actorwidget.o actor.o objectwidget.moc.o umllistview.moc.o statewidget.moc.o umlview.moc.o umlobject.moc.o worktoolbar.moc.o activitywidget.moc.o uml.moc.o umldoc.moc.o operation.moc.o umlwidget.moc.o kstartuplogo.moc.o associationwidget.moc.o codegenerator.moc.o linepath.moc.o messagewidget.moc.o docwindow.moc.o umbrello_meta_unload.o  ./classparser/libclassparser.a ./clipboard/libclipboard.a ./dialogs/libdialogs.a ./codegenerators/libcodegenerator.la -lfl -lkdeprint -lkio -lkdecore -lqt-mt   -lXext -lX11 -lsocket  -lnsl -lSM -lICE -lpthread -lsocket  -lnsl 
g++ -O2 -fno-exceptions -fno-check-new -o umbrello classimport.o umllistviewitemdata.o umllistviewitem.o umllistview.o seqlinewidget.o codegenerator.o activitywidget.o activitywidgetdata.o worktoolbar.o usecasewidgetdata.o usecasewidget.o usecase.o umlwidgetdata.o umlwidget.o umlviewdata.o umlview.o umlviewcanvas.o umlobject.o umlnamespace.o umldoc.o uml.o statewidgetdata.o statewidget.o operation.o objectwidgetdata.o objectwidget.o notewidgetdata.o notewidget.o messagewidgetdata.o messagewidget.o main.o listpopupmenu.o linepath.o kstartuplogo.o infowidget.o floatingtextdata.o floatingtext.o docwindow.o conceptwidgetdata.o conceptwidget.o concept.o attribute.o assocrules.o associationwidgetdata.o associationwidget.o actorwidgetdata.o actorwidget.o actor.o objectwidget.moc.o umllistview.moc.o statewidget.moc.o umlview.moc.o umlobject.moc.o worktoolbar.moc.o activitywidget.moc.o uml.moc.o umldoc.moc.o operation.moc.o umlwidget.moc.o kstartuplogo.moc.o associationwidget.moc.o codegenerator.moc.o linepath.moc.o messagewidget.moc.o docwindow.moc.o umbrello_meta_unload.o  -L/opt/qt3/lib -L/opt/kde3//lib -L/cpd/gnu/lib -L/opt/kde3/gcc-libs ./classparser/libclassparser.a ./clipboard/libclipboard.a ./dialogs/libdialogs.a ./codegenerators/.libs/libcodegenerator.a -L/cpd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -L/cpd/gnu/sparc-sun-solaris2.8/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/export/home/demo/gcc/sparc-sun-solaris2.8/libstdc++-v3/src -L/export/home/demo/gcc/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -L/export/home/demo/gcc/gcc -lgcc -lfl /opt/kde3/lib/libkdeprint.so -L/opt/kde3/lib -L/opt/cups/lib /opt/kde3/lib/libkparts.so -L/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.8/3.1 -L/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../.. /opt/kde3/lib/libkio.so /opt/kde3/lib/libkdeui.so /opt/kde3/lib/libkdefx.so /opt/kde3/lib/libkdesu.so -lz -lvolmgt /opt/kde3/lib/libkdecore.so /opt/kde3/lib/libDCOP.so -ldl /opt/kde3/gcc-libs/libstdc++.so -lm -lgcc_s -lqt-mt -lXext -lX11 -lSM -lICE -lpthread -lsocket -lnsl -Wl,--rpath -Wl,/opt/kde3/gcc-libs -Wl,--rpath -Wl,/opt/kde3/lib -Wl,--rpath -Wl,/opt/kde3/gcc-libs -Wl,--rpath -Wl,/opt/kde3/lib -Wl,--rpath -Wl,/opt/kde3//lib -Wl,--rpath -Wl,/opt/qt3/lib -Wl,--rpath -Wl,/cpd/gnu/lib
classimport.o: In function `ClassImport::createUMLObject(QString, Uml::UMLObject_Type)':
classimport.o(.text+0x58): undefined reference to `QString::QString(QString const &)'
classimport.o(.text+0x8c): undefined reference to `QString::QString(QString const &)'
classimport.o(.text+0xc8): undefined reference to `kdDebug(int)'
classimport.o(.text+0xf8): undefined reference to `QString::fromUtf8(char const *, int)'
classimport.o(.text+0x108): undefined reference to `QString::operator+=(QString const &)'
classimport.o(.text+0x128): undefined reference to `QString::shared_null'
classimport.o(.text+0x12c): undefined reference to `QString::shared_null'
classimport.o(.text+0x140): undefined reference to `QStringData::deleteSelf(void)'
classimport.o(.text+0x188): undefined reference to `QChar::null'
classimport.o(.text+0x18c): undefined reference to `QChar::null'
classimport.o(.text+0x1a8): undefined reference to `kdbgstream::flush(void)'
classimport.o(.text+0x1d0): undefined reference to `kdbgstream::~kdbgstream(void)'
classimport.o(.text+0x1e4): undefined reference to `QGList::append(void *)'
..... Tons of undefined reference to QString.......



________________________________________@/'
Haim Cohen
Software Engineer
CAD group
Analog Devices
Israel
(972) - 9 - 9715 406




More information about the umbrello mailing list