All of lore.kernel.org
 help / color / mirror / Atom feed
* Error building classpath-initial
@ 2008-06-10 20:16 Ken Gilmer
  2008-07-12 17:56 ` Robert Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Gilmer @ 2008-06-10 20:16 UTC (permalink / raw)
  To: openembedded-devel


Hello,

  I'm trying to build classpath-initial and am getting the following
error.  My local.conf file is pretty stock, and I'm using the example
machine provided.  The distro is angstrom-2008.1.  I'm able to build a
variety of other packages.  I've updated my tree (org.openembedded.dev)
today.  Has anyone run into this error before?  Ideas on how to resolve?

$ bitbake classpath-minimal
NOTE: Handling BitBake files: \ (5485/5485) [100 %]
NOTE: Parsing finished. 5249 cached, 0 parsed, 236 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200806101611: started

OE Build Configuration:
BB_VERSION        = "1.8.11"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "0f761bf9a1994f4bbf445420d19be2f5e8038ee2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "c7x0"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2008.1-test-20080610"
TARGET_FPU        = "soft"

...

| /bin/sh ../../../i686-linux-libtool --tag=CC   --mode=link ccache gcc
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes
-Wno-long-long -Wstrict-prototypes -pedantic -Werror
-isystem/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/include
-Os -module -version-info 0:0:0 -no-undefined
-L/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-rpath-link,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-rpath,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-O1 -o libjavanet.la -rpath
/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib/classpath-initial
javanet.lo java_net_VMInetAddress.lo java_net_VMNetworkInterface.lo
java_net_VMURLConnection.lo gnu_java_net_VMPlainSocketImpl.lo
gnu_java_net_local_LocalSocketImpl.lo
../../../native/jni/classpath/jcl.lo
../../../native/jni/native-lib/libclasspathnative.la -lmagic
| i686-linux-libtool: link: unsupported hardcode properties
| i686-linux-libtool: link: See the libtool documentation for more
information.
| i686-linux-libtool: link: Fatal configuration error.

TIA,
ken




^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Error building classpath-initial
@ 2008-10-08 14:03 Christopher Friedt
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Friedt @ 2008-10-08 14:03 UTC (permalink / raw)
  To: Openembedded-devel

Hi list,

I just joined the list to follow up on a common error that I
encountered a while ago, where building classpath-initial-0.93 failed,
saying

"libtool: link: unsupported hardcode properties".

I needed to get this compiled pretty desperately, so just grepping resulted in

aclocal.m4: hardcode_direct="$acl_cv_hardcode_direct"

I modified classpath-initial-0.93.bb, very simply appending the following:

do_configure()
{
    export acl_cv_hardcode_direct="no"
    export hardcode_direct="no"

    oe_runconf
}

And that built classpath-initial-0.93 without any errors. However, I
later on ran into the same error with classpath-native-0.97.2 and the
same fix did not work.

Please post a solution, if one ever surfaces.

Cheers,

Chris

> Recently I stepped upon this problem too and began discussing this on
> the libtool mailing list. We do not have a concrete solution yet but
> there is a workaround for now.

> Edit the i686-linux-libtool file in your
> /home/kgilmer/dev/sandbox/oe-dev/tmp/work/i686-linux/classpath-initial-0.93/classpath-0.93

> and set the variable hardcode_direct to no. It should be empty before
> and that is causing the problem.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-08 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 20:16 Error building classpath-initial Ken Gilmer
2008-07-12 17:56 ` Robert Schuster
  -- strict thread matches above, loose matches on Subject: below --
2008-10-08 14:03 Christopher Friedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.