别人的代码,编译报错
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