Greg Haerr writes:
>
>
> : undefined symbol: _select
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^
> :
> : I cannot for the life of me find the _select symbol anywhere. Is it supposed to be
>in the
> :
> : libc that comes with bcc? If not, where is it? With my present setup, almost
>anything
> :
> : in elkscmd compiled OK, so there shouldn't be major errors in my setup.
> :
>
> Al Ridoch will have to answer this, as he added select() into the new kernel.
> I think that it's buried deep in the libc code for the development system.
> Try finding the kernel syscall number from the kernel source and then
> finding the syscall.dat file in the libc portion of the devkit. I had asked that
> Al include instructions for doing this with the 0.77 ELKS release, but I haven't
> looked at it yet.
>
Sorry, this is not clear to non-developers. Whenever new system calls are
added to the kernel, libc has to be rebuilt. The easiest way to do this is
to rebuild and reinstall dev86. You have to make sure that dev86 picks up
the syscall.dat file from the kernel source directory. This should happen
automatically if your kernel source is in /usr/src/elks. You can make
sure of this by copying elks/arch/i86/kernel/syscall.dat to
linux-86/libc/syscall/syscall.dev86 before you rebuild.
Al