- 论坛徽章:
- 0
|
原帖由 fengdays 于 2007-11-16 17:58 发表
编译出错,错误如下
event_msgqueue.c:125: error: previous definition of 'circqueue_pop_head' was here
event_msgqueue.c:138: error: redefinition of 'msgqueue_pop'
event_ms ...
刚刚找了一台 RedHat FC 试了一下,没有问题,可以编译。请提供一下 gcc 的版本。
-bash-3.1$ gcc --version
gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-bash-3.1$ cat /etc/redhat-release
Fedora Core release 6 (Zod)
-bash-3.1$ uname -a
Linux xxxxx 2.6.22.7-57.fc6 #1 SMP Fri Sep 21 19:45:12 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[ 本帖最后由 iunknown 于 2007-11-17 21:53 编辑 ] |
|