directfb程序运行错误
对directfb进行静态编译
以下是运行程序时报的错误
请高手指点一下这是什么错误,可能的解决方法 谢谢!!
$ gcc -I/usr/local/include/directfb window.c libdirectfb.a libfusion.a libdirect.a libdirectfb_fbdev.o libdirectfbwm_default.o -lpthread
$ sudo ./a.out
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.9 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2010 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2011-05-20 01:57)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/FBDev: Found 'radeondrmfb' (ID 0) with frame buffer at 0xd0141000, 5176k (MMIO 0x00000000, 0k)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 1440x900 RGB32
(*) FBDev/Mode: Switched to 1440x900 (virtual 1440x900) at 32 bit (RGB32), pitch 5888
(!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument
(*) FBDev/Mode: Setting 1440x900 RGB32
(*) FBDev/Mode: Switched to 1440x900 (virtual 1440x900) at 32 bit (RGB32), pitch 5888
(!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument
(!) [30523: 0.000] --> Caught signal 11 (at 0x18, invalid address) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
动态链接不行吗?为啥要静态链接?
systems部分只链接libdirectfb_fbdev.o 不够吧,还有vt,surface manageer/pool啥的
建议动态链接