HELP: Problem when using libmetis.a with C code

Dear all,

I download the "metis-4.0.3.tar.gz" and unzip it to my Fedora 15 (X86-64) system. I run "make" under the directory of "metis-4.0.3" and everything looks fine.

Then I compile my code test.c with "gcc test.cpp -L. -lmetis -g -o test". The follow information appears:

test.cpp: In function ‘int main()’:
test.cpp:50:110: error: ‘METIS_WPartGraphKway’ was not declared in this scope

Any suggestion? Thanks a lot!

RE: Please download and use Metis

Please download and use Metis 5.0.