|
I was doing as told by manual when the following err occured:
[lfs@localhost findutils-4.1]$ CPPFLAGS="-Dre_max_failures=\
re_max_failures2" LDFLAGS="-static" ./configure --prefix=/mnt/lfs/static
loading cache ./config.cache
checking for gcc... gcc-s
checking whether we are using GNU C... no
checking how to run the C preprocessor... /lib/cpp
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether make sets $MAKE... yes
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for -lsun... no
checking for fcntl.h... yes
checking for string.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking whether cross-compiling... yes
checking for ANSI C header files... no
checking whether sys/types.h defines makedev... no
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for -lx... no
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking how to get filesystem type... 4.3BSD
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for pid_t... yes
checking for ino_t... yes
checking for dev_t... yes
checking for st_blocks in struct stat... no
checking for st_rdev in struct stat... no
checking whether struct tm is in sys/time.h or time.h... sys/time.h
checking for tm_zone in struct tm... no
checking for tzname... no
checking for working const... no
checking for memcmp... no
checking for memset... no
checking for mktime... no
checking for stpcpy... no
checking for strdup... no
checking for strftime... no
checking for strspn... no
checking for strstr... no
checking for strtol... no
checking for fchdir... no
checking for getcwd... no
checking for strerror... no
checking for -lintl... no
checking for strftime... (cached) no
checking for vprintf... no
checking for _doprnt... no
checking for working alloca.h... no
checking for alloca... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... 0
checking for -lsun... (cached) no
checking for -lseq... no
checking for getmntent... no
checking whether closedir returns void... configure: error: can not run test program while cross compiling
[lfs@localhost findutils-4.1]$
what is the matter? |
|