errors compiling on redhat 7.3
hi,
I have tried using the old make, gcc, binutils and cpp found in the redhat 7.2 package but nothing is changed.
I suppose the problem is the new package glibc-kernheaders-2.4-7.14 found in redhat 7.3 (in redhat 7.2 there was the package kernel-headers-2.4.7-10). by
---------- Original Message ----------------------------------
From: Anders Widman <[email protected]>
Reply-To: [email protected]
Date: Wed, 29 May 2002 01:21:33 +0200
Quoted 100 lines
I had a similar problem with GCC-3.1. It works fine with GCC 3.04.
//Anders
Quoted 94 lines
hi,
I'm only an end-user (not a programmer... so i can't help you a lot).
this is the problem... when i try to install (configure, make, make install) the lvm 1.0.4/1.1 rc2 on my (out of the box) redhat 7.3, i receive an error...[root@unixguest 1.0.4]# ./configure
loading cache ./config.cache
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached)/usr/bin/install-c checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking fordirent.hthat defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes
checking forfcntl.h... (cached) yes
checking formalloc.h... (cached) yes
checking forsys/ioctl.h... (cached) yes
checking forunistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking foroff_t... (cached) yes
checking forpid_t... (cached) yes
checking forsize_t... (cached) yes
checking forst_rdevin struct stat... (cached) yes
checking whethertime.handsys/time.hmay both be included... (cached) yes checking whether gcc needs -traditional... (cached) no
checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes
checking for mkdir... (cached) yes
checking for rmdir... (cached) yes
checking for uname... (cached) yes
creating ./config.status
creatingMakefile
creating make.tmpl
creating PATCHES/Makefile
creatingtools/Makefile
creatingtools/tools_and_lib.make.tmpl
creatingtools/lib/Makefile
creatingtools/man8/Makefile
[root@unixguest 1.0.4]#[root@unixguest 1.0.4]# make
make[1]: Entering directory `/opt/LVM/LVM/1.0.4/tools'
make[2]: Entering directory `/opt/LVM/LVM/1.0.4/tools/lib'
make[3]: Entering directory `/opt/LVM/LVM/1.0.4/tools/lib'
gcc -c -pipe -g -O0 -Wall -DDEBUG -I../../tools/lib -I../../tools -I/opt/LVM/LVM/1.0.4/tools/lib -o basename.obasename.cIn file included from../../tools/lib/liblvm.h:59,from basename.c:34:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
make[3]: *** [basename.o] Error 1
make[3]: Leaving directory `/opt/LVM/LVM/1.0.4/tools/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/LVM/LVM/1.0.4/tools/lib'
make[2]: Entering directory `/opt/LVM/LVM/1.0.4/tools/man8'
make[3]: Entering directory `/opt/LVM/LVM/1.0.4/tools/man8'
make[3]: Leaving directory `/opt/LVM/LVM/1.0.4/tools/man8'
make[2]: Leaving directory `/opt/LVM/LVM/1.0.4/tools/man8'
make[2]: Entering directory `/opt/LVM/LVM/1.0.4/tools'
gcc -c -pipe -g -O0 -Wall -DDEBUG -I../tools/lib -I../tools -I/opt/LVM/LVM/1.0.4/tools/lib -o e2fsadm.oe2fsadm.cIn file included from../tools/lib/liblvm.h:59,from ../tools/lvm_user.h:43, from e2fsadm.c:55:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace make[2]: *** [e2fsadm.o] Error 1
make[2]: Leaving directory `/opt/LVM/LVM/1.0.4/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/LVM/LVM/1.0.4/tools'
make[1]: Entering directory `/opt/LVM/LVM/1.0.4'**********************************
There were errors in your compile.
**********************************make[1]: *** [.touchbuilt] Error 1
make[1]: Leaving directory `/opt/LVM/LVM/1.0.4'
make: *** [all] Error 2
[root@unixguest 1.0.4]#by
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html