Messages in this thread | | | Date | Mon, 17 Aug 1998 11:19:11 -0700 | From | david <> | Subject | Re: Cannot Compile Kernel in Slackware 3.5 |
| |
egcs is properly emitting warnings about that code. it is a 2.0 code issue and will not be fixed.
you do not need to downgrade. if you don't like the warnings, ignore them.
warnings do not stop a kernel compile, errors do.
-d
Reply to mail from Anthony Barbachan about Cannot Compile Kernel in Slackware 3.5 > 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 > >
-- Look, look, see Windows 98. Buy, lemmings, buy! (c) 1998 David Ford. Redistribution via the Microsoft Network is prohibited. for linux-kernel: please read linux/Documentation/* before posting problems
- 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
| |