build problems after switching branches/kdevelop/3.4 to branches/KDE/3.5/kdevelop
dukju ahn
dukjuahn at gmail.com
Thu Mar 29 19:50:49 UTC 2007
2007/3/29, Matthew Woehlke <mw_triad at users.sourceforge.net>:
> Ok, different error:
>
> make[4]: Entering directory
> `/usr/local/src/kde/kde-3.5-svn/kdevelop/vcs/subversion'
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o
> kded_kdevsvnd.la -rpath /usr/local/kde-3.5-svn/lib/kde3 -module
> -L/usr/local/kde-3.5-svn/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib
> -avoid-version -module -no-undefined -Wl,--no-undefined
> -Wl,--allow-shlib-undefined -R /usr/local/kde-3.5-svn/lib -R
> /usr/local/kde-3.5-svn/lib -R /usr/lib/qt-3.3/lib -R /usr/X11R6/lib
> kdevsvnd.lo kdevsvnd_widgets.lo kdevsvnd_skel.lo commitdlg.lo
> svnssltrustpromptbase.lo -lkio
> .libs/kdevsvnd.o(.text+0x55): In function `KDevSvnd::KDevSvnd(QCString
> const&)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.cpp:45:
> undefined reference to `KDEDModule::KDEDModule(QCString const&)'
> .libs/kdevsvnd.o(.text+0x9d): In function `KDevSvnd::KDevSvnd(QCString
> const&)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.cpp:45:
> undefined reference to `KDEDModule::KDEDModule(QCString const&)'
> .libs/kdevsvnd.o(.text+0x101): In function `KDevSvnd::~KDevSvnd()':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.cpp:48:
> undefined reference to `KDEDModule::~KDEDModule()'
> .libs/kdevsvnd.o(.text+0x161): In function `KDevSvnd::~KDevSvnd()':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.cpp:48:
> undefined reference to `KDEDModule::~KDEDModule()'
> .libs/kdevsvnd.o(.text+0x1c1): In function `KDevSvnd::~KDevSvnd()':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.cpp:48:
> undefined reference to `KDEDModule::~KDEDModule()'
> .libs/kdevsvnd.o(.text+0x70c): In function `KDevSvnd::staticMetaObject()':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.moc:54:
> undefined reference to `KDEDModule::staticMetaObject()'
> .libs/kdevsvnd.o(.text+0x7ae): In function `KDevSvnd::qt_cast(char const*)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.moc:72:
> undefined reference to `KDEDModule::qt_cast(char const*)'
> .libs/kdevsvnd.o(.text+0x7e0): In function `KDevSvnd::qt_invoke(int,
> QUObject*)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.moc:77:
> undefined reference to `KDEDModule::qt_invoke(int, QUObject*)'
> .libs/kdevsvnd.o(.text+0x810): In function `KDevSvnd::qt_emit(int,
> QUObject*)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.moc:82:
> undefined reference to `KDEDModule::qt_emit(int, QUObject*)'
> .libs/kdevsvnd.o(.text+0x840): In function `KDevSvnd::qt_property(int,
> int, QVariant*)':
> /usr/local/kde/home/src/svn3/kdevelop/vcs/subversion/kdevsvnd.moc:88:
> undefined reference to `KDEDModule::qt_property(int, int, QVariant*)'
> .libs/kdevsvnd.o(.gnu.linkonce.d._ZTI8KDevSvnd+0x8): undefined reference
> to `typeinfo for KDEDModule'
> collect2: ld returned 1 exit status
> make[4]: *** [kded_kdevsvnd.la] Error 1
> make[4]: Leaving directory
> `/usr/local/src/kde/kde-3.5-svn/kdevelop/vcs/subversion'
>
> Anything jump out at anyone? I'll work on debugging on my own as well,
> but maybe someone else knows what's wrong off the top of their heads...
>
Please try below
1. Modify vcs/subversion/Makefile.am
The error was due to the wrong Makefile.am Replace
kded_kdevsvnd_la_LDFLAGS into this lines. It will work
kded_kdevsvnd_la_LDFLAGS = $(all_libraries) -module
2. make -f Makefile.cvs
3. configure, make, makeinstall
More information about the KDevelop-devel
mailing list