[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What's This? configure: WARNING: linux/ext2_fs.h: present but cannot be
From: |
E Young |
Subject: |
What's This? configure: WARNING: linux/ext2_fs.h: present but cannot be compiled |
Date: |
Fri, 19 Dec 2003 12:22:35 -0700 |
Briefly here's the situation that caused the warning:
Recently did a clean install of SuSE 9.0 (pro). Trying to install DAR 2.0.3
from src. Previously was able to install DAR on SuSE 8.1 (pro)sucessfully. Now
./configure and make both give errors. Requirements for installation met.
So far, this only attmpt since new distro install - would like to know future
installs will work. Note: New to Linux. Would appreciate any help with this
prob - will never figure it out on my own! Thanks for reading!
address@hidden:~/Dar/dar-2.0.3> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking whether make sets $(MAKE)... (cached) yes
checking for deflate in -lz... yes
checking for BZ2_bzCompress in -lbz2... yes
checking for socket in -lsocket... no
checking for endnetconfig in -lnsl... no
checking for static linking with libdl... available
checking for dlsym in -ldl... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.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 termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/stat.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
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 struct stat.st_rdev... yes
checking whether sys_siglist is declared... no
checking for size_t... (cached) yes
checking for size_t... (cached) yes
checking size of size_t... 4
checking for time_t... yes
checking for time_t... (cached) yes
checking size of time_t... 4
checking for off_t... (cached) yes
checking for off_t... (cached) yes
checking size of off_t... 4
checking for working POSIX fnmatch... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... (cached) yes
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... no
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking whether lstat dereferences a symlink specified with a trailing
slash... yes
checking whether lstat accepts an empty string... no
checking whether sys/types.h defines makedev... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking whether utime accepts a null argument... no
checking whether time.h and sys/time.h may both be included... yes
checking for lchown... yes
checking for mkdir... yes
checking for regcomp... yes
checking for rmdir... yes
checking for strerror... yes
checking for utime... yes
checking linux/ext2_fs.h usability... no
checking linux/ext2_fs.h presence... yes
configure: WARNING: linux/ext2_fs.h: present but cannot be compiled
configure: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?
configure: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for linux/ext2_fs.h... yes
checking for inttypes.h... (cached) yes
checking for upx... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating src/libdar/Makefile
config.status: creating src/dar_suite/Makefile
config.status: creating src/testing/Makefile
config.status: creating src/examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/samples/Makefile
config.status: creating misc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
address@hidden:~/Dar/dar-2.0.3>
address@hidden:~/Dar/dar-2.0.3> make
make all-recursive
make[1]: Entering directory `/home/usrname/Dar/dar-2.0.3'
Making all in man
make[2]: Entering directory `/home/usrname/Dar/dar-2.0.3/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/usrname/Dar/dar-2.0.3/man'
Making all in src
make[2]: Entering directory `/home/usrname/Dar/dar-2.0.3/src'
Making all in libdar
make[3]: Entering directory `/home/usrname/Dar/dar-2.0.3/src/libdar'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT catalogue.lo -MD -MP -MF ".deps/catalogue.Tpo" \
-c -o catalogue.lo `test -f 'catalogue.cpp' || echo './'`catalogue.cpp; \
then mv -f ".deps/catalogue.Tpo" ".deps/catalogue.Plo"; \
else rm -f ".deps/catalogue.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT catalogue.lo -MD -MP -MF
.deps/catalogue.Tpo -c catalogue.cpp -fPIC -DPIC -o .libs/catalogue.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT catalogue.lo -MD -MP -MF
.deps/catalogue.Tpo -c catalogue.cpp -o catalogue.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT compressor.lo -MD -MP -MF ".deps/compressor.Tpo" \
-c -o compressor.lo `test -f 'compressor.cpp' || echo './'`compressor.cpp; \
then mv -f ".deps/compressor.Tpo" ".deps/compressor.Plo"; \
else rm -f ".deps/compressor.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT compressor.lo -MD -MP -MF
.deps/compressor.Tpo -c compressor.cpp -fPIC -DPIC -o .libs/compressor.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT compressor.lo -MD -MP -MF
.deps/compressor.Tpo -c compressor.cpp -o compressor.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT deci.lo -MD -MP -MF ".deps/deci.Tpo" \
-c -o deci.lo `test -f 'deci.cpp' || echo './'`deci.cpp; \
then mv -f ".deps/deci.Tpo" ".deps/deci.Plo"; \
else rm -f ".deps/deci.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT deci.lo -MD -MP -MF .deps/deci.Tpo
-c deci.cpp -fPIC -DPIC -o .libs/deci.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT deci.lo -MD -MP -MF .deps/deci.Tpo
-c deci.cpp -o deci.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT defile.lo -MD -MP -MF ".deps/defile.Tpo" \
-c -o defile.lo `test -f 'defile.cpp' || echo './'`defile.cpp; \
then mv -f ".deps/defile.Tpo" ".deps/defile.Plo"; \
else rm -f ".deps/defile.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT defile.lo -MD -MP -MF
.deps/defile.Tpo -c defile.cpp -fPIC -DPIC -o .libs/defile.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT defile.lo -MD -MP -MF
.deps/defile.Tpo -c defile.cpp -o defile.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT ea.lo -MD -MP -MF ".deps/ea.Tpo" \
-c -o ea.lo `test -f 'ea.cpp' || echo './'`ea.cpp; \
then mv -f ".deps/ea.Tpo" ".deps/ea.Plo"; \
else rm -f ".deps/ea.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT ea.lo -MD -MP -MF .deps/ea.Tpo -c
ea.cpp -fPIC -DPIC -o .libs/ea.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT ea.lo -MD -MP -MF .deps/ea.Tpo -c
ea.cpp -o ea.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT ea_filesystem.lo -MD -MP -MF ".deps/ea_filesystem.Tpo" \
-c -o ea_filesystem.lo `test -f 'ea_filesystem.cpp' || echo
'./'`ea_filesystem.cpp; \
then mv -f ".deps/ea_filesystem.Tpo" ".deps/ea_filesystem.Plo"; \
else rm -f ".deps/ea_filesystem.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT ea_filesystem.lo -MD -MP -MF
.deps/ea_filesystem.Tpo -c ea_filesystem.cpp -fPIC -DPIC -o
.libs/ea_filesystem.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT ea_filesystem.lo -MD -MP -MF
.deps/ea_filesystem.Tpo -c ea_filesystem.cpp -o ea_filesystem.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT erreurs.lo -MD -MP -MF ".deps/erreurs.Tpo" \
-c -o erreurs.lo `test -f 'erreurs.cpp' || echo './'`erreurs.cpp; \
then mv -f ".deps/erreurs.Tpo" ".deps/erreurs.Plo"; \
else rm -f ".deps/erreurs.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT erreurs.lo -MD -MP -MF
.deps/erreurs.Tpo -c erreurs.cpp -fPIC -DPIC -o .libs/erreurs.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT erreurs.lo -MD -MP -MF
.deps/erreurs.Tpo -c erreurs.cpp -o erreurs.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT etage.lo -MD -MP -MF ".deps/etage.Tpo" \
-c -o etage.lo `test -f 'etage.cpp' || echo './'`etage.cpp; \
then mv -f ".deps/etage.Tpo" ".deps/etage.Plo"; \
else rm -f ".deps/etage.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT etage.lo -MD -MP -MF
.deps/etage.Tpo -c etage.cpp -fPIC -DPIC -o .libs/etage.o
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT etage.lo -MD -MP -MF
.deps/etage.Tpo -c etage.cpp -o etage.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT filesystem.lo -MD -MP -MF ".deps/filesystem.Tpo" \
-c -o filesystem.lo `test -f 'filesystem.cpp' || echo './'`filesystem.cpp; \
then mv -f ".deps/filesystem.Tpo" ".deps/filesystem.Plo"; \
else rm -f ".deps/filesystem.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT filesystem.lo -MD -MP -MF
.deps/filesystem.Tpo -c filesystem.cpp -fPIC -DPIC -o .libs/filesystem.o
In file included from /usr/include/linux/ext2_fs_sb.h:19,
from /usr/include/linux/ext2_fs.h:20,
from filesystem.cpp:83:
/usr/include/linux/blockgroup_lock.h: In function `void
bgl_lock_init(blockgroup_lock*)':
/usr/include/linux/blockgroup_lock.h:48: error: `spin_lock_init' undeclared
(first use this function)
/usr/include/linux/blockgroup_lock.h:48: error: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from /usr/include/linux/ext2_fs_sb.h:20,
from /usr/include/linux/ext2_fs.h:20,
from filesystem.cpp:83:
/usr/include/linux/percpu_counter.h: In function `void
percpu_counter_mod(percpu_counter*, long int)':
/usr/include/linux/percpu_counter.h:75: error: `preempt_disable' undeclared
(first use this function)
/usr/include/linux/percpu_counter.h:77: error: `preempt_enable' undeclared
(first use this function)
make[3]: *** [filesystem.lo] Error 1
make[3]: Leaving directory `/home/usrname/Dar/dar-2.0.3/src/libdar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/usrname/Dar/dar-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/usrname/Dar/dar-2.0.3'
make: *** [all] Error 2
address@hidden:~/Dar/dar-2.0.3>
linux:/home/usrname/Dar/dar-2.0.3 # make install-strip
make INSTALL_PROGRAM="/bin/sh /home/usrname/Dar/dar-2.0.3/install-sh -c -s" \
INSTALL_STRIP_FLAG=-s \
`test -z 'strip' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install
make[1]: Entering directory `/home/usrname/Dar/dar-2.0.3'
Making install in man
make[2]: Entering directory `/home/usrname/Dar/dar-2.0.3/man'
make[3]: Entering directory `/home/usrname/Dar/dar-2.0.3/man'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/man/man1
/usr/bin/install -c -m 644 ./dar.1 /usr/local/man/man1/dar.1
/usr/bin/install -c -m 644 ./dar_manager.1 /usr/local/man/man1/dar_manager.1
/usr/bin/install -c -m 644 ./dar_slave.1 /usr/local/man/man1/dar_slave.1
/usr/bin/install -c -m 644 ./dar_xform.1 /usr/local/man/man1/dar_xform.1
/usr/bin/install -c -m 644 ./dar_cp.1 /usr/local/man/man1/dar_cp.1
make[3]: Leaving directory `/home/usrname/Dar/dar-2.0.3/man'
make[2]: Leaving directory `/home/usrname/Dar/dar-2.0.3/man'
Making install in src
make[2]: Entering directory `/home/usrname/Dar/dar-2.0.3/src'
Making install in libdar
make[3]: Entering directory `/home/usrname/Dar/dar-2.0.3/src/libdar'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
-O -MT filesystem.lo -MD -MP -MF ".deps/filesystem.Tpo" \
-c -o filesystem.lo `test -f 'filesystem.cpp' || echo './'`filesystem.cpp; \
then mv -f ".deps/filesystem.Tpo" ".deps/filesystem.Plo"; \
else rm -f ".deps/filesystem.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O -MT filesystem.lo -MD -MP -MF
.deps/filesystem.Tpo -c filesystem.cpp -fPIC -DPIC -o .libs/filesystem.o
In file included from /usr/include/linux/ext2_fs_sb.h:19,
from /usr/include/linux/ext2_fs.h:20,
from filesystem.cpp:83:
/usr/include/linux/blockgroup_lock.h: In function `void
bgl_lock_init(blockgroup_lock*)':
/usr/include/linux/blockgroup_lock.h:48: error: `spin_lock_init' undeclared
(first use this function)
/usr/include/linux/blockgroup_lock.h:48: error: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from /usr/include/linux/ext2_fs_sb.h:20,
from /usr/include/linux/ext2_fs.h:20,
from filesystem.cpp:83:
/usr/include/linux/percpu_counter.h: In function `void
percpu_counter_mod(percpu_counter*, long int)':
/usr/include/linux/percpu_counter.h:75: error: `preempt_disable' undeclared
(first use this function)
/usr/include/linux/percpu_counter.h:77: error: `preempt_enable' undeclared
(first use this function)
make[3]: *** [filesystem.lo] Error 1
make[3]: Leaving directory `/home/usrname/Dar/dar-2.0.3/src/libdar'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/usrname/Dar/dar-2.0.3/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/usrname/Dar/dar-2.0.3'
make: *** [install-strip] Error 2
linux:/home/usrname/Dar/dar-2.0.3 #
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- What's This? configure: WARNING: linux/ext2_fs.h: present but cannot be compiled,
E Young <=