Need Help building Sable for Arm9

Stage Iup - Fabrice & Frédéric <[email protected]> Tue, 12 Apr 2005 18:15:06 +0200
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hi all
i was trying to build SableVm for Arm9 in order to run an OSGI implementation
but i've got some error in compiling steps
the version of tools i use is libffi-sable-3325 and sablevm-1.11.3

So here we go:
i've built the libffi with the following command line
****************
configure CC=/usr/local/arm/3.0/bin/arm-linux-gcc --target=arm
--host=arm-linux --build=i686-linux
make
make install
****************

the result was:

(...)
---------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Rien à faire pour « install-data-am ».
make[2]: Leaving directory `/home/stage/dev/SableVM/libffi-sable-3325'
make[1]: Leaving directory `/home/stage/dev/SableVM/libffi-sable-3325'
[root@stage-pft11 libffi-sable-3325]# cd ..



So i think that this part was well done

Next i tried to build the SableVm with the following command line
***
configure CC=/usr/local/arm/3.0/bin/arm-linux-gcc
LDFLAGS="-L/usr/local/lib"
CPPFLAGS="-I/usr/local/arm/3.0/arm-linux/include" --target=arm
--host=arm-linux --build=i686-linux --prefix=$HOME/sableVM
***
and there is the problem
****************
checking for ffi_prep_cif in -lffi... yes
checking for lt_dlinit in -lltdl... no
***ERROR: libltdl is missing
****************


so is there anyway to build the SableVm for my Arm9?
if somebody can help me...

With regards

          Frederic Kwiatkowski

Plateforme Technologique Valence
Tél : 04 75 41 88 58