Dear All , I have a problem after configuring ./configure when I try to make all I got the following error (cygwin): Mohamed@HomeWork ~/htk $ ./configure checking whether make sets $(MAKE)... yes checking for gawk... gawk checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for ar... ar checking for main in -lX11... no checking for main in -lm... yes checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking how to get verbose linking output from g77... -v checking for Fortran libraries of g77... -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lm -lfrtbegin -lg2c -lcygwin -luser3 2 -lkernel32 -ladvapi32 -lshell32 checking how to run the C preprocessor... gcc -E checking for X... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for floor... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for modf... yes checking for pow... yes checking for socket... yes checking for sqrt... yes checking for strchr... yes checking for strcspn... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strdup... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking whether byte ordering is bigendian... no checking for int *... yes checking size of int *... 4 configure: creating ./config.status config.status: creating HTKLib/Makefile config.status: creating HTKTools/Makefile config.status: creating HLMLib/Makefile config.status: creating HLMTools/Makefile config.status: creating HTKLVRec/Makefile config.status: creating Makefile ************************************************** HTK is now ready to be built. Type "make all" to build the HTK libraries and tools. Then "make install" to install them. The tools will be installed in /usr/local/HTS-2.1/bin Build notes: The Language Modelling tools will not be built. You can build them manually later by running 'make hlmtools install-hlmtools'. HDecode will not be built. You can build it manually later by running 'make hdecode install-hdecode'. ************************************************** Mohamed@HomeWork ~/htk $ make all (cd HTKTools && make all) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; make[1]: Entering directory `/home/Mohamed/htk/HTKTools' if [ ! -d /usr/local/HTS-2.1/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/HTS- 2.1/bin ; fi if [ xHSLab = xHSLab ] ; then \ gcc -o HSLab -I../HTKLib -ansi -DCYGWIN -D'ARCH="ASCII"' -Wall - Wno-switch -g -O2 -D_HAS_FORTRAN HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib - lm -lX11 ; \ elif [ xHSLab = xHMGenS ] ; then \ gcc -o HSLab -I../HTKLib -ansi -DCYGWIN -D'ARCH="ASCII"' -Wall - Wno-switch -g -O2 -D_HAS_FORTRAN HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib - lm -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../. ./.. -lm -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 ; \ else \ gcc -o HSLab -I../HTKLib -ansi -DCYGWIN -D'ARCH="ASCII"' -Wall - Wno-switch -g -O2 -D_HAS_FORTRAN HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib - lm ; fi /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[1]: *** [HSLab] Error 1 make[1]: Leaving directory `/home/Mohamed/htk/HTKTools' make: *** [htktools] Error 1 check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages |