Chinaunix首页 | 论坛 | 博客
  • 博客访问: 537080
  • 博文数量: 142
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1452
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-12 16:28
文章分类

全部博文(142)

文章存档

2016年(10)

2015年(60)

2014年(72)

我的朋友

发布时间:2015-04-01 08:50:18

变量j未初始化,导致访问出错。点击(此处)折叠或打开gwwu@hz-dev2.wgw.com:~/codes/istanbul_3_31/build_BR200>powerpc-linux-gnu-gdb GNU gdb (Sourcery G++ Lite 2010.09-55) 7.2.50.20100908-cvsCopyright (C) 2010 Free Software Foundation, Inc..........【阅读全文】

阅读(1531) | 评论(0) | 转发(0)

发布时间:2015-03-04 18:26:23

使用方法:1.在进程中先调用ah_pmpt_timer_init,创建一个定时器线程2.在另一个使用定时器的线程调用ah_pmpt_timer_create创建定时器3.调用ah_pmpt_timer_start,将定时器挂接到定时器链表中,设置定时时间以开启定时器4.调用ah_pmpt_timer_continue重新赋值时间,重新开启定时器 (因为该定时器超时后,定时器默.........【阅读全文】

阅读(939) | 评论(0) | 转发(0)

发布时间:2015-02-28 15:22:27

......【阅读全文】

阅读(1144) | 评论(0) | 转发(0)

发布时间:2015-02-25 17:22:04

/usr/bin/ld: cannot find -lcThe linker cannot find the C libraries required for statically linking your library. You can try and see if libc.a already exists on your system by calling locate libc.a. If this returns, add an appropriate library flag pointing to the directory that includes libc.a.I.........【阅读全文】

阅读(1210) | 评论(0) | 转发(0)

发布时间:2014-12-08 16:23:12

添加了头文件#include #include #include 编译gcc -g global_shm.c -o global_shm -Wall时,仍然提示undefined reference to sem_open,原因是需要添加库-lpthread......【阅读全文】

阅读(1972) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册