[xcrysden] problem in compiling Xcrysden
محمد ارشد فرحان
arshadfarhan at hotmail.com
Wed Mar 7 09:31:26 CET 2012
Dear Prof. Kokalj & Xcrysden users, i had been trying to compile the Xcrysden 1.5.24 with the src_all libraries package.after selecting the system, when i try execute the command "make all" , it gives the following two errors: one error with a lot of warnings is : "SyntaxError: invalid syntax
make[5]: *** No rule to make target `depend', needed by `default'. Stop.
make[5]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1'
make[2]: *** [linux] Error 2
make[2]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1'
make[2]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1'
make[3]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src'
make[4]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/glsl'
make[4]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/glsl'
make[4]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/glapi'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/glapi'
make[4]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'
running makedepend
make[4]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'
make[4]: Entering directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'
gcc -c -I../../../include -I../../../src/mapi -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing -DMAPI_ABI_HEADER=\"vgapi/vgapi_tmp.h\" ../../../src/mapi/mapi/entry.c -o entry.o
gcc -c -I../../../include -I../../../src/mapi -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing -DMAPI_ABI_HEADER=\"vgapi/vgapi_tmp.h\" ../../../src/mapi/mapi/mapi.c -o mapi.o
../../../src/mapi/mapi/mapi.c:39: error: ‘MAPI_TABLE_NUM_STATIC’ undeclared here (not in a function)
../../../src/mapi/mapi/mapi.c:39: error: ‘MAPI_TABLE_NUM_DYNAMIC’ undeclared here (not in a function)
make[4]: *** [mapi.o] Error 1
make[4]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'
make[3]: *** [install] Error 1
make[3]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src'
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1'
make[1]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src'
" & the error in the end of comilation is reads : "fft3d.c:4:19: error: fftw3.h: No such file or directory
In file included from fft3d.c:6:
shankland.h:4:30: error: meschach/matrix2.h: No such file or directory
In file included from fft3d.c:6:
shankland.h:49: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:49: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:50: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:50: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:62: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:64: error: expected declaration specifiers or ‘...’ before ‘fftw_complex’
shankland.h:65: error: expected declaration specifiers or ‘...’ before ‘MAT’
shankland.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
shankland.h:69: error: expected declaration specifiers or ‘...’ before ‘MAT’
fft3d.c: In function ‘fft3d_interpolate’:
fft3d.c:88: error: ‘fftw_complex’ undeclared (first use in this function)
fft3d.c:88: error: (Each undeclared identifier is reported only once
fft3d.c:88: error: for each function it appears in.)
fft3d.c:88: error: ‘aux’ undeclared (first use in this function)
fft3d.c:88: error: ‘fftw2’ undeclared (first use in this function)
fft3d.c:89: error: ‘fftw_plan’ undeclared (first use in this function)
fft3d.c:89: error: expected ‘;’ before ‘pfor’
fft3d.c:96: error: expected expression before ‘)’ token
fft3d.c:97: error: expected expression before ‘)’ token
fft3d.c:99: error: ‘pfor’ undeclared (first use in this function)
fft3d.c:99: error: ‘FFTW_ESTIMATE’ undeclared (first use in this function)
fft3d.c:100: error: ‘pbak’ undeclared (first use in this function)
fft3d.c:110: error: too many arguments to function ‘fft3d_enlarge_complex_r2c’
make[2]: *** [fft3d.o] Error 1
make[2]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'
make: *** [src-C] Error 2
" kindly guide me through the compilation as i'm new to Linux. Regards, M. Arshad Farhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20120307/9df0df2a/attachment.htm
More information about the XCrySDen
mailing list