Problem install user-reaxc package

Dear Users & Developers
I have a problem during compile Lammps with user-reaxc package. I had
compiled Lammps without user-reaxc and I did not any problem, but I
need to add reaxc to my lmp_linux. I add user-reaxc by "make
yes-user-reaxc" and then compile Lammps.
this is the error that i couldn't solve it. please help me to solve it.

fix_qeq_reax.cpp(48): warning #47: incompatible redefinition of macro
"DANGER_ZONE" (declared at line 100 of "reaxc_defs.h")
  #define DANGER_ZONE 0.95
          ^
fix_qeq_reax.cpp(49): warning #47: incompatible redefinition of macro
"LOOSE_ZONE" (declared at line 101 of "reaxc_defs.h")
  #define LOOSE_ZONE 0.7
          ^
fix_qeq_reax.cpp(638): warning #181: argument is incompatible with
corresponding format string conversion
      sprintf(str,"Fix qeq/reax CG convergence failed after %d
iterations at %d step",i,update->ntimestep);

                 ^
fix_qeq_reax.cpp(776): error: declaration is incompatible with "void
LAMMPS_NS::FixQEqReax::copy_arrays(int, int, int)" (declared at line
127 of "fix_qeq_reax.h")
  void FixQEqReax::copy_arrays(int i, int j)
                   ^
compilation aborted for fix_qeq_reax.cpp (code 2)
make[1]: *** [fix_qeq_reax.o] Error 2
make[1]: Leaving directory
`/home/sanam/Desktop/new-vrooni/lammps-9Feb13-with
REAX/src/Obj_linuxmpi'
make: *** [linuxmpi] Error 2

Thanks
Hadi

if you compile a new lammps binary, always update to the latest version first.

axel.

In lammps/src/ write:
make yes-user-reaxc
make openmpi

NB: the second command, only if you use parallel computer

2013/3/28 Hadi Sedaghat <[email protected]…24…>

Dear Nicola
I used mpich2. I just do “make yes-user-reaxc” and then compile Lammps.
But I have the errors.
Thanks

Dear Nicola
I used mpich2. I just do "make yes-user-reaxc" and then compile Lammps.
But I have the errors.

and it won't go away unless you follow the advice that you've been given!!
there have been updates to the user reaxc package that are newer than
your feb 9 version and those should fix the problem that you are
seeing.

axel.