undefined reference to `_HMETIS_PartRecursive' problem


I am trying to call the HMETIS_PartRecursive function in my c++ code, but cannot find the necessary function in the library libhmetis.a.

I declared this function as extern "C", and added the library to the linker, but still receive the undefined-reference error.

BTW, I am using Cygwin under Windows XP. The version of gcc/g++ is 3.3.3.

I appreciate it very much if anyone can help me solve this linking problem. Thank you very much.

RE: I'm having the same problem!

I'm having the same problem! This worked in UNIX but I'm trying to get it to work using mingw under Windows Vista. Anybody know how to get around this problem?