Thanks for fast answer.
recompile with -fPIC I have not idea guide me please.
My files are cpp
That was full command line output :/
Googling gave me no solution which I know how to use...
http://code.google.com/p/gosu/issues/detail?id=38 (http://code.google.com/p/gosu/issues/detail?id=38)
I have g++ 4.4 with multilib
Exec main.cpp
///Headers
#include <cstdlib>
#include <iostream>
#include <string>
///Specials
using namespace std;
///Globals Varuabels
int main(){
return 0;
}
Slib main.cpp
#ifdef __cplusplus
extern "C" {
#endif
// A function adding two integers and returning the result
int SampleAddInt(int i1, int i2)
{
return i1 + i2;
}
// A function doing nothing ;)
void SampleFunction1()
{
// insert code here
}
// A function always returning zero
int SampleFunction2()
{
// insert code here
return 0;
}
#ifdef __cplusplus
}
#endif