<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dear Prof. Kokalj,<BR>i compiled the libraries you told me to but i'm stuck for meschach library.<BR>when i tarred the package, there were many pre-compiled files.<BR>i copied the header files & library into /<font face="Courier New"><strong><u>XCrySDen-1.5.24-src-all/external/include/</u></strong></font> <BR>and<BR>/<font face="Courier New"><strong><u>XCrySDen-1.5.24-src-all/external/lib</u></strong></font><br><BR>directories and tried to compile the package again.<BR>it gave me this error & i defined the value of pi as suggested by you to the questioner (from a previous thread of yours ; <a href="http://www.democritos.it/pipermail/xcrysden/2012-January/001071.html">http://www.democritos.it/pipermail/xcrysden/2012-January/001071.html</a>)<BR> <BR>now it gives the following error:<BR> <BR>"<font style="font-size: 8pt;" size="1" face="Courier New"> -o xcrys -ltk8.5 -L/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/lib -ltcl8.5 -lGLU -lGL -lXmu -lX11 -lXext -lm <br>fft3d.o: In function `fft3d_interpolate':<br>fft3d.c:(.text+0x4a9): undefined reference to `fftw_malloc'<br>fft3d.c:(.text+0x4d1): undefined reference to `fftw_malloc'<br>fft3d.c:(.text+0x4f4): undefined reference to `fftw_plan_dft_r2c_3d'<br>fft3d.c:(.text+0x517): undefined reference to `fftw_plan_dft_c2r_3d'<br>fft3d.c:(.text+0x524): undefined reference to `fftw_execute'<br>fft3d.c:(.text+0x5e3): undefined reference to `fftw_execute'<br>fft3d.c:(.text+0x5ec): undefined reference to `fftw_destroy_plan'<br>fft3d.c:(.text+0x5f5): undefined reference to `fftw_destroy_plan'<br>fft3d.c:(.text+0x5fe): undefined reference to `fftw_free'<br>fft3d.c:(.text+0x607): undefined reference to `fftw_free'<br>shank3d.o: In function `shankland3d_interpolate':<br>shank3d.c:(.text+0x517): undefined reference to `fftw_malloc'<br>shank3d.c:(.text+0x543): undefined reference to `fftw_plan_dft_r2c_3d'<br>shank3d.c:(.text+0x56f): undefined reference to `fftw_plan_dft_c2r_3d'<br>shank3d.c:(.text+0x78f): undefined reference to `fftw_execute'<br>shank3d.c:(.text+0xaac): undefined reference to `fftw_execute'<br>shank3d.c:(.text+0xb08): undefined reference to `fftw_destroy_plan'<br>shank3d.c:(.text+0xb11): undefined reference to `fftw_destroy_plan'<br>shank3d.c:(.text+0xb1a): undefined reference to `fftw_free'<br>shank_Hinv.o: In function `shank_HinvObj':<br>shank_Hinv.c:(.text+0x26): undefined reference to `m_get'<br>shank_Hinv.o: In function `shank_Hinv':<br>shank_Hinv.c:(.text+0x9f): undefined reference to `m_get'<br>shank_Hinv.c:(.text+0x4ab): undefined reference to `m_inverse'<br>shank_Hinv.c:(.text+0x4b4): undefined reference to `m_free'<br>shank_Hinv.o: In function `shank1d_lambda':<br>shank_Hinv.c:(.text+0x69a): undefined reference to `m_free'<br>shank_Hinv.o: In function `shank2d_lambda':<br>shank_Hinv.c:(.text+0x98b): undefined reference to `m_free'<br>shank_Hinv.c:(.text+0x994): undefined reference to `m_free'<br>shank_Hinv.o: In function `shank3d_lambda':<br>shank_Hinv.c:(.text+0xdb9): undefined reference to `m_free'<br>shank_Hinv.o:shank_Hinv.c:(.text+0xdcc): more undefined references to `m_free' follow<br>collect2: ld returned 1 exit status<br>make[2]: *** [xcrys] Error 1<br>make[2]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'<br>make[1]: *** [compile] Error 2<br>make[1]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'<br>make: *** [src-C] Error 2<br></font>"<BR>& one more thing , as i do not have super user rights so i installed fftw library some where else and copied it to <font face="Courier New">/XCrysden..../external/</font> directory. also i have tried copying the<font face="Courier New"> math.h</font> & <font face="Courier New">malloc.h </font>files from the<font face="Courier New"> /usr/local/</font> but no effect.<BR>kindly guide me through .<BR>Regards,<BR>M. Arshad Farhan<br><strong><u> </u></strong><BR><div><div id="SkyDrivePlaceholder"></div>> From: tone.kokalj@ijs.si<br>> To: xcrysden@democritos.it<br>> Date: Fri, 9 Mar 2012 08:12:06 +0100<br>> Subject: Re: [xcrysden] problem in compiling Xcrysden<br>> <br>> On Fri, 2012-03-09 at 14:40 +0900, εΝεΟ ΗΡΤΟ αΡΝΗζ wrote:<br>> > Dear Prof. Kokalj<br>> > as you had guided me, i was able to install both Mesa Library and fftw<br>> > library.<br>> > however, i could not manage to solve the problem for meschach (atleast<br>> > i think i could not) <br>> > the Xcrysden compilation this time gives a relatively small error<br>> > which reads:<br>> > <br>> > "In file included from fft3d.c:6:<br>> > shankland.h:4:30: error: meschach/matrix2.h: No such file or directory<br>> <br>> Which means you either don't have the development version of meschach<br>> library installed or it is installed on non-standard place. If the<br>> latter applies then specify its location to one of the available<br>> *_INCDIR variables in Make.sys. Say, if you have meschach header files<br>> in /home/myself/include/meschach then specify -I/home/myself/include<br>> <br>> Regards, Tone<br>> <br>> -- <br>> Anton Kokalj<br>> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia <br>> (tel: +386-1-477-3523 // fax:+386-1-477-3822)<br>> <br>> Please, if possible, avoid sending me Word or PowerPoint attachments.<br>> See: http://www.gnu.org/philosophy/no-word-attachments.html<br>> <br>> _______________________________________________<br>> XCrySDen mailing list<br>> XCrySDen@democritos.it<br>> http://www.democritos.it/mailman/listinfo/xcrysden<br></div>                                            </div></body>
</html>