bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help me to compile the glibc successfully


From: Chen Ken
Subject: help me to compile the glibc successfully
Date: Mon, 3 Mar 2003 15:56:33 +0800

Dear sir/madam:
    I want to compile binutils-2.13.1, gcc-3.1.1, glibc-2.2.4 in my private
path on my computer, which has i586-readhat linux. Orignally on my computer
there are Redhat Linux 8.0, gcc-3.2 and glibc-2.2.93-5. I first compile the
binutils with the local gcc, and change the PATH to my own private path, and
compile the gcc-3.1.1 with the binutils compiled and glibc-2.2.4 with the
binutils and gcc compiled. But when glibc was compiled (that is, when I did
"make"), it report that "/sysdeps/unix/sysv/linux/errlist.c:41: weak
declaration of `_old_sys_nerr' must precede definition". I don't know why.
And I have try the glibc-2.2.5 and it reported the same error. But use the
local gcc-3.2, the error will not be reported. For some reasons I want to
use my own gcc-3.1.1 to compile the glibc-2.2.* , and will you please tell
me how to compile it successfully?

I compiled the binutils, gcc and glibc with the configurations below:

binutils-2.13.1:    ${srcdir}/binutils-2.13.1/configure --prefix=${prefix}
gcc-3.1.1:



${srcdir}/gcc-3.1.1/configure --prefix=${prefix} -enable-shared -enable-thre
ads=posix -enable-languages=c
glibc-2.2.4:



${srcdir}/glibc-2.2.4/configure --prefix=${prefix} --enable-add-ons=linuxthr
eads


Thanks for your help

Sincerely,
Chen Ken
Microprocessor Research & Development Center, Peking University
Tel: +86(010)62765828  ext. 872
address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]