Building KDevelop...

Olivier Bonnet <[email protected]> Mon, 5 Jan 2004 16:59:10 +0100
Newsgroups gmane.comp.kde.darwin
Message-ID <[email protected]>
I disabled the module responsible for the link issue with yylex to see  
what was going next and there seems to be other linking problems, not  
undefined symbols though :

/bin/sh ../../libtool --mode=link --tag=CXX g++-3.3 -DAST_DEBUG  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith  
-Wwrite-strings -fno-builtin -g -Os -fno-exceptions -fno-check-new  
-fno-common -DQT_MAC -no-cpp-precomp -DQT_CLEAN_NAMESPACE  
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    
-L/opt/kde/lib -L/usr/local/qt/lib -L/sw/lib -o r++ -L/usr/local/qt/lib  
-L/opt/kde/lib  -L/opt/kde/lib main.o libkdevcppsupport.la  
../../lib/catalog/libkdevcatalog.la  
../../lib/cppparser/libkdevcppparser.la

*** Warning: Linking the executable r++ against the loadable module
*** libkdevcppsupport.so is not portable!
** Warning, lib libkdevcppsupport.so is a module, not a shared library

** And there doesn't seem to be a static archive available
** The link will probably fail, sorry
g++-3.3 -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W  
-Wpointer-arith -Wwrite-strings -fno-builtin -g -Os -fno-exceptions  
-fno-check-new -fno-common -DQT_MAC -no-cpp-precomp  
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT  
-DQT_NO_TRANSLATION -o .libs/r++ main.o -Wl,-bind_at_load    
-L/opt/kde/lib -L/usr/local/qt/lib -L/sw/lib  
./.libs/libkdevcppsupport.so  
/Users/olivier/Documents/KDE/newK/kdevelop/lib/.libs/ 
libkdevelop.1.0.0.dylib  
/Users/olivier/Documents/KDE/newK/kdevelop/lib/widgets/propeditor/ 
.libs/libpropertyeditor.0.0.0.dylib  
/opt/kde/lib/libktexteditor.0.0.0.dylib  
/opt/kde/lib/libkparts.2.1.0.dylib /opt/kde/lib/libkio.4.2.0.dylib  
/opt/kde/lib/libkdeui.4.2.0.dylib /opt/kde/lib/libkdesu.4.2.0.dylib  
/opt/kde/lib/libkdecore.4.2.0.dylib /opt/kde/lib/libDCOP.4.2.0.dylib  
/opt/kde/lib/libart_lgpl_2.dylib /opt/kde/lib/libkdefx.4.2.0.dylib  
/opt/kde/lib/libqt-mt.dylib -framework Carbon -framework QuickTime  
-lresolv -framework OpenGL -framework AGL -ldl -lpng -lm -lpthread -lz  
/Users/olivier/Documents/KDE/newK/kdevelop/lib/catalog/.libs/ 
libkdevcatalog.0.0.0.dylib  
/Users/olivier/Documents/KDE/newK/kdevelop/lib/cppparser/.libs/ 
libkdevcppparser.0.0.0.dylib  
../../lib/catalog/.libs/libkdevcatalog.0.0.0.dylib -ldb  
../../lib/cppparser/.libs/libkdevcppparser.0.0.0.dylib
ld: ./.libs/libkdevcppsupport.so is input for the dynamic link editor,  
is not relocatable by the static link editor again
ld: warning multiple definitions of symbol _mkstemp
/opt/kde/lib/libkdecore.4.2.0.dylib(single module) definition of  
_mkstemp
/usr/lib/libdl.dylib(mktemp.So) definition of _mkstemp
make[4]: *** [r++] Error 1

It seems to be a mix between static and dynamic linking, I suppose this  
is related to the plugin system kdevelop is using but none of the  
configure options allowed to turn it off...

Olivier