2011-12-21 12 views
1

私はFM-Index V2をコンパイルしようとしているが、エラーを取得しています - Mac上とLinuxの両方で:FM-Indexをコンパイルするには?

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 

これを解決する方法は? tarボールはここにある:

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

答えて

1

私はしばらく前にこれを見たので、私の記憶が間違っているかもしれないが、私はFM-インデックスコードは他のインデックスコードのいずれかで定義された関数を使用していますね。 Run-Length FM Indexをご覧ください。それがなければ、どこか別の場所を突っ走る。私は関数がどこかで定義されていることは確かです。

1

機能を再宣言したコードの行を削除しました。それは私のために働いた。 その後、makefileを編集し、-lmフラグを付けて実行ファイルを生成しなければなりませんでした。

関連する問題