[lammps-users] make serial error

Dear Lammps Users,

I unstalled LAMMPS and reinstalled the 29Oct20 lammps stable version.
From the src when i tried make serial it is showing the following error:
Makefile:109: recipe for target ‘main.o’ failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory ‘/home/intel/Downloads/lammps-29Oct20/src/Obj_serial’
Makefile:195: recipe for target ‘serial’ failed
make: *** [serial] Error 2

I have attached the screenshot. I followed the same procedure before uninstalling and i didnt face
any error. any suggestions on this please

The screenshot shows nothing from a compilation, but an output from a run.

please make certain that you do a “make clean-all” and “make purge” before “make serial”
also make certain that you have no modifications to MAKE/Makefile.serial and no modified copy of Makefile.serial in any of the other subdirectories under MAKE.


when having trouble compiling, please always report what operating system and compiler and compiler version you use.

if you are not comfortable/familiar with modifying makefiles, please consider compiling using the CMake method instead of the conventional make procedure.