[100298] in RedHat Linux List
gcc or kernel compiling errors?
daemon@ATHENA.MIT.EDU (Mark Stagg)
Thu Nov 19 16:47:27 1998
Date: Fri, 20 Nov 1998 10:42:12 +1200
To: redhat-list@redhat.com
From: Mark Stagg <mark.stagg@stonebow.otago.ac.nz>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hello all,
I'm new to linux and am hoping to get some guru-type help, for
something which is probably painfully obvious to many of you. I have tried
to compile the kernel on my computer, the 2.0.34-0.6 which comes shipped on
my version of RH 5.1. I have confirmed the links to linux, scsi and asm,
as instructed in the linux installation and user's guide (from the LDP),
and then when I begin the compiling with a make mrproper, that works (well
no errors are returned). The next step I beleive is to run the 'make
config' (or make xconfig/menuconfig). This is starts out alright and I get
to specify what I need in the kernel. But I get the following errors when
I have finished going through this section...
make[1]: Entering directory `/usr/src/linux-2.0.34/drivers/sound'
Compiling Sound Driver v 2 for Linux
rm -f configure
gcc -I/usr/src/linux-2.0.34/include -o configure configure.c
configure.c:19: stdio.h: No such file or directory
configure.c:20: unistd.h: No such file or directory
configure.c:21: stdlib.h: No such file or directory
configure.c:22: fcntl.h: No such file or directory
configure.c:23: string.h: No such file or directory
make[1]: *** [kernelconfig] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.34/drivers/sound'
make: *** [config] Error 1
[root@localhost linux]#
I have installed all the kernel (source, headers, ibcs, pcmcia, etc) from
the rpm files from the RH 5.1 CDROM, and can find the above files in the
/include directory. So that's where I'm stumped with that one. I'm using
gcc-2.7.2.3-11.
I also get errors when I tried to compile lyx-0.12.0, which seemed to
indicate a compiler problem??? I guess here is a good time to mention my
total inexperience with compiling programmes!
root@localhost lyx-0.12.0]# ./configure
loading cache ./config.cache
configuring LyX version 0.12.0
checking for prefix by checking for lyx... no
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for a working C++ compiler... configure: error: Unable to find a
working C++ compiler
so the question is really, are these two errors linked? And if so then...
please help, I'd like to compile my first kernel, and perhaps a programme.
Thanks for any help you can offer.
____________________________________________________________________
Mark Stagg
mailto:mark.stagg@stonebow.otago.ac.nz
____________________________________________________________________
Department of Physiology
School of Medical Sciences
University of Otago
P.O. Box 913
Dunedin Phone: 03 479 7306
New Zealand Fax: 03 479 7323
____________________________________________________________________
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.