Dear all<br><br>I tried to install the Xcrysden-1.5.21-src-all source code on my fc11 PC. I have already installed ifort10 and icc10. libXmu-devel-1.0.4-2.fc11.i586.rpm is also installed correctly. When I type 'make all' in the root directory of Xcrysden source, tcl and tk went on smoothly, but C code compiling reported the error. Please see the follows:<br>
<br><br>#------------------------------#<br>#                              #<br>#   Compiling XCRYSDEN C-code  #<br>#                              #<br>#------------------------------#<br><br>cd C; make "TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all" compile<br>
make[1]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>make  TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all<br>make[2]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>gcc  -static -ansi -funroll-loops -DUSE_FONTS  detnsplit.o xcAppInit.o xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o xcAtomAdd.o loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDisplayFunc.o readstrf.o mxmymz.o remakestr.o xcSelect.o readisodata.o lighting.o xcGLparam.o colorplane.o isorender.o polygonise.o polygonise_auxil.o xcIsoSurf.o voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o memory.o isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o isoline.o xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o xcIsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o signal.o MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o cryDispFunc.o cryDispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o cryTransform.o cryClip.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o ppmPrintTogl.o lcasi.o lcasif.o xcFont.o fog.o writeXSF.o hbonds.o xcHBonds.o linear.o realTimeMovie.o getline.o togl.o gl2ps.o sgiRasterFont.o sgiAux.o \<br>
    -o xcrys /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtk8.5.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtcl8.5.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGLU.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGL.a -L/usr/lib/X11/xdm/ -lXmu -lX11 -lXext -lpthread -lm -ldl <br>
/usr/bin/ld: cannot find -lXmu<br>collect2: ld returned 1 exit status<br>make[2]: *** [xcrys] Error 1<br>make[2]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>make[1]: *** [compile] Error 2<br>make[1]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>
make: *** [src-C] Error 2<br><br><br>Considering that the the X11 lib may not be found so I made some changes to the Make.sys, where I replaced the line "X_LIB     = -L/usr/lib/X11/xdm -lXmu -lX11 -lXext -lpthread" with "X_LIB     = /usr/lib/X11/xdm/libXdmGreet.so -lXmu -lX11 -lXext -lpthread". Because I installed X11 already.<br>
<br>Then type "make all", again. But error occurs again:<br><br>#------------------------------#<br>#                              #<br>#   Compiling XCRYSDEN C-code  #<br>#                              #<br>#------------------------------#<br>
<br>cd C; make "TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all" compile<br>make[1]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>make  TOPDIR=/home/jy/Download/XCrySDen-1.5.21-src-all<br>
make[2]: Entering directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>gcc  -static -ansi -funroll-loops -DUSE_FONTS  detnsplit.o xcAppInit.o xcballstick.o xcviewport.o xcLabels.o vectors.o xcDisplayFunc2.o xcAtomAdd.o loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDisplayFunc.o readstrf.o mxmymz.o remakestr.o xcSelect.o readisodata.o lighting.o xcGLparam.o colorplane.o isorender.o polygonise.o polygonise_auxil.o xcIsoSurf.o voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o memory.o isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o isoline.o xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o xcIsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o signal.o MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o cryDispFunc.o cryDispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o cryTransform.o cryClip.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o ppmPrintTogl.o lcasi.o lcasif.o xcFont.o fog.o writeXSF.o hbonds.o xcHBonds.o linear.o realTimeMovie.o getline.o togl.o gl2ps.o sgiRasterFont.o sgiAux.o \<br>
    -o xcrys /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtk8.5.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libtcl8.5.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGLU.a /home/jy/Download/XCrySDen-1.5.21-src-all/external/lib/libGL.a /usr/lib/X11/xdm/libXdmGreet.so -lXmu -lX11 -lXext -lpthread -lm -ldl <br>
/usr/bin/ld: attempted static link of dynamic object `/usr/lib/X11/xdm/libXdmGreet.so'<br>collect2: ld returned 1 exit status<br>make[2]: *** [xcrys] Error 1<br>make[2]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>
make[1]: *** [compile] Error 2<br>make[1]: Leaving directory `/home/jy/Download/XCrySDen-1.5.21-src-all/C'<br>make: *** [src-C] Error 2<br><br><br>At this time, it seems hard for me to find out the specific error for the compiling. What's wrong with  the X11 lib or some other libs? Thank you in advance.<br>
<br>BTW, the Make.sys file is attached.<br clear="all"><br>-- <br>Sincerely yours<br><br>Jiaye Li<br><br>