社区
C语言
帖子详情
sco unix 下socket编程,编译时提示/usr/include/arpa/inet.h dubious tag declaration:struct in_addr why?如何解决?谢谢!!!
cnm
2001-09-05 11:47:13
...全文
58
回复
打赏
收藏
sco unix 下socket编程,编译时提示/usr/include/arpa/inet.h dubious tag declaration:struct in_addr why?如何解决?谢谢!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ubuntu下
编译
时
遇到的错误及
解决
方式
1、错误展示: hangma@ubuntu:~/test/test/protest/stack_test$ gcc -c my_stack.c -o my_stack.o In file
include
d from /
usr
/
include
/stdio.h:34:0, from my_stack.c:2: /
usr
/lib/gcc/i686-linux-
龙芯2F Debain编openssl报/
usr
/local/bin/ld: /
usr
/lib/libdl.so: error adding symbols: file in wrong format
龙芯2F Debain6编openssl
时
总会报/
usr
/local/bin/ld: /
usr
/lib/libdl.so: error adding symbols: file in wrong format...错误,刚开始以为是libdl.so库文件版本太老导致的问题,但实际上是
编译
openssl
时
,采用 ./...
SLAM十四讲-ch3-vistalizegeometry
编译
问题
在ch3中运行vistalizegeometry这个demo的
时
候,出现
编译
错误,并不一定是pangolin的安装问题,还可能是c++
编译
器版本不匹配
‘
inet
_pton’ was not declared in this
sco
pe
‘
inet
_pton’ was not declared in this
sco
pe 缺少头文件 #
include
<
arpa
/
inet
.h>
Keil
编译
报错[error: #101: “xxx_IRQn“ has already been declared in the current
sco
pe]
解决
办法
问题出现原因: 之前用的MCU是G030,因为G030没有PVD功能,所以换成G031,在keil魔术棒Device中切换好后
编译
程序,便报了几十个如下这样的错误。
解决
方法:在网上搜资料
时
,大概是说这种情况是因为重定义,然后...
C语言
69,382
社区成员
243,073
社区内容
发帖
与我相关
我的任务
C语言
C语言相关问题讨论
复制链接
扫一扫
分享
社区描述
C语言相关问题讨论
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章