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

Tone Kokalj tone.kokalj at ijs.si
Thu Jun 23 11:58:49 CEST 2011


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
-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html



More information about the XCrySDen mailing list