I am ultimately trying to upgrade my 1.2.8 Slackware kernel to 2.0.27,
but in the meantime I'm having all kinds of trouble.
I have upgraded gcc, binutils, the libc binaries, and now I'm working
on the libc src tree. It took me a while to realize that when the
README file says decompress the libc src to my source directory, it
means /usr/lib/src/linux, not /usr/lib/src...
Anyway, the crux of the problem: I decompress the libc src file
(libc-5.4.17.tar.gz) from /usr/src/linux so that there is a new
directory /usr/src/linux/libc. From /usr/src/linux/libc, I run
'configure', then 'make clean', then 'make depend'. All of that works
fine. But when I go to do the final 'make', I get the following error
messages:
set -e; for i in assert bsd cvt ctype des dirent grp inet io libbsd
libio locale login xstring wctype math misc mntent netgroup posix pwd
regex rpc setjmp signal stdlib string sysdeps time ufc malloc gcc
dl-malloc yp nls elf; do \
echo making lib in $i; \
make -C $i lib; \
done
making lib in assert
make[1]: Entering directory `/usr/src/linux/libc/assert'
/usr/bin/gcc -V 2.7.2.1 -b i486-linux -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -O1 -funroll-loops
-I../sysdeps/linux -I../libio -I../libio/stdio -DNLS -I../nls -DYP
-DNO_SHADOW -D_GNU_SOURCE -DSTDC_HEADERS -DUSG -DDIRENT -DSYSV
-DUSE_BSD_REGEX -D_LIBC -DINTERNAL_LINUX_C_LIB -D_REENTRANT -Wall
-Wstrict-prototypes -Wmissing-prototypes -funsigned-char -I../internal
-nostdinc -I../../include
-I/usr/lib/gcc-lib/i486-linux/2.7.2.1/include -c assert-perr.c -o
./elfstatic/libc/assert-perr.o
as: unrecognized option `-Qy'
make[1]: *** [../elfstatic/libc/assert-perr.o] Error 1
make[1]: Leaving directory `/usr/src/linux/libc/assert'
make: *** [lib] Error 2
Can anyone help? (It seems to me that when gcc calls the assembler
(as), it is passing the assembler an argument (-Qy) that the assembler
doesn't understand.) I'm running gcc 2.7.2.1, and the latest binutils.
Thanks kindly,