Cannot compile on Darwin (OS X)
Rich Cook
rcook at llnl.gov
Tue Mar 2 02:01:42 GMT 2004
Dear all,
Am I posting to the wrong list for this kind of question? Has anyone
used Kdevelop on OS X?
Thanks.
On Feb 24, 2004, at 6:16 PM, Rich Cook wrote:
> Hi, I get the following error when building on OS X:
>
> Making all in doc
> make[4]: Nothing to be done for `all'.
> /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -fexceptions -L/sw/lib -o libkdevadasupport.la
> -rpath /sw/lib/kde3 -lfl -L/usr/X11R6/lib -L/sw/lib -L/sw/lib
> -avoid-version -module -no-undefined -R /sw/lib -R /sw/lib -R
> /usr/X11R6/lib -R /sw/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
> (warnings about multiple defined symbols omitted here)
> ld: Undefined symbols:
> _yylex
> make[4]: *** [libkdevadasupport.la] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> So I used nm to discoverd that libUil.a contains _yylex, so I tried to
> insert -lUil into the build line:
>
> cd languages/ada
> /bin/sh ../../libtool --silent --mode=link --tag=CXX g++
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -fexceptions -L/sw/lib -o libkdevadasupport.la
> -rpath /sw/lib/kde3 -lfl -L/usr/X11R6/lib -L/sw/lib -L/sw/lib
> -avoid-version -module -no-undefined -R /sw/lib -R /sw/lib -R
> /usr/X11R6/lib -R /sw/lib -lUil 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
>
> But then I get an even more mysterious error:
> ld: .libs/adasupportpart.o illegal reference for -dynamic code
> (section difference reference from section (__TEXT,__eh_frame)
> relocation entry (462) to symbol: QValueList<KSharedPtr<KMimeType>
> >::detachInternal() defined in dylib: /sw/lib/libkio.dylib)
>
>
> can anyone help? Thanks!
>
> --
> Richard Cook
> Lawrence Livermore National Laboratory
> Bldg-451 Rm-2043, Mail Stop L-561
> 7000 East Avenue, Livermore, CA, 94550, USA
> phone (925) 423-9605 (work) fax (925) 423-8704
> ---
> Information Management & Graphics Grp., Services & Development Div.,
> Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
>
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
>
>
--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-451 Rm-2043, Mail Stop L-561
7000 East Avenue, Livermore, CA, 94550, USA
phone (925) 423-9605 (work) fax (925) 423-8704
---
Information Management & Graphics Grp., Services & Development Div.,
Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list