From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25479 invoked from network); 16 Oct 1998 23:01:48 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Oct 1998 23:01:48 -0000 Received: from adler.unix-ag.uni-siegen.de (root@adler.unix-ag.uni-siegen.de [141.99.42.52]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA03826 for ; Fri, 16 Oct 1998 18:54:31 -0400 Received: from vmax.unix-ag.uni-siegen.de (vmax.unix-ag.uni-siegen.de [141.99.42.43]) by adler.unix-ag.uni-siegen.de (Mailhost) with ESMTP id AAA07713 for ; Sat, 17 Oct 1998 00:54:28 +0200 Received: (from nils@localhost) by vmax.unix-ag.uni-siegen.de (Spoolhost) id AAA26664 for axp-list@redhat.com; Sat, 17 Oct 1998 00:54:27 +0200 From: Nils Faerber Message-Id: <199810162254.AAA26664@vmax.unix-ag.uni-siegen.de> Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2 In-Reply-To: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> from Steve G at "Oct 16, 98 05:44:21 pm" To: axp-list@redhat.com Date: Sat, 17 Oct 1998 00:54:27 +0200 (DFT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello! > THIS SUCKS!!! I did the below word for word. (except touch -r .*) Still no Hey ... calm down... > 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) OK. So far so good. > make[1]: *** Warning: File `/usr/src/linux-2.0.34/include/linux/module.h' > has modification time in the future Check the time of the file and your system's time. Some Alpha systems still have some trouble with setting the correct time and date. > 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]# Edit the toplevel Makefile and comment out the SMP=1 line. > 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. You will succeed, promised ;) > 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.... The safest way is to use a recent version of egcs (latest is 1.1b AFAIK) and a kernel > 2.1.121. Comment out SMP=1 in linux/Makefile do make clean depend boot modules modules_install and you should have a read-to-go kernel in linux/arch/alpha/boot. > Thanks again. > Steve CU nils -- Nils Faerber (Linux Nils) eMail: nils@unix-ag.org Student of computer science http://www.si.unix-ag.org/~nils/ Unix user group, University of Siegen, Germany Siegen ... the arctic rain forest! --