* error compiling reiserfsprogs
@ 2003-04-30 20:53 Network Operations
2003-04-30 21:24 ` Valdis.Kletnieks
0 siblings, 1 reply; 5+ messages in thread
From: Network Operations @ 2003-04-30 20:53 UTC (permalink / raw)
To: reiserfs-list
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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: error compiling reiserfsprogs
2003-04-30 20:53 error compiling reiserfsprogs Network Operations
@ 2003-04-30 21:24 ` Valdis.Kletnieks
2003-05-01 6:25 ` Oleg Drokin
0 siblings, 1 reply; 5+ messages in thread
From: Valdis.Kletnieks @ 2003-04-30 21:24 UTC (permalink / raw)
To: Network Operations; +Cc: reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
On Wed, 30 Apr 2003 13:53:36 PDT, Network Operations <downtown@cwo.com> said:
> 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.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error compiling reiserfsprogs
2003-04-30 21:24 ` Valdis.Kletnieks
@ 2003-05-01 6:25 ` Oleg Drokin
2003-05-01 18:00 ` Valdis.Kletnieks
0 siblings, 1 reply; 5+ messages in thread
From: Oleg Drokin @ 2003-05-01 6:25 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: Network Operations, reiserfs-list
Hello!
On Wed, Apr 30, 2003 at 05:24:44PM -0400, Valdis.Kletnieks@vt.edu wrote:
> > 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 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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: error compiling reiserfsprogs
2003-05-01 6:25 ` Oleg Drokin
@ 2003-05-01 18:00 ` Valdis.Kletnieks
2003-05-02 8:06 ` Oleg Drokin
0 siblings, 1 reply; 5+ messages in thread
From: Valdis.Kletnieks @ 2003-05-01 18:00 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Network Operations, reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On Thu, 01 May 2003 10:25:27 +0400, Oleg Drokin said:
> > Did 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.
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
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error compiling reiserfsprogs
2003-05-01 18:00 ` Valdis.Kletnieks
@ 2003-05-02 8:06 ` Oleg Drokin
0 siblings, 0 replies; 5+ messages in thread
From: Oleg Drokin @ 2003-05-02 8:06 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: Network Operations, reiserfs-list
Hello!
On Thu, May 01, 2003 at 02:00:58PM -0400, Valdis.Kletnieks@vt.edu wrote:
> > Well, in fact kernel headers are supplied with glibc, otherwise I agree that
> error looks like
> > 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.
>
> % 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-05-02 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-30 20:53 error compiling reiserfsprogs Network Operations
2003-04-30 21:24 ` Valdis.Kletnieks
2003-05-01 6:25 ` Oleg Drokin
2003-05-01 18:00 ` Valdis.Kletnieks
2003-05-02 8:06 ` Oleg Drokin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.