gpt4 book ai didi

compiler-errors - 如何编译FM-Index?

转载 作者:行者123 更新时间:2023-12-02 10:45:41 24 4
gpt4 key购买 nike

我正在尝试编译 FM-Index V2 ,但在 Mac 和 Linux 上都会出现错误:

make
make -C ./ds_ssort/; cp ./ds_ssort/ds_ssort.a .
make[1]: Entering directory `/storage1/maxwell/maasha/Install/src/fmindexV2/ds_ssort'
gcc -c -g -O3 -fomit-frame-pointer -W -Wall -Winline -DDEBUG=0 -DNDEBUG=1 shallow.c -o shallow.o
shallow.c: In function ‘shallow_mkq’:
shallow.c:90: error: nested function ‘vecswap2’ declared but never defined
shallow.c: In function ‘shallow_mkq16’:
shallow.c:184: error: nested function ‘vecswap2’ declared but never defined
shallow.c: In function ‘shallow_mkq32’:
shallow.c:262: error: nested function ‘vecswap2’ declared but never defined
shallow.c: In function ‘shallow_inssort_lcp’:
shallow.c:496: error: nested function ‘cmp_unrolled_shallow_lcp’ declared but never defined
make[1]: *** [shallow.o] Error 1
make[1]: Leaving directory `/storage1/maxwell/maasha/Install/src/fmindexV2/ds_ssort'
cp: cannot stat `./ds_ssort/ds_ssort.a': No such file or directory
make: *** [ds_ssortr] Error 1

如何解决这个问题?压缩包在这里:

http://pizzachili.di.unipi.it/indexes/FM-indexV2/fmindexV2.tgz

最佳答案

不久前我看过这个,所以我的记忆可能是错误的,但我认为 FM-Index 代码使用了其他索引代码之一中定义的函数。看看Run-Length FM Index .如果它不在那里,请在其他地方闲逛。我很确定这些功能是在某处定义的。

关于compiler-errors - 如何编译FM-Index?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8595045/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com