Re: Building KDevelop...

Harald Fernengel <[email protected]> Wed, 7 Jan 2004 00:27:29 +0100
Newsgroups gmane.comp.kde.darwin
Message-ID <[email protected]>
Hi,

On Monday 05 January 2004 10:53, Olivier Bonnet wrote:
> Le 4 janv. 2004, à 23:39, IceFox a écrit :
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Did you patch the admin directory?
>
> Oops, indeed, I had forgotten this issue.
>
> Next problem is still a linking issue :
>
> /bin/sh ../../libtool --mode=link --tag=CXX g++-3.3  -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 -fexceptions  -L/opt/kde/lib
> -L/usr/local/qt/lib -L/sw/lib -o libkdevadasupport.la -rpath
> /opt/kde/lib/kde3 -lfl -L/usr/local/qt/lib -L/opt/kde/lib
> -L/opt/kde/lib -avoid-version -module -no-undefined  -R /opt/kde/lib -R
> /usr/local/qt/lib -R /opt/kde/lib  adasupportpart.lo problemreporter.lo
> backgroundparser.lo addclass.lo ada_utils.lo adasupport.lo AdaLexer.lo
> AdaParser.lo AdaTreeParserSuper.lo AdaStoreWalker.lo addclassdlg.lo
> configproblemreporter.lo ../../lib/libkdevelop.la
>       ../../lib/antlr/src/libantlr.la
> g++-3.3 -bundle  -Wl,-bind_at_load  -o .libs/libkdevadasupport.so
> .libs/adasupportpart.o .libs/problemreporter.o .libs/backgroundparser.o
> .libs/addclass.o .libs/ada_utils.o .libs/adasupport.o .libs/AdaLexer.o
> .libs/AdaParser.o .libs/AdaTreeParserSuper.o .libs/AdaStoreWalker.o
> .libs/addclassdlg.o .libs/configproblemreporter.o -all_load
> ../../lib/antlr/src/.libs/libantlr.a  /opt/kde/lib/libpng.dylib
> -framework AGL -framework OpenGL -framework QuickTime -framework Carbon
> /opt/kde/lib/libqt-mt.dylib /opt/kde/lib/libkdefx.4.2.0.dylib
> /opt/kde/lib/libart_lgpl_2.dylib /opt/kde/lib/libDCOP.4.2.0.dylib
> /opt/kde/lib/libkdecore.4.2.0.dylib /opt/kde/lib/libkdesu.4.2.0.dylib
> /opt/kde/lib/libkdeui.4.2.0.dylib /opt/kde/lib/libkio.4.2.0.dylib
> /opt/kde/lib/libkparts.2.1.0.dylib
> /opt/kde/lib/libktexteditor.0.0.0.dylib
> /Users/olivier/Documents/KDE/newK/kdevelop/lib/widgets/propeditor/
> .libs/libpropertyeditor.0.0.0.dylib -L/opt/kde/lib -L/usr/local/qt/lib
> -L/sw/lib -lfl ../../lib/.libs/libkdevelop.1.0.0.dylib
> ld: warning multiple definitions of symbol _mkstemp
> /opt/kde/lib/libkdecore.4.2.0.dylib(single module) definition of
> _mkstemp
> /usr/lib/libSystem.dylib(mktemp.So) definition of _mkstemp
> ld: Undefined symbols:
> _yylex
> make[1]: *** [libkdevadasupport.la] Error 1
>
> A quick web search gave me this pointer
> http://groups.google.com/groups?
> q=Undefined+symbols+_yylex&hl=fr&lr=&ie=UTF-8&oe=UTF
> -8&selm=ub206gnlfg.fsf%40gameboy.gia.rwth-aachen.de&rnum=3
> which seems relevant but before diving in the source, I wanted to make
> sure that this is not a known problem...

I'm currently hitting the same problem, if you do a "make -k" and a "make -k 
install", it should work, you just don't have a few language modules.

Best regards,
Harry