From: Nils Faerber <Nils.Faerber@unix-ag.org>
To: axp-list@redhat.com
Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2
Date: Sat, 17 Oct 1998 00:54:27 +0200 (DFT) [thread overview]
Message-ID: <199810162254.AAA26664@vmax.unix-ag.uni-siegen.de> (raw)
In-Reply-To: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> from Steve G at "Oct 16, 98 05:44:21 pm"
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!
--
next prev parent reply other threads:[~1998-10-16 23:01 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 ` Installing linux-2.1.123 - Wont Compile HELP! #2 Steve G
1998-10-16 22:54 ` Nils Faerber [this message]
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