HI,

When i cross-compile directfb, i give an install prefix as a folder found in
my home directory during configure. such as :

*./configure --prefix=/home/srinirao/buildsystem/arm/target/
--host=arm-linux  ....<plus other parameters>*

After installing these, I NFS mount my home directory on target file system.
I can run dfbinfo and df_input test applications on the target, as in this
case the directory structure is maintained similar to my home folder.
However, i cannot run these applications on target board, even after copying
all libraries generated under */home/srinirao/buildsystem/arm/target/ *on my
build pc to target board's Root file system's */usr/local/lib* folder. Even
setting LD_LIBRARY_PATH to /usr/local/lib folder doesnot help.  It generates
the following error message.

(*) DirectFB/Core: Single Application Core. (2007-10-03 14:59)
 (!) DirectFB/core/system: No system found!
 main.c <79>:(#) DirectFBError [DirectFBCreate (&dfb)]: No (suitable)
 implementation found!


I googled couple of threads that speaks about setting CROSS_COMPILE_PREFIX
during compilation.
Has anyone encountered such problem related with redirectory structure in
their target rfs ?

In the above example if i create a directory similar to my build pc it works
fine.

ie on board:
mkdir -p /home/srinirao/buildsystem/arm/target/
cd /home/srinirao/buildsystem/arm/target/
ln -s /usr/local/lib .
...

it works fine. But i donot want have this dependency of my home folder on
target rfs. Any solutions ?


regards,
Srinivas Rao. M







-- 
Srinivas Rao M Hamse <http://msrinirao.blogspot.com>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to