From: dwerder@... (Dominik Werder) Date: 2004-09-09T19:25:03+09:00 Subject: Re: Extending ruby with crypto++ Found it, the keyword is extern instead of export, but I solved it as you said: just said extern "C" int myfunc() { .. } If I put the extern statement into the header file, the gcc complains. So I removed it from the header file and also had to remove the #incude from the cpp file, because the declarations are not the same, obviously, but it works! bye! Dominik