hi <br>Im using ubuntu 11.04 64 bit intel(R) celeron(R) <br>I use this :<br><br>CFLAGS = -ansi -funroll-loops -fPIC -DUSE_FONTS<br>CC = gcc<br>#LDLIB = -ldl<br>MATH = -lm<br><br>FFLAGS = -O2<br>FC = gfortran<br>
<br>and when make all ,this error occurs:<br> <br>gcc -ansi -funroll-loops -fPIC -DUSE_FONTS -DUSE_FONTS -I/home/mohammad/XCrySDen-1.5.24-src-all/external/src/tcl8.5.9/generic -I/home/mohammad/XCrySDen-1.5.24-src-all/external/src/tk8.5.9/generic -I/home/mohammad/XCrySDen-1.5.24-src-all/external/include -I/usr/include -c shank_Hinv.c<br>
shank_Hinv.c:7:27: error: ‘M_PI’ undeclared here (not in a function)<br>make[2]: *** [shank_Hinv.o] Error 1<br>make[2]: Leaving directory `/home/mohammad/XCrySDen-1.5.24-src-all/C'<br>make[1]: *** [compile] Error 2<br>
make[1]: Leaving directory `/home/mohammad/XCrySDen-1.5.24-src-all/C'<br>make: *** [src-C] Error 2<br><br>pleas help me :(<br><br>best regards<br><br clear="all"><br>-- <br><div style="text-align:left">M.Ali.Mohammadi<br>
<br></div><br>