<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I've tried cross compiling the
libltdl3 using the following command and it completed successfully until
installation using make install</FONT></DIV>
<DIV>
<P><FONT face=Arial color=#0000ff
size=2>CC=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc
CPP=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-cpp
CXX=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-g++
RANLIB=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-ranlib
../libtool/configure --prefix=/mnt/nfsshare/usr/local/libtool
--exec-prefix=/mnt/nfsshare/usr/local/libtool --host=arm-linux</FONT></P>
<P><FONT face=Arial size=2>Then I tried cross compiling kaffe again using the
following command</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>CC=arm-angstrom-linux-gnueabi-gcc
CPP=arm-angstrom-linux-gnueabi-cpp CXX=arm-angstrom-linux-gnueabi-g++
../kaffe/configure --prefix=/mnt/nfsshare/usr/local/kaffe
--exec-prefix=/mnt/nfsshare/usr/local/kaffe --host=arm-linux
--with-classpath-prefix=/mnt/nfsshare/usr/local/classpath --disable-native-awt
--with-includes=/mnt/nfsshare/usr/local/libtool/include
--with-libs=/mnt/nfsshare/usr/local/libtool/lib</FONT></P>
<P><FONT face=Arial size=2>And now it resulted into the following error while
configuring the kaffe</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>checking for ltdl.h... yes</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>checking for library containing
lt_dlcaller_register... no</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>configure: error: Can't find the
libltdl library.</FONT></P>
<P><FONT face=Arial size=2> I' also tried cross compiling the
libltdl3 using the following command and it completed successfully also until
installation using make install</FONT></P><FONT face=Arial color=#0000ff size=2>
<P>CC=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc
CPP=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-cpp
CXX=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-g++
RANLIB=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-ranlib
../libtool/configure --host=arm-linux</P></FONT>
<P><FONT face=Arial size=2>Then I tried cross compiling kaffe again using the
following command</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>CC=arm-angstrom-linux-gnueabi-gcc
CPP=arm-angstrom-linux-gnueabi-cpp CXX=arm-angstrom-linux-gnueabi-g++
../kaffe/configure --prefix=/mnt/nfsshare/usr/local/kaffe
--exec-prefix=/mnt/nfsshare/usr/local/kaffe --host=arm-linux
--with-classpath-prefix=/mnt/nfsshare/usr/local/classpath
--disable-native-awt</FONT></P></DIV>
<DIV><FONT face=Arial size=2>
<P><FONT face=Arial size=2>And again it resulted into the following error while
configuring the kaffe</FONT></P><FONT face=Arial color=#0000ff size=2><FONT
size=2>
<P>checking for ltdl.h... no</P>
<P>configure: error: Can't find the ltdl.h header file from the libltdl
library</P>
<P><FONT color=#000000>Can anybody please help me? I feel so frustrated
now. I need to make this kaffevm work</FONT></P>
<P><FONT color=#000000>Thanks and best regards,</FONT></P>
<P><FONT color=#000000>Leandro Galvez</FONT></P></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Dalibor Topic" <</FONT><A
href="mailto:robilad@kaffe.org"><FONT face=Arial
size=2>robilad@kaffe.org</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: "Leandro Galvez" <</FONT><A
href="mailto:galvez.andy@cassis-intl.com"><FONT face=Arial
size=2>galvez.andy@cassis-intl.com</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Cc: "Kiyo Inaba" <</FONT><A
href="mailto:inaba@src.ricoh.co.jp"><FONT face=Arial
size=2>inaba@src.ricoh.co.jp</FONT></A><FONT face=Arial size=2>>;
<</FONT><A href="mailto:kaffe@kaffe.org"><FONT face=Arial
size=2>kaffe@kaffe.org</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Monday, February 11, 2008 10:22
PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Re: [kaffe] ARM Cross-Compile using GNU
EABI</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>> Leandro Galvez wrote:<BR>>>
Hi,<BR>>><BR>>> Sorry for being so ignorant
here. I already have all the required <BR>>> libraries. I was
already able to complete building and installing the <BR>>> native build
of kaffe for a number of times. This things only happen <BR>>> when
cross-compiling to arm.<BR>>><BR>> <BR>> No worries,
cross-compilation is always a bit harder than native builds. <BR>> :) As I
said in the previous post, you will need to cross-compile the <BR>> libraries
used by kaffe first,<BR>> like libltdl (which is part of the GNU libtool
project), to install them <BR>> somewhere on the machine you cross compile
kaffe on, and then to tell <BR>> kaffe's configure script<BR>> where you
installed the header files, and the shared libraries for the <BR>> libraries
it needs, so that it can find and use them.<BR>> <BR>> i.e.<BR>>
<BR>> for each kaffe dependency {<BR>> cross compile the dependency
and install it somewhere using <BR>> --prefix=where-you-want-it-to-go<BR>>
}<BR>> then tell kaffe's configure script where you installed them all using
<BR>> --with-includes and --with-libs.<BR>> <BR>> cheers,<BR>>
dalibor topic<BR>> <BR>> <BR>></FONT></BODY></HTML>