'as' error when attempting to 'make' libc 5.4.17 sources

'as' error when attempting to 'make' libc 5.4.17 sources

Post by Will Smi » Fri, 13 Dec 1996 04:00:00



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,


 
 
 

1. error trying to 'make' libc 5.4.17

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,


2. Installing my printer

3. ldconfig doesn't like libc.so.5.4.17 Why?

4. freeswan report IPsec SA established , but can not ping

5. Attempting to load object 'w2quad01.so', with entry 'W2QUAD01', error

6. Compaq NetFlex-3 and AMD PCNTNW Network Card Support

7. libc.5.4.17 and linux 2.0.x combination - HELP NEEDED

8. First problems resol on ApacheSSL, but new problems ..

9. Trouble w/NYS and libc 5.4.17...

10. compiling libc 5.4.17

11. Compiler Error -- doesn't find shred library 'libc.so.4'

12. What's wrong when 'libc internal error: _rmutex_unlock: rmutex not held'

13. HELP: Telnet can't map '/lib/libc.so.5' error message...