Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2
Date: Fri, 16 Oct 1998 17:43:56 -0600 (MDT)	[thread overview]
Message-ID: <199810162343.RAA12129@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> from "Steve G" at Oct 16, 98 05:44:21 pm

Steve G wrote:
> 
> 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.

Like I wrote before - DON'T DO THAT!!!  Change names and links to
keep things separately.  In your way you drop sources, and **headers**
from different versions on one big pile.  You need some experience
to later sort that out if at all possible.

> 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

The above really means, most likely, that you have 'get_cpuinfo()'
functions from one version and a header which declares it from another
and and two interfaces are **different**.  Probably you have also
somewhere a correct 'get_cpuinfo()' declaration but a compiler found
a "wrong" one first.  Count yourself lucky.  If you would find here
a correct declaration but some other file, which is using it, found
a wrong one and if you would managed to compile things anyway then
you would end up with a spectacular kernel crash.

  Michal


  parent reply	other threads:[~1998-10-16 23:51 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
1998-10-16 23:43               ` Michal Jaegermann [this message]
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