我正在尝试在现有glibc-2.15
上的系统上安装glibc-2.10.2
。我遵循的步骤是:
1.在解压缩glibc
源的目录中,创建目录glibc-build
2.从configure
目录中运行glibc-build
,如下所示:
./../glibc-2.15/configure --prefix=/usr
3.建立库,如下:
make
我在下面给出的编译规则中得到以下错误:
gcc ../sysdeps/i386/i686/fpu/e_logl.S -c -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/home/sriram/glibc/glibc-build/math -I/home/sriram/glibc/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -DIS_IN_libm=1 -DASSEMBLER -DGAS_SYNTAX -g -Wa,--noexecstack -Wa,-mtune=i686 -o /home/sriram/glibc/glibc-build/math/e_logl.o -MD -MP -MF /home/sriram/glibc/glibc-build/math/e_logl.o.dt -MT /home/sriram/glibc/glibc-build/math/e_logl.o
../sysdeps/i386/i686/fpu/e_logl.S: Assembler messages:
../sysdeps/i386/i686/fpu/e_logl.S:49: Error: suffix or operands invalid for `fcomip'
../sysdeps/i386/i686/fpu/e_logl.S:75: Error: suffix or operands invalid for `fcomip'
make[2]: *** [/home/sriram/glibc/glibc-build/math/e_logl.o] Error 1
make[2]: Leaving directory `/home/sriram/glibc/glibc-2.15/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/home/sriram/glibc/glibc-2.15'
make: *** [all] Error 2
我已经浏览了互联网以找到解决方案,但还没有到达任何地方。我如何摆脱这个错误??