Hi Yanshi, This one is my previous problem. I had given it a try sometimes back. But i need some hard crux solution to compile a directfb example application statically. My intention is to generate a single binary which can run on a target platform. My Compilation goes successfully but when i run i get the same old error message:
# ./df_input & =======================| DirectFB 1.2.0 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-10-08 07:16) [ DEBUG ] (!) DirectFB/core/system: No system found! df_input.c <294>: (#) DirectFBError [DirectFBCreate( &dfb )]: No (suitable) implementation found! Has anyone given it a try. Can you share with me the Makfile for statically linking my app with directfb ? regards, Srinivas Rao. M 2008/1/19 闫石 <[EMAIL PROTECTED]> > Hi Srinivas, > > I think your configure option is ok. when configure command end,it will > print > Build options > Misc options > Building Core Systems > Building WM Modules > etc. > You can check it out, whether fit your need ? > Otherwise ,you system must have a framebuffer device. > if you need fuction like playing avi etc, install DirectFB-extra-1.x.x. > > > Best Regards > > ---------------------------------------------- > Email: [EMAIL PROTECTED] > ---------------------------------------------- > > > ------------------------------ > *发件人:* Srinivas Rao M Hamse [mailto:[EMAIL PROTECTED] > *发送时间:* 2008年1月18日 18:29 > *收件人:* 闫石; [EMAIL PROTECTED]; directfb-dev@directfb.org > *主题:* Re: 答复: [directfb-dev] "No system found!" Error while running > Staticallycompiled dfbinfo application > > Hi Yanshi, > Thanks for replying, This DirectFBCreate Function is very much linked in > to the system. See the output of nm: > > [EMAIL PROTECTED] bin]$ pwd > /home/srinirao/directfb/bin > [EMAIL PROTECTED] bin]$ nm dfbinfo |grep DirectFBCreate > 0000b04c T DirectFBCreate > > > Am i missing some configuration that needed to be done for setting up > systems for directfb ? > I am using the following configure optinions: > > export LDFLAGS="-L/home/srinirao/davinci/freetype_eq/ > -L/home/srinirao/libpng/lib -L/home/srinirao/zlib/lib > -L/home/srinirao/davinci/freetype_eq" && export > CPPFLAGS="-I/home/srinirao/libpng/include -I/home/srinirao/zlib/include > -I/home/srinirao/davinci/freetype_eq/include" && ./configure > --host=arm-linux --prefix=/home/srinirao/directfb --enable-fbdev > --enable-devmem --disable-x11 --with-inputdrivers=keyboard > --with-gfxdrivers=none --disable-video4linux2 --disable-sysfs > --disable-multi --disable-sdl --disable-video4linux > --datadir=/home/srinirao/directfb/usr/lib --with-png=yes --with-freetype=yes > --disable-debug --disable-debug-support --enable-static --disable-shared > --enable-debug > > What do you mean system here, is that i have to compile fbdev statically ? > > > regards, > Srinivas Rao. M > > > > 2008/1/18 闫石 < [EMAIL PROTECTED]>: > >> Hi >> >> Maybe you forgot some library while statically compile dfbinfo. >> DirectFBCreate fuction is defined in libdirectfb.la. >> >> Best Regards >> >> ---------------------------------------------- >> Email: [EMAIL PROTECTED] >> ---------------------------------------------- >> >> >> ------------------------------ >> *发件人:* [EMAIL PROTECTED] [mailto: >> [EMAIL PROTECTED] *代表 *Srinivas Rao M Hamse >> *发送时间:* 2008年1月18日 17:42 >> *收件人:* [EMAIL PROTECTED]; directfb-dev@directfb.org >> *主题:* [directfb-dev] "No system found!" Error while running >> Staticallycompiled dfbinfo application >> >> Hi all, >> I have statically compile directfb library. When i run the binary dfbinfo >> on target, i get the following error message. However if i run the same >> application after linking dynamically with directfb libraries, it works >> fine. >> >> Please help me to figure out, If i am missing something here ? >> >> >> # ./dfbinfo --dfb:system=devmem --dfb:video-phys=0x83000000 >> --dfb:video-length=691200 >> >> =======================| DirectFB 1.1.1 |======================= >> (c) 2001-2007 The DirectFB Organization (directfb.org) >> (c) 2000-2004 Convergence (integrated media) GmbH >> ------------------------------------------------------------ >> >> (*) DirectFB/Core: Single Application Core. (2008-01-18 05:45) [ DEBUG ] >> (!) DirectFB/core/system: No system found! >> (#) DirectFBError [DirectFBCreate() failed]: No (suitable) implementation >> found! >> # >> >> >> >> regards, >> >> -- >> Srinivas Rao M Hamse <http://msrinirao.blogspot.com> >> >> >> >> > > > -- > Srinivas Rao M Hamse > -- Srinivas Rao M Hamse
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev