> 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