Thomas D Stewart writes:
> 
> I downloaded dev and elks to make the kernal. Made and ran the kernal
> with no probs.
> I then downloaded elkscmd and tryed to compile it, i am pritty new to
> linux so i am not sure what is wrong.
> These are the errors that i get when i do "make all":-
> 
> make[1]: Entering directory `/usr/src/elkscmd/sys_utils'
> bcc -0 -O -ansi -s init.c utent.o -o init -H 9A4
> ld86: warning: _utmpname redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _setutent redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _endutent redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _getutent redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _getutline redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _pututline redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: ___getutent redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> ld86: warning: _getutid redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o); using definition in utent.o
> undefined symbol: _setsid
> make[1]: *** [init] Error 1 
> 
> make[1]: Entering directory `/usr/src/elkscmd/minix2'
> bcc -s  lpd.o ../lib/mktemp.o   -o lpd
> undefined symbol: _setsid
> make[1]: *** [lpd] Error 1

This is a problem with dev86 not having picked up the latest system call
list from the kernel source. To force this copy
elks/arch/i86/kernel/syscall.dat to linux-86/libc/syscall/syscall.dev86,
and rebuild and reinstall dev86.

> 
> make[1]: Entering directory `/usr/src/elkscmd/byacc' 
> cc  -o yacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o
> reader.o skeleton.o symtab.o verbose.o warshall.o 
> ../lib/mktemp.o
> ../lib/mktemp.o: file not recognized: File format not recognized
> make[1]: *** [yacc] Error 1
> make[1]: Leaving directory `/usr/src/elkscmd/byacc'
> make: *** [all] Error 2 
> 

This is a small bug in the byacc Makefile. It needs to have its compiler
changed to bcc. I think Greg has a fix for this, but it is not yet
essentail as ELKS is not really ready to run yacc yet.

Al

Reply via email to