[linux-lvm] Configure error

Rocky rocky_lee at proware.com.tw
Mon Nov 8 10:09:01 UTC 2004


Dear all

when I use cross compiler to configure LVM, 
but I got the following warning message

checking asm/byteorder.h usability... no
checking asm/byteorder.h presence... yes
configure: WARNING: asm/byteorder.h: present but cannot be compiled
configure: WARNING: asm/byteorder.h: check for missing prerequisite
headers?
configure: WARNING: asm/byteorder.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for asm/byteorder.h... yes
checking linux/fs.h usability... no
checking linux/fs.h presence... yes
configure: WARNING: linux/fs.h: present but cannot be compiled
configure: WARNING: linux/fs.h: check for missing prerequisite headers?
configure: WARNING: linux/fs.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING: Disabling selinux

Compiler with 2.6.7 kernel didn't show this error.
does someone know what cause this?

Kernel                : 2.6.9
device mapper : 1.00.19
gcc                     : 3.3.4
glibc                   : 2.3.2

Thank you!
Rocky

detail configure
-------------------------------------------------------------------------------------------------------------------------

[root at localhost LVM2.2.00.25]# CC=i386-linux-gcc ./configure
--target=${TARGET}
--with-kernel_dir=${PRJROOT}/build-tools/linux-${KERNEL_VERSION}
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i386-pc-linux-gnu
checking for gawk... gawk
checking for gcc... i386-linux-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i386-linux-gcc accepts -g... yes
checking for i386-linux-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 whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... i386-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking asm/byteorder.h usability... no
checking asm/byteorder.h presence... yes
configure: WARNING: asm/byteorder.h: present but cannot be compiled
configure: WARNING: asm/byteorder.h: check for missing prerequisite
headers?
configure: WARNING: asm/byteorder.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for asm/byteorder.h... yes
checking linux/fs.h usability... no
checking linux/fs.h presence... yes
configure: WARNING: linux/fs.h: present but cannot be compiled
configure: WARNING: linux/fs.h: check for missing prerequisite headers?
configure: WARNING: linux/fs.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/fs.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for gethostname... yes
checking for getpagesize... yes
checking for memset... yes
checking for munmap... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing
slash... yes
checking whether lstat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking whether stat accepts an empty string... no
checking for working strtod... yes
checking file owner... root
checking group owner... root
checking whether to enable lvm1 fallback... no
checking whether to include support for lvm1 metadata... internal
checking whether to include support for GFS pool metadata... internal
checking whether to include support for cluster locking... internal
checking whether to include snapshots... internal
checking whether to include mirrors... internal
checking whether to use static linking... no
checking whether to enable readline... no
checking whether to enable selinux support... yes
checking whether to build cluster LVM daemon... no
checking whether to enable debugging... no
checking for C optimisation flag... -O2
checking whether to use device-mapper... yes
checking whether to enable O_DIRECT... yes
checking whether to compile liblvm2cmd.so... no
checking whether to build fsadm... no
checking whether i386-linux-gcc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for mkdir... yes
checking for rmdir... yes
checking for uname... yes
checking for dlopen in -ldl... yes
checking for is_selinux_enabled function... checking for
is_selinux_enabled in
-lselinux... no
no
configure: WARNING: Disabling selinux
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking whether to enable internationalisation... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for socket... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating make.tmpl
config.status: creating daemons/Makefile
config.status: creating daemons/clvmd/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/format1/Makefile
config.status: creating lib/format_pool/Makefile
config.status: creating lib/locking/Makefile
config.status: creating lib/mirror/Makefile
config.status: creating lib/snapshot/Makefile
config.status: creating man/Makefile
config.status: creating po/Makefile
config.status: creating tools/Makefile
config.status: creating tools/version.h
config.status: creating tools/fsadm/Makefile
config.status: creating test/mm/Makefile
config.status: creating test/device/Makefile
config.status: creating test/format1/Makefile
config.status: creating test/regex/Makefile
config.status: creating test/filters/Makefile

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20041108/a9ac3a1b/attachment.htm>


More information about the linux-lvm mailing list