Re: Uncompilable....

Paul Nasrat
2002-06-06T10:56:31Z

On Thu, Jun 06, 2002 at 12:39:10PM +0100, Alan Cox wrote:
> On Thu, 2002-06-06 at 10:30, Harry Kalogirou wrote:
> > bcc -0 -i -O -I/home/harkal/cvs/elks/include
> > -DELKS_VERSION_CODE=0x00010002 -DUTS_RELEASE=\"0.1.1-pre2\" -D__KERNEL__
> > -ansi -c -o version.o version.c
> > version.c:10.48: error: string longer than dimension
> > make[2]: *** [version.o] Error 1
> > make[2]: Leaving directory `/home/harkal/cvs/elks/kernel'
> > make[1]: *** [kernel/kernel.a] Error 2
> > make[1]: Leaving directory `/home/harkal/cvs/elks'
> > make: *** [elks] Error 2
>
> I compiled it about 5 minutes ago -and it built fine ?

Hmm broken in a different way here, I just slurped the cvs and did a
default .config

(cd ../.. ; ld86 -0 -i \
arch/i86/boot/crt0.o arch/i86/boot/crt1.o \
init/main.o kernel/kernel.a fs/fs.a lib/lib.a net/net.a
fs/minix/minixfs.a arch/i86/kernel/akernel.a arch/i86/lib/lib86.a
arch/i86/mm/mm.a arch/i86/drivers/char/chr_drv.a
arch/i86/drivers/block/blk_drv.a \
-t -M -o arch/i86/boot/system > System.tmp ; \
sort -k4 System.tmp > System.map ; rm -f System.tmp )
undefined symbol: _rs_ops

This seems to be defined in arch/i86/drivers/char/serial.c

but inside a:

#ifdef CONFIG_CONSOLE_SERIAL

but it's used in ntty.c within a

#ifdef CONFIG_CHAR_DEV_RS

Paul