Re: Cannot Compile Kernel in Slackware 3.5

Antoniu SAVU (tony@Hellas.Club-InterNet.Ro)
Mon, 17 Aug 1998 11:24:47 +0000 (GMT)


Hi,
I had this problem with kernel version 2.0.34 but I didn't find any
solution to this problem. Dowload kernel 2.0.35 and should work.

On Sat, 15 Aug 1998 security@fluxnet.windsor.igs.net wrote:

> Maybe the problem is that you forgot the following:
>
> cd /usr/include
> rm -rf asm linux scsi
> ln -s /usr/src/linux/include/asm-i386 asm
> ln -s /usr/src/linux/include/linux linux
> ln -s /usr/src/linux/include/scsi scsi
> cd /usr/src/linux
> make mrproper
>
> That should be done before `make config`.
>
> ...
> (0 0)
> ----------------------------------------------------ooo--v--ooo----
> Windows 95 packs with solitare (ooohhh!), Linux packs with DOOM.
> You can have your deck of cards, I'll take a chainsaw!!
>
> John root@fluxnet.windsor.igs.net
> Security Analyst & Kernel Hacker security@linux.chaosnet.nu
>
> .oOo. Windsor Linux Users Group Founder .oOo.
> -------------------------------------------------------------------
>
> On Sat, 15 Aug 1998, Irfan Akber wrote:
>
> > 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-net" in
> the body of a message to majordomo@vger.rutgers.edu
>

-
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