Skip to contentSkip to conversation

Error building classpath-initial

DISCUSSION Christopher Friedt 1 participant 1 message Oct 8, 2008

lore
Share & tools
lore
#0 lore raw

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

Quoted 9 lines

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.