[lammps-users] Problem installing and making lammps

I am using cygwin for installing and running Lammps.

When I am typing “make cygwin”

it appears an error that I haven’t been able to solve,

If somebody knows how to solve it, please help me.

The following is what appears when I run the makefile:

"/home/mek2/lammps/mpich2-1.3.2p1/lib/libmpich.a(strerror.o):strerror.c:(text+0x28): undefined reference to ‘__xpg_strerror_r’
collect2: ld returned 1 exit status
make[2]: ***[cpi] Error 1

make[2]: Leaving directory ‘/home/mek2/lammps/mpich2-1.3.2p1/examples’

make[1]: ***[all-postamble] Error 2

make[1]: Leaving directory ‘/home/mek2/lammps/mpich2-1.3.2p1’
make: *** [all-redirect] Error 2"

I have checked the strerror.c but I didn’t find nothing wrong in the code.
This may due to the MPICH2 that I have make previously and in it also appears the same error.

I look forward for an answer to my problem,

Thanks in advance,

Gemma

gemma,

I am using cygwin for installing and running Lammps.

When I am typing "make cygwin"

it appears an error that I haven't been able to solve,

If somebody knows how to solve it, please help me.

The following is what appears when I run the makefile:

"/home/mek2/lammps/mpich2-1.3.2p1/lib/libmpich.a(strerror.o):strerror.c:(text+0x28):
undefined reference to '__xpg_strerror_r'
collect2: ld returned 1 exit status
make[2]: ***[cpi] Error 1
make[2]: Leaving directory '/home/mek2/lammps/mpich2-1.3.2p1/examples'
make[1]: ***[all-postamble] Error 2
make[1]: Leaving directory '/home/mek2/lammps/mpich2-1.3.2p1'
make: *** [all-redirect] Error 2"

this is not an error from "make cygwin" from the lammps sources,
but an error from compiling something in an mpich2 tree. that has
nothing to do with lammps.

I have checked the strerror.c but I didn't find nothing wrong in the code.
This may due to the MPICH2 that I have make previously and in it also
appears the same error.

that looks like an mpich problem. can't help you with that.

axel