[xcrysden] The issue of compiling XCrySDen-1.5.24-src-all on Debian squeeze.
Hongsheng Zhao
zhaohscas at yahoo.com.cn
Thu Jun 23 14:10:45 CEST 2011
On 06/23/2011 07:44 PM, Hongsheng Zhao wrote:
> On 06/23/2011 05:58 PM, Tone Kokalj wrote:
>> On Thu, 2011-06-23 at 17:55 +0800, Hongsheng Zhao wrote:
>>> On 06/23/2011 05:18 PM, Tone Kokalj wrote:
>>>> On Sat, 2011-06-18 at 17:29 +0800, Hongsheng Zhao wrote:
>>>>> Dear Prof. Tone,
>>>>>
>>>>> I'm trying to compiling XCrySDen-1.5.24-src-all on Debian squeeze.
>>>>> I use the Make.linux-semishared as the Make.sys.
>>>>>
>>>>> When I type the *make all*, I meet the following errors:
>>>>>
>>>>>
>>>>> --------
>>>>> In file included from /usr/include/meschach/matrix2.h:35:0,
>>>>> from shankland.h:4,
>>>>> from fft3d.c:6:
>>>>> /usr/include/meschach/matrix.h:49:3: error: unknown type name ‘u_int’
>>>>
>>>> Delete the "-ansi" flag from the CFLAGS in Make.sys and it should work.
Though I've compiled the XCrySDen-1.5.24-src-all successfully according
to your valuable advice. But still I cann't understand these options
very clearly, could you please give me some hints? Why must I delete
the "-ansi" flag in order to compile it successfully? If we don't need
this option at all, why not delete it from the original example Make.sys
files supplied by you?
>>>
>>> I've compiled it according to your above advice, but this time I meet
>>> the the following errors:
>>
>> Add these to your Make.sys
>>
>> FFTW3_LIB = -lfftw3
>> MESCHACH_LIB = -lmeschach
Again, why must add these two lines? It is too difficult for me to
figure out this solution.
Regards.
--
Hongsheng Zhao <zhaohscas at yahoo.com.cn>
School of Physics and Electrical Information Science,
Ningxia University, Yinchuan 750021, China
More information about the XCrySDen
mailing list