On Saturday, 2 June 2007 12:00, Arnout Engelen wrote:
> > And third, please compile with 'make -VERBOSE=1' and paste the command
> > line corresponding to the link stage.
>
> my make expects that in the form "VERBOSE=1 make". I updated
> http://bzzt.net/~arnouten/builderrors.txt . The last statement is:
>
> /usr/bin/c++ -O2 -w -fexceptions -DNDEBUG -fPIC
> "CMakeFiles/rosegarden.dir/gui/application/main.o" -o rosegarden
> -rdynamic -L/home/arnouten/workspaces/rosegarden/rosegarden/RGbuild
> -lqt-mt -lSM -lICE -lX11 -lXext -ldl -lpthread -lkdecore -llo -lpthread
> -llrdf -lfftw3f -lm -lXft -lfontconfig -llirc_client -ljack -lkio
> -lkdeui -lkdeprint -Wl,-Bstatic -lRosegardenCommon -lRosegardenExtended
> -Wl,-Bdynamic
Yes, sorry. The command is simply "make VERBOSE=1".
I suggest two fixes, first declare lib RosegardenExtended as STATIC. This is
the default for latest CMake release, but I'm not sure about older ones, and
perhaps you aren't using the latest. I mean:
ADD_LIBRARY(RosegardenExtended STATIC
${commands_SRCS}
${document_SRCS}
${gui_SRCS}
)
Second, change the order between RosegardenCommon and RosegardenExtended for
the rosegarden executable, RosegardenCommon being the last one.
TARGET_LINK_LIBRARIES(rosegarden
${QT_AND_KDECORE_LIBS}
${LIBLO_LIBS}
${LRDF_LIBS}
${FFTW3F_LIBS}
${XFT_LIBS}
${LIRC_LIBS}
${JACK_LIBS}
kio
kdeui
kdeprint
RosegardenExtended
RosegardenCommon
)
Hope this helps.
Regards,
Pedro
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel