From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14980 invoked from network); 16 Oct 1998 22:50:29 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Oct 1998 22:50:29 -0000 Received: from taz.nekid.net (root@125-fixed-017.tca.net [208.162.125.17] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA03268 for ; Fri, 16 Oct 1998 18:43:13 -0400 Received: from steve (ns2.stevesworld.net [208.162.125.18]) by taz.nekid.net (8.8.7/8.8.7) with SMTP id RAA13025; Fri, 16 Oct 1998 17:43:10 -0500 From: "Steve G" To: Cc: Subject: RE: Installing linux-2.1.123 - Wont Compile HELP! #2 Date: Fri, 16 Oct 1998 17:44:21 -0500 Message-ID: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <199810161527.JAA11276@ellpspace.math.ualberta.ca> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal 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 ^^^^^^^ > > > 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