[kde-solaris] ld error in compiling kdevelop on Solaris
mats.rojestal at bredband.net
Mon Jan 17 08:50:07 CET 2005
This error means that the object was not correctly built
I just compiled kdevelop succesfully from cvs and it works
one thing to check for is that when you use sun linker
and gnu libtool not use correct flags for generating
dynamically linked objects. An easy way to fix this is
to build a gcc that uses gnu assembler and gnu linker.
Hope that helps
rain cip wrote:
> (This is a repost)
> Has anyone successfully compiled kdevelop 3.1.2 on
> Solaris yet? I've tried it many hours without much
> success. Hope you kde gurus on this board can help
> me solve a weird compiling issue.
> My relative configuration is:
> Solaris 9/SPARC with ALL the patches
> kde_gcc 3.3.1 from blastwave.org
> gcc 3.4.2 from blastwave.org
> libtool 1.5.2 from blastwave.org
> The gcc from blastwave.org is configured with:
> That configuration is apparently hard-wired into
> the gcc package.
> Below is the error I got when attempting to compile
> kdevelop 3.1.2 on my box:
> gmake: Enteringing directory '/usr/kdeusr/
> /bin/bash ../../libtool (omitted till next line)
> *** Warning: Linking the shared library
> libkdevcppsupport.la against the
> *** static library ../../bdb/build_unix/libdb.a
> is not portable!
> Text relocation remains referenced
> against symbol offset in files
> <unknown> 0x38
> (similar lines repeated hundres of times)
> ld: fatal: relocations remain against allocable but
> non-writable sections
> collect2: ld returned 1 exit status
> gmake: *** [libkdevcppsupport.la] Error 1
> I checked bdb/build_unix and found the libdb.a but
> not shared library version. How could this happen?
> The config.log says my gcc supports shared library.
> Any idea on how to fix this problem will be
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> This message is from the kde-solaris mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
More information about the kde-solaris