I've tried to recompile sysvinit from -current. I found following 2 problems
In the slackbuild from -current sources, after this line
Code:
if [ "$ARCH" = "x86_64" ]; then
a patch should be applied, but looks as it doesn't since there is a "typo"
Code:
zcat $CWD/sysvinit-2.86-timeval.diff.gz | patch -p1 -E --verbose --backup --suffix=.orig || exit 1
fi
gzip: /root/sysvinit/sysvinit-2.86-timeval.diff.gz: No such file or directory
Hmm... I can't seem to find a patch in there anywhere.
since the patch is named
Code:
sysvinit-2.86-timeval.patch.gz
Further I cannot run the sysvinit.Slackbuild, it terminates with this error:
Code:
...
gcc -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE -c -o sulogin.o sulogin.c
gcc -s -o sulogin sulogin.o
sulogin.o: In function `main':
sulogin.c:(.text+0xa32): undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [sulogin] Error 1
What am I doing wrong?
Thanks for help