From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4898 invoked from network); 16 Oct 1998 23:51:15 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Oct 1998 23:51:15 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA06418 for ; Fri, 16 Oct 1998 19:43:58 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id RAA12129 for axp-list@redhat.com; Fri, 16 Oct 1998 17:43:56 -0600 From: Michal Jaegermann Message-Id: <199810162343.RAA12129@ellpspace.math.ualberta.ca> Subject: Re: Installing linux-2.1.123 - Wont Compile HELP! #2 To: axp-list@redhat.com Date: Fri, 16 Oct 1998 17:43:56 -0600 (MDT) In-Reply-To: <001001bdf956$84d335e0$127da2d0@steve.stevesworld.net> from "Steve G" at Oct 16, 98 05:44:21 pm Content-Type: text 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