Adding my own class to root enviroment

I have programmed a class, my intention is to be able to fill a branch from a tree giving as parameter my class.
I have followed the instructions to implement a class in root that I saw in

I have no problems compiling the class, but when I am linking with an executable I get the next error.

/afs/ In function __static_initialization_and_destruction_0(int, int)': : undefined reference toROOT::GenerateInitInstance(mMPulse const*)’
/afs/ undefined reference to mMPulse::ShowMembers(TMemberInspector&, char*)' /afs/ undefined reference tomMPulse::Streamer(TBuffer&)’
/afs/ In function mMPulse::IsA() const': : undefined reference tomMPulse::Class()'
collect2: ld returned 1 exit status
make: *** [/afs/] Error 1

Could you help me??

you missed the step to generate the dictionary or to compile and link it. See e.g. or the relevant part of the users guide.
Cheers, Axel.