[xcrysden] The issue of compiling XCrySDen-1.5.24-src-all on Debian squeeze.

Hongsheng Zhao zhaohscas at yahoo.com.cn
Thu Jun 23 13:44:04 CEST 2011


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.
>>
>> 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
>
> Regards, Tone

Thanks a lot, it does the trick.

Best.
-- 
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