-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alistair Riddoch
Sent: Saturday, November 20, 1999 7:57 PM
To: Olivier Latignies
Cc: [EMAIL PROTECTED]
Subject: Re: compiling init from elkscmd-19991101.tar.gz


Olivier Latignies writes:
>
> Hi,
>
> I try to compile the elks commands from the elkscmd-19991101.tar.gz
archive.
>
> I can't compile init (in sys_utils). Here is the error.
>
> [root@kirk sys_utils]# make init
> bcc -0 -O -ansi -s init.c utent.o -o init -H 2000
> ld86: warning: _utmpname 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: _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: _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: _getutid redefined in file
> /usr/bcc/lib/bcc/i86/libc.a(utent.o);
> using definition in utent.o
> undefined symbol: _setsid
> make: *** [init] Error 1
>
> Any idea ?

The warnings are because you are using the bugfixed version of the utmp
functions which are provided with elkscmd, rather than the versions in
libc. Once the bugs have all been fixed, it will be integrated into dev86.
The error is because your libc was built against an old kernel. You will
need to rebuild and install libc using a recent kernel.

Al

Thanks. I'll try it.

Olivier Latignies

Reply via email to