Re: Cannot Compile Kernel in Slackware 3.5

Anthony Barbachan (barbacha@trill.cis.fordham.edu)
Mon, 17 Aug 1998 02:46:22 -0400


Slackware 3.5 is using egcs which is not suppose to be used to compile at
2.0.x kernels. Downgrade to gcc 2.7.2.3

-----Original Message-----
From: Irfan Akber <iakber@super.net.pk>
To: linux-admin <linux-admin@vger.rutgers.edu>
Cc: linux-net@vger.rutgers.edu <linux-net@vger.rutgers.edu>;
linux-kernel@vger.rutgers.edu <linux-kernel@vger.rutgers.edu>
Date: Saturday, August 15, 1998 11:42 AM
Subject: Cannot Compile Kernel in Slackware 3.5

>I upgraded to Slackware 3.5 (2.0.34) and now I am facing problems compiling
>the kernel. I cannot compile kernel 2.0.34 that came with the bundle. I did
>the following.
>
>make config, make dep, make clean and then finally make zImage.
>
>I get this.
>------------------------------
>In file included from /usr/src/linux-2.0.34/include/linux/string.h:39,
> from /usr/src/linux-2.0.34/include/asm/termios.h:58,
> from /usr/src/linux-2.0.34/include/linux/termios.h:5,
> from /usr/src/linux-2.0.34/include/linux/tty.h:20,
> from /usr/src/linux-2.0.34/include/linux/sched.h:26,
> from init/main.c:20:
>/usr/src/linux-2.0.34/include/asm/string.h:443: warning: control reaches
>end of
>non-void function
>/usr/src/linux-2.0.34/include/asm/string.h: In function
>`__constant_c_and_count_memset':
>/usr/src/linux-2.0.34/include/asm/string.h:594: warning: control reaches
>end of
>non-void function
>init/main.c: In function `get_options':
>init/main.c:237: warning: subscript has type
>`char'/usr/src/linux-2.0.34/include/asm/string.h: In function
>`__constant_memcpy':
>In file included from /usr/src/linux-2.0.34/include/linux/string.h:39,
> from /usr/src/linux-2.0.34/include/asm/termios.h:58,
> from /usr/src/linux-2.0.34/include/linux/termios.h:5,
> from /usr/src/linux-2.0.34/include/linux/tty.h:20,
> from /usr/src/linux-2.0.34/include/linux/sched.h:26,
> from floppy.c:124:
>/usr/src/linux-2.0.34/include/asm/string.h:443: warning: control reaches
>end of
>non-void function
>/usr/src/linux-2.0.34/include/asm/string.h: In function
>`__constant_c_and_count_memset':
>/usr/src/linux-2.0.34/include/asm/string.h:594: warning: control reaches
>end of
>non-void function
>init/main.c: In function `get_options':
>init/main.c:237: warning: subscript has type `char'
>/usr/src/linux-2.0.34/include/asm/string.h: In function
>`__constant_memcpy':
>In file included from /usr/src/linux-2.0.34/include/linux/string.h:39,
> from /usr/src/linux-2.0.34/include/asm/termios.h:58,
> from /usr/src/linux-2.0.34/include/linux/termios.h:5,
> from /usr/src/linux-2.0.34/include/linux/tty.h:20,
> from /usr/src/linux-2.0.34/include/linux/sched.h:26,
> from serial.c:31:
>/usr/src/linux-2.0.34/include/asm/string.h:443: warning: control reaches
>end of
>non-void function
>/usr/src/linux-2.0.34/include/asm/string.h: In function
>`__constant_c_and_count_memset':
>/usr/src/linux-2.0.34/include/asm/string.h:594: warning: control reaches
>end of
>non-void function
>---------------------------
>
>I dont understand, as this was suppose to be better than the previous
>releases and I am getting errors right out of the box. I upgraded the
>system completely from Slack 3.3 and the previous files are not hanging
>around in my system(s). I even tried the earlier kernel versions and
>nothing compiles.
>
>Anyone else facing the same problem ? I would appreciate your help
>
>
>Irfan Akber
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.rutgers.edu
>Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html