there is something I must be missing, I have no problem compiling the module and the set of fvModels, so there is a no link problem at that time. When I run foamRun I guess it compiles what needed using library available in openFoam. I'll try to find how to add library at compile time