| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3726 人关注过本帖
标题:别人的代码,编译报错
只看楼主 加入收藏
hyj0616
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2016-8-1
结帖率:66.67%
收藏
已结贴  问题点数:10 回复次数:1 
别人的代码,编译报错
chunk.c:(.text+0x2ac): undefined reference to `adler32_checksum'
chunk.c:(.text+0x2e0): undefined reference to `adler32_rolling_checksum'
chunk.c:(.text+0x389): undefined reference to `md5'
chunk.c:(.text+0x398): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x3b8): undefined reference to `vec_push_back'
chunk.c:(.text+0x422): undefined reference to `md5'
chunk.c:(.text+0x431): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x451): undefined reference to `vec_push_back'
chunk.c:(.text+0x640): undefined reference to `md5'
chunk.c:(.text+0x64f): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x66f): undefined reference to `vec_push_back'
chunk.o: In function `main':
chunk.c:(.text+0x6c3): undefined reference to `vec_init'
chunk.o:(.data+0x10): undefined reference to `ELF_hash'
chunk.o:(.data+0x30): undefined reference to `simple_hash'
chunk.o:(.data+0x48): undefined reference to `RS_hash'
chunk.o:(.data+0x60): undefined reference to `JS_hash'
chunk.o:(.data+0x78): undefined reference to `PJW_hash'
chunk.o:(.data+0x90): undefined reference to `ELF_hash'
chunk.o:(.data+0xa8): undefined reference to `BKDR_hash'
chunk.o:(.data+0xc0): undefined reference to `SDBM_hash'
chunk.o:(.data+0xd8): undefined reference to `DJB_hash'
chunk.o:(.data+0xf0): undefined reference to `AP_hash'
chunk.o:(.data+0x108): undefined reference to `CRC_hash'
collect2: error: ld returned 1 exit status
搜索更多相关主题的帖子: reference undefined 
2016-08-03 11:15
书生牛犊
Rank: 14Rank: 14Rank: 14Rank: 14
来 自:星夜征程
等 级:贵宾
威 望:10
帖 子:1101
专家分:5265
注 册:2015-10-27
收藏
得分:10 
undefined 未定义的,,,是不是代码不完整啊?

φ(゜▽゜*)♪
2016-08-07 21:29
快速回复:别人的代码,编译报错
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020868 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved