From: "Steve G" <steve@stevesworld.net>
To: <axp-list@redhat.com>
Cc: <michal@ellpspace.math.ualberta.ca>
Subject: RE: Installing linux-2.1.123 - Wont Compile HELP! #2
Date: Fri, 16 Oct 1998 17:44:21 -0500 [thread overview]
Message-ID: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> (raw)
In-Reply-To: <199810161527.JAA11276@ellpspace.math.ualberta.ca>
THIS SUCKS!!! I did the below word for word. (except touch -r .*) Still no
go. Some facts:
1: Installed 5.1 on a blank disk from scratch
2: I un-tarr'ed all of the kernel's into the /usr/src dir. There is a
direcory /usr/src/linux-2.0.34 there. /usr/src/linux is a symbolic link to
that dir. All kernels unzippped into /usr/src/linux.
3: in the /usr/src/linux-2.0.34 directory, I rm -Rf * before I untarred the
source kernel.
After doing all that, and everything else I can think of, this is the output
I get from running make boot. (forgive the length of this)
make[1]: *** Warning: File `/usr/src/linux-2.0.34/include/linux/module.h'
has modification time in the future
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -DEXPORT_SYMTAB -c alpha_ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -D__ASSEMBLY__ -D__SMP__ -
traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o traps.o traps.c
traps.c: In function `trap_init':
traps.c:891: warning: `gptr' might be used uninitialized in this function
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o process.o process.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o osf_sys.o osf_sys.c
osf_sys.c: In function `osf_sigstack':
osf_sys.c:774: warning: `oss_sp' might be used uninitialized in this
function
osf_sys.c:774: warning: `oss_os' might be used uninitialized in this
function
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o irq.o irq.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o signal.o signal.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-f
p-regs -ffixed-8 -c -o setup.o setup.c
setup.c: In function `get_cpuinfo':
setup.c:753: too many arguments to function `smp_info'
setup.c:753: warning: return makes integer from pointer without a cast
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.0.34/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
[root@hymen linux]#
I know no one can tell me exactly what is causing this, but does anyone have
any ideas as to how to get a kernel compiled already??? I'm dying here.
I've never had a kernel crash out so many times. Is there a safe way to
compile a kernel??? I just don't get it....
Thanks for any help. I'm really getting tired of this alpha. It sure did
start out with a bang, though!!
Thanks again.
Steve
-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: Friday, October 16, 1998 10:28 AM
To: axp-list@redhat.com
Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2
Steve G wrote:
>
> This screenshot is from 2.1.80
^^^^^^^
> <screenshot>
>
> make: *** Warning: Clock skew detected. Your build may be incomplete.
> [root@hymen linux]# make boot
> make: *** Warning: File `/usr/src/linux-2.0.34/.hdepend' has modification
^^^^^^^^^^
> time in the future
^^^^^^^^^
You have made a big mess from files from different times, versions,
and so on. It will be difficult to sort it out. It is much better to
clean it. In a directory in which you are compiling your new kernel do
the following:
- set your clock to a sane state
- save a copy of your .config file somewhere else
- run 'make mrproper' ("Mr. Proper" is a brand name of some cleaning
agent :-)
- run 'touch -R .'
- copy back a saved copy of of .config
- run 'make oldconfig'
- follow as usual
I do hope that you did not mix up Red Hat header files installed with
your system with a header files which came with your kernel sources.
If you did, then delete all that mess, use --force to rpm to reinstall
what you had installed previously under rpm control from kernel
sources/headers, change names/links not to clobber these again and
start with new kernel versions from scratch. 'mv' and 'ln -s' are
your friends.
>
> I know that my clock is set wrong, so I understand the "clock skew
detected"
As long as your clock is wrong you can expect all kinds of nasty
surprises. 'make' depends on modification times of things on which
it looks. In general you cannot expect to see a sane compilation
if your system is in shambles.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1998-10-16 22:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-15 23:06 Installing linux-2.1.123 - Wont Compile HELP! Steve G
1998-10-15 23:20 ` Peter Petrakis
1998-10-15 2:27 ` Ken Hansen
1998-10-16 2:29 ` Peter Petrakis
1998-10-16 2:36 ` Peter Petrakis
1998-10-15 2:54 ` Ken Hansen
1998-10-16 7:32 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 15:27 ` Michal Jaegermann
1998-10-16 18:44 ` Time Fix (wasRe: Installing linux-2.1.123 - Wont Compile HELP! #2) Peter Petrakis
1998-10-17 6:10 ` Bob McElrath
1998-10-17 6:23 ` Steve G
1998-10-16 22:44 ` Steve G [this message]
1998-10-16 22:54 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Nils Faerber
1998-10-16 23:43 ` Michal Jaegermann
1998-10-17 10:41 ` Joakim Roubert
1998-10-15 23:36 ` Installing linux-2.1.123 - Wont Compile HELP! Paul Tomblin
1998-10-16 1:41 ` Herman Z. Resto
1998-10-16 18:44 ` Craig Oettle
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox