LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 709|回复: 0

emerge zhcon的问题

[复制链接]
发表于 2005-5-12 13:21:25 | 显示全部楼层 |阅读模式
编译到一半出现下面这样的错误,然后就进行不下去了,这是怎么回事乜?
/usr/include/linux/list.h: At global scope:
/usr/include/linux/list.h:222: error: expected `,' or `...' before "new"
/usr/include/linux/list.h: In function `void list_replace_rcu(list_head*, list_head*)':
/usr/include/linux/list.h:223: error: expected identifier before '->' token
/usr/include/linux/list.h:223: error: expected `;' before '->' token
/usr/include/linux/list.h:224: error: expected identifier before '->' token
/usr/include/linux/list.h:224: error: expected `;' before '->' token
/usr/include/linux/list.h:226: error: expected identifier before '->' token
/usr/include/linux/list.h:226: error: expected `;' before '->' token
/usr/include/linux/list.h:227: error: expected identifier before '->' token
/usr/include/linux/list.h:227: error: expected `;' before '->' token
In file included from /usr/include/linux/keyboard.h:14,
                 from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int (*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to `volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int test_and_set_bit(int, volatile long unsigned int*)'
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表