I have used Scratchbox 1 for cross-compiling DirectFB-0.9.20 for ARM. I have compiled a basic program (on my host m/c with RHL 9) using the following command :-
[sbox-ARM: ~] > gcc -Wall `pkg-config --cflags --libs directfb` -o line line.c
Now I move this package to my target's rootfs (using NFS for mounting rootfs). On the target m/c I have exported :-
[EMAIL PROTECTED] /]#export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
[EMAIL PROTECTED] /]#export LD_LIBRARY_PATH=/usr/local/lib/
But when I try to run the program the following error is shown :-
[EMAIL PROTECTED] /]#./line 10 20
---------------------- DirectFB v0.9.20 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
(*) Single Application Core. (2006-02-17 15:24)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/GraphicsDevice: Generic Software Rasterizer 0.6 (convergence integ)(!) [ 54: 0.000] --> Caught signal 4 (at 0x40202ce4, invalid address) <--
(!) DirectFB/core/fbdev: Could not restore palette!
--> Invalid argument
Illegal instruction
[EMAIL PROTECTED] /]#
PLEASE HELP!
Thanks,
Arun
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
