redefinition of `struct in6_addr' 的解决办法
2013-04-14 14:05
537 查看
gcc的时候报如下错误:
redefinition of `struct in6_addr'
redefinition of `struct sockaddr_in6'
redefinition of `struct ipv6_mreq'
解决办法:
将#include <linux/in6.h> 替换成 #include <netinet/in.h>
redefinition of `struct in6_addr'
redefinition of `struct sockaddr_in6'
redefinition of `struct ipv6_mreq'
解决办法:
将#include <linux/in6.h> 替换成 #include <netinet/in.h>
相关文章推荐
- arm环境下编译出现下面警告的解决办法 note: the mangling of 'va_list' has changed in GCC 4.4
- Implicit delcaration of function 'sysctlbyname'is invalid in c99 问题及解决办法
- 如何解决Reachability中的Declaration of 'struct sockaddr_in' will not be visible outside of this function
- java.sql.SQLException: Unknown type '246 in column 0 of 1 in binary-encoded result set的解决办法
- java.sql.SQLException: Unknown type '246 in column 0 of 1 in binary-encoded result set的解决办法
- 编译openssl库时出现“error C2027: use of undefined type 'in6_addr'”的解决方法
- Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
- Git pull 出现Unlink of file '.git/objects/pack/.tmp-xxx' failed. Should I try again? (y/n) 解决办法
- 关于Cannot assign to 'self' outside of a method in the init family解决方法
- Error in '/' Application. 错误解决办法
- Error thrown by a dependency of object 'System.Data.SQLite' 解决办法
- Ibatis中的一个“There is no READABLE property named 'uId' in class 'useri 的解决办法
- GMF提示Can't find genClass for class '...' in package ...model的解决办法
- error: 'EOF' was not declared in this scope的解决办法
- Eclipse 报 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法以及文本文件换行
- Notice: Use of undefined constant out - assumed 'out' in D:wampwwwdaoruindex.php on line 4解决办法
- implicit declaration of function 's3c2410_gpio_cfgpin"的解决办法
- error: 'EOF' was not declared in this scope的解决办法
- warning C4150: deletion of pointer to incomplete type 'xxx'; no destructor called 的解决办法
- error C2371: 'XXX' : redefinition; different basic types 解决办法