461
- 收藏
- 点赞
- 分享
- 举报
移植苹果Bonjour协议时进行交叉编译链出错
当更换交叉编译链直接编译时,报错如下:
GCC objects/prod/nss_mdns.c.so.o
nss_mdns.c:382:17: fatal error: nss.h: No such file or directory
#include
^
compilation terminated.
make: *** [objects/prod/nss_mdns.c.so.o] Error 1
查询/usr/include下存在nss.h,并通过-I/usr/include链接头文件,出错如下:
mDNSPosix.c: In function 鈥業nterfaceChangeCallback鈥
/usr/include/bits/select.h:37:5: error: impossible constraint in 鈥榓sm鈥
__asm__ __volatile__ ("cld; rep; " __FD_ZERO_STOS \
^
/usr/include/sys/select.h:94:26: note: in expansion of macro 鈥榑_FD_ZERO鈥
#define FD_ZERO(fdsetp) __FD_ZERO (fdsetp)
^
mDNSPosix.c:1218:5: note: in expansion of macro 鈥楩D_ZERO鈥
FD_ZERO(&readFDs);
^
make: *** [objects/prod/mDNSPosix.c.o] Error 1
望遇到坑的网友帮帮指点迷津,在下谢谢了。
GCC objects/prod/nss_mdns.c.so.o
nss_mdns.c:382:17: fatal error: nss.h: No such file or directory
#include
^
compilation terminated.
make: *** [objects/prod/nss_mdns.c.so.o] Error 1
查询/usr/include下存在nss.h,并通过-I/usr/include链接头文件,出错如下:
mDNSPosix.c: In function 鈥業nterfaceChangeCallback鈥
/usr/include/bits/select.h:37:5: error: impossible constraint in 鈥榓sm鈥
__asm__ __volatile__ ("cld; rep; " __FD_ZERO_STOS \
^
/usr/include/sys/select.h:94:26: note: in expansion of macro 鈥榑_FD_ZERO鈥
#define FD_ZERO(fdsetp) __FD_ZERO (fdsetp)
^
mDNSPosix.c:1218:5: note: in expansion of macro 鈥楩D_ZERO鈥
FD_ZERO(&readFDs);
^
make: *** [objects/prod/mDNSPosix.c.o] Error 1
望遇到坑的网友帮帮指点迷津,在下谢谢了。
我来回答
回答0个
时间排序
认可量排序

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
相关问答
-
2016-08-24 18:59:12
-
2017-03-31 14:51:49
-
2020-07-06 19:50:00
-
2019-04-11 17:02:41
-
2016-03-16 21:19:58
-
12018-03-05 11:43:03
-
2017-08-18 15:36:42
-
2017-08-16 17:10:52
-
2013-07-01 18:20:09
-
2019-04-01 19:03:38
-
2016-08-23 10:43:37
-
2020-03-11 10:37:03
-
2015-10-14 19:04:03
-
2015-08-27 10:19:12
-
2019-12-08 22:10:44
-
2017-06-28 14:24:35
-
2017-11-21 18:46:31
-
2018-12-20 15:40:03
-
2017-05-10 19:29:46
无更多相似问答 去提问

点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认