[xcrysden] make.sys
mohammad ali mohammadi
m.a.mohammadi86 at gmail.com
Wed Jan 25 19:51:02 CET 2012
hi
Im using ubuntu 11.04 64 bit intel(R) celeron(R)
I use this :
CFLAGS = -ansi -funroll-loops -fPIC -DUSE_FONTS
CC = gcc
#LDLIB = -ldl
MATH = -lm
FFLAGS = -O2
FC = gfortran
and when make all ,this error occurs:
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
shank_Hinv.c:7:27: error: ‘M_PI’ undeclared here (not in a function)
make[2]: *** [shank_Hinv.o] Error 1
make[2]: Leaving directory `/home/mohammad/XCrySDen-1.5.24-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/mohammad/XCrySDen-1.5.24-src-all/C'
make: *** [src-C] Error 2
pleas help me :(
best regards
--
M.Ali.Mohammadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20120125/afb70b37/attachment.htm
More information about the XCrySDen
mailing list