Re: Cannot Compile Kernel in Slackware 3.5

Jon M. Taylor (security@fluxnet.windsor.igs.net)
Sat, 15 Aug 1998 14:16:05 -0400 (EDT)


No, I believe it is make mrproper.
`make mrproper` is even referenced in the README.
(/usr/src/linux/README).

...
(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 nail@sp.ml.org wrote:

>
>
> 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`.
> >
> >
> ...
> Isn't that 'make symlinks'> (0 0)
>
> > > ------------------------------
> > > 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
>
> So it actually doesn't compile? I get _loads_ of warnings due to egcs, but
> my kernels run fine... It it doesn't bomb out with error, try to use the
> kernel it produces ;)
>

-
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