回复 2楼 azaza
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 21
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
/tmp/ccCMOWgJ.o: In function `file_chunk_winDis':
chunk.c:(.text+0x11c): undefined reference to `md5'
chunk.c:(.text+0x128): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x148): undefined reference to `vec_push_back'
/tmp/ccCMOWgJ.o: In function `file_chunk_cdc':
chunk.c:(.text+0x4da): undefined reference to `adler32_checksum'
chunk.c:(.text+0x50e): undefined reference to `adler32_rolling_checksum'
chunk.c:(.text+0x5b7): undefined reference to `md5'
chunk.c:(.text+0x5c6): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x5e6): undefined reference to `vec_push_back'
chunk.c:(.text+0x650): undefined reference to `md5'
chunk.c:(.text+0x65f): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x67f): undefined reference to `vec_push_back'
chunk.c:(.text+0x86e): undefined reference to `md5'
chunk.c:(.text+0x87d): undefined reference to `md5_2_feature64'
chunk.c:(.text+0x89d): undefined reference to `vec_push_back'
/tmp/ccCMOWgJ.o:(.data+0x10): undefined reference to `ELF_hash'
/tmp/ccCMOWgJ.o:(.data+0x30): undefined reference to `simple_hash'
/tmp/ccCMOWgJ.o:(.data+0x48): undefined reference to `RS_hash'
/tmp/ccCMOWgJ.o:(.data+0x60): undefined reference to `JS_hash'
/tmp/ccCMOWgJ.o:(.data+0x78): undefined reference to `PJW_hash'
/tmp/ccCMOWgJ.o:(.data+0x90): undefined reference to `ELF_hash'
/tmp/ccCMOWgJ.o:(.data+0xa8): undefined reference to `BKDR_hash'
/tmp/ccCMOWgJ.o:(.data+0xc0): undefined reference to `SDBM_hash'
/tmp/ccCMOWgJ.o:(.data+0xd8): undefined reference to `DJB_hash'
/tmp/ccCMOWgJ.o:(.data+0xf0): undefined reference to `AP_hash'
/tmp/ccCMOWgJ.o:(.data+0x108): undefined reference to `CRC_hash'
collect2: error: ld returned 1 exit status