免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3346 | 回复: 0
打印 上一主题 下一主题

[HP-UX]A linker problem [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-10-09 08:43 |只看该作者 |倒序浏览
[HP-UX B.11.00]

As long as making some C processes on HP-UX 11.0, I am always encountered some link errors like the follows:

/usr/ccs/bin/ld: Unsatisfied symbols:
c_udp_select (first referenced in commgr.o) (code)
c_free (first referenced in check_msg.o) (code)
c_error (first referenced in commgr.o) (code)
c_sendmsg (first referenced in msgtype_resp.o) (code)
c_mapshm (first referenced in commgr_init.o) (code)
c_send_udp_sock (first referenced in msgtype_resp.o) (code)
c_malloc (first referenced in store_msg.o) (code)
c_recvmsg (first referenced in commgr.o) (code)
c_has_subtype (first referenced in remove_msg.o) (code)
c_sysparams (first referenced in commgr.o) (code)
c_alias_to_hash_index (first referenced in alias_2_id.o) (code)
c_debug (first referenced in commgr.o) (code)
c_udp_server (first referenced in commgr.o) (code)
c_print_msg (first referenced in sys_messages.o) (code)

Those functions are not under the current directory for the process being made, but belong to some libraries. I am sure to have made and linked to those libraries, and even include the function headers involved into .h files. However, the problems still exist. One clue is that those problems seem to occur only on the case that one library function is to call another library function.


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP