CFDEM compliling error

Submitted by zengjunsheng on Sat, 10/19/2013 - 17:35

Everything goes well before I type "cfdemCompCFDEM" in the terminal. I can run both OpenFOAM examples and LIGGGHTS examples successfully.
But errors occur during the CFDEM compiling below:
##################################################################
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H: In member function ‘const T& Foam::autoPtr::operator()() const [with T = Foam::clockModel]’:
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:163:23: instantiated from ‘Foam::autoPtr::operator const T&() const [with T = Foam::clockModel]’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloudI.H:192:12: instantiated from here
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:150:9: error: invalid use of incomplete type ‘struct Foam::clockModel’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:69:7: error: forward declaration of ‘struct Foam::clockModel’
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H: In member function ‘const T& Foam::autoPtr::operator()() const [with T = Foam::smoothingModel]’:
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:163:23: instantiated from ‘Foam::autoPtr::operator const T&() const [with T = Foam::smoothingModel]’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloudI.H:197:12: instantiated from here
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:150:9: error: invalid use of incomplete type ‘struct Foam::smoothingModel’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:70:7: error: forward declaration of ‘struct Foam::smoothingModel’
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H: In member function ‘const T& Foam::autoPtr::operator()() const [with T = Foam::meshMotionModel]’:
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:163:23: instantiated from ‘Foam::autoPtr::operator const T&() const [with T = Foam::meshMotionModel]’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloudI.H:202:12: instantiated from here
/home/ciel/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/autoPtrI.H:150:9: error: invalid use of incomplete type ‘struct Foam::meshMotionModel’
/home/ciel/CFDEM/CFDEMcoupling-PUBLIC-2.2.x/src/lagrangian/cfdemParticle/lnInclude/cfdemCloud.H:72:7: error: forward declaration of ‘struct Foam::meshMotionModel’
make: *** [Make/linuxGccDPOpt/cfdemPostproc.o] Error 1
########################################################################

I don't know what's wrong with the problem, I appreciate your help.