[lammps-users] Problem with Lammps_NS

Hi,

I am getting the following errors while “make foo” from the src directory in Ubuntu. The exactly same Makefile.foo works in a Fedora system. I have built the STUBS and have built lammps before. Could you please tell me the reason for the following errors?

fix_adapt.cpp: In member function »virtual void LAMMPS_NS::FixAdapt::pre_force(int)«:
fix_adapt.cpp:182: Fehler: invalid use of incomplete type »struct LAMMPS_NS::Update«
lammps.h:31: Fehler: forward declaration of »struct LAMMPS_NS::Update«
fix_adapt.cpp:186: Fehler: invalid use of incomplete type »struct LAMMPS_NS::Modify«
lammps.h:36: Fehler: forward declaration of »struct LAMMPS_NS::Modify«
fix_adapt.cpp:219: Fehler: invalid use of incomplete type »struct LAMMPS_NS::Modify«
lammps.h:36: Fehler: forward declaration of »struct LAMMPS_NS::Modify«
fix_adapt.cpp:219: Fehler: invalid use of incomplete type »struct LAMMPS_NS::Update«
lammps.h:31: Fehler: forward declaration of »struct LAMMPS_NS::Update«
make[1]: *** [fix_adapt.o] Fehler 1

Regards,
sj