minigui在ARMlinux上移植的编译例子文件时出现一些错误。

zqlong_sunday 2010-08-17 09:54:07
在up-netarm2410上做MiniGUI在ARMLinux移植,交差编译时,scrnsaver.c: In function `InitFlyingGUI':
scrnsaver.c:353: warning: implicit declaration of function `gettimeofday'
scrnsaver.c: In function `OnPaint':
scrnsaver.c:373: invalid use of undefined type `struct timeval'
scrnsaver.c:373: invalid use of undefined type `struct timeval'
scrnsaver.c:374: invalid use of undefined type `struct timeval'
scrnsaver.c:374: invalid use of undefined type `struct timeval'
scrnsaver.c:376: `prev_time' has an incomplete type
scrnsaver.c:364: warning: `millis' might be used uninitialized in this function
scrnsaver.c: At top level:
scrnsaver.c:307: storage size of `cur_time' isn't known
scrnsaver.c:307: storage size of `prev_time' isn't known
make[1]: *** [scrnsaver.o] 错误 1
make[1]:正在离开目录 `/home/zqlong/ARM2410/LINUX/gui/minigui/samples_ARM/src'
make: *** [all-recursive] 错误 1
...全文
111 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zqlong_sunday 2010-08-17
  • 打赏
  • 举报
回复
此问题已解决!

21,597

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧