error compiling reiserfsprogs
Hello,
When I try to compile reiserfsprogs-3.6.6 on Slackware linux 8.1 (kernel 2.4.20) I receive the errors below (second paragraph).
I usually don't have problems compiling stuff on that box... I guess I'm missing some library, but I'm not sure which one... ;-(
Does anybody know why my ./make fails ?
Thanks for your help
Jorg B.
--------- Start of ./configure and ./make ---------
./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes /usr/src/reiserfsprogs-3.6.6/missing: Unknown --run' option Try /usr/src/reiserfsprogs-3.6.6/missing --help' for more information
configure: WARNING: `missing' script is too old or missing checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... 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 gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for ranlib... ranlib
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 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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking for unistd.h... (cached) yes
checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating mkreiserfs/Makefile
config.status: creating resize_reiserfs/Makefile config.status: creating fsck/Makefile
config.status: creating lib/Makefile
config.status: creating Makefile
config.status: creating reiserfscore/Makefile config.status: creating debugreiserfs/Makefile config.status: creating tune/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
./make
Making all in include
make[1]: Entering directory `/usr/src/reiserfsprogs-3.6.6/include' make all-am
make[2]: Entering directory /usr/src/reiserfsprogs-3.6.6/include' make[2]: Leaving directory /usr/src/reiserfsprogs-3.6.6/include' make[1]: Leaving directory `/usr/src/reiserfsprogs-3.6.6/include' Making all in lib
make[1]: Entering directory `/usr/src/reiserfsprogs-3.6.6/lib' source='io.c' object='io.o' libtool=no \
depfile='.deps/io.Po' tmpdepfile='.deps/io.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c `test -f 'io.c'
|| echo './'`io.c
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from io.c:9:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
io.c:11: asm/types.h: No such file or directory
In file included from /usr/include/signal.h:307,
from ../include/misc.h:13,
from io.c:18:/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
make[1]: *** [io.o] Error 1
make[1]: Leaving directory `/usr/src/reiserfsprogs-3.6.6/lib'
make: *** [all-recursive] Error 1
Quoted 11 lines · Network Operations
Hello,
When I try to compile reiserfsprogs-3.6.6 on Slackware linux 8.1 (kernel 2.4.20) I receive the errors below (second paragraph).
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c `test -f '
io.c'
|| echo './'`io.c
In file included from/usr/include/bits/errno.h:25,from /usr/include/errno.h:36, from io.c:9:
/usr/include/linux/errno.h:4:asm/errno.h: No such file or directory
Did you symlink /usr/include/linux to /usr/src/linux-2.whatever/include?
If so, don't do that. ;)
Did you install whatever kernel-headers package your release of *GCC* (*not* the kernel itself) wants installed? If not, do so.
Userspace compiles with the userspace /usr/include/linux, because it has to match what glibc thinks of the world.
Kernel space compiles with the kernel headers, because it has to match what the rest of the kernel thinks of the world.
Mix the two at your own risk.
Hello!
Quoted 8 lines · On Wed, Apr 30, 2003 at 05:24:44PM -0400, [email protected] wrote:
Quoted 6 lines
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c `test -f '
io.c'
|| echo './'`io.c
In file included from/usr/include/bits/errno.h:25,from /usr/include/errno.h:36, from io.c:9:
/usr/include/linux/errno.h:4:asm/errno.h: No such file or directoryDid you install whatever kernel-headers package your release of *GCC* (*not* the kernel itself) wants installed? If not, do so.
Well, in fact kernel headers are supplied with glibc, otherwise I agree that error looks like missing kernel headers installed.
Bye,
Oleg
Quoted 1 line · Oleg Drokin
Quoted 1 line
Did you install whatever kernel-headers package your release of *GCC* (*not
*
Quoted 3 lines
Quoted 1 line
the kernel itself) wants installed? If not, do so.
Well, in fact kernel headers are supplied with glibc, otherwise I agree that
error looks like
Quoted 1 line
missing kernel headers installed.
At least under RedHat, the kernel headers that come with gcc are shipped in a seperate RPM glibc-kernheaders, the numbering of which doesn't follow anything else:
% rpm -q glibc glibc-kernheaders kernel
glibc-2.3.2-27.9
glibc-kernheaders-2.4-8.10
kernel-2.4.20-9
Hello!
Quoted 6 lines · On Thu, May 01, 2003 at 02:00:58PM -0400, [email protected] wrote:
Quoted 1 line
Well, in fact kernel headers are supplied with glibc, otherwise I agree that
error looks like
Quoted 1 line
missing kernel headers installed.
At least under RedHat, the kernel headers that come with gcc are shipped in a seperate RPM glibc-kernheaders, the numbering of which doesn't follow anything else:
sure. The only thing that you seem to get incorrectly is that headers are shipped with *glibc*, not gcc.
They even have "glibc" as part of the name.
After all you compile glibc against some known kernel. not gcc.
Quoted 6 lines
% rpm -q glibc glibc-kernheaders kernel
glibc-2.3.2-27.9
glibc-kernheaders-2.4-8.10
kernel-2.4.20-9
Bye,
Oleg