bug-glibc
[Top][All Lists]
Advanced

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

Re: glibc 2.3.3 make error: previous declaration of 'fixup' was here


From: James Richard Tyrer
Subject: Re: glibc 2.3.3 make error: previous declaration of 'fixup' was here
Date: Fri, 03 Dec 2004 19:48:20 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20040913

Mary Burak wrote:
I've tried to build glibc 2.3.3 on RedHat Linux Advanced Serer 2.1 (kernel 2.4.9-e.24), but I ran into an error saying compiler support for __threads is required, so I used

    configure --enable-add-ons=linuxthreads --prefix=/usr/local/glibc


(note: prefix is not the same directory where the distribution was un-packed. That was done in /usr/local/glibc-2.3.3)

That allowed configure to complete without any further errors.

However, when I ran "make", I got the following:

    ld-runtime.c:56: error: conflicting types for 'fixup'
    ../sysdeps/i386/dl-machine.h:158: error: previous declaration of
    'fixup' was here
    dl-runtime.c:56: error: conflicting types for 'fixup'
    ../sysdeps/i386/dl-machine.h:158: error: previous delcaration of
    'fixup' was here
    dl-runtime.c:141: error: conflicting types for 'profile_fixup'
    ../systemps/i386/dl-machine.h:161: error: previous delcaration of
    'profile_fixup' was here
    dl-runtime.c:141: error: conflicting types for 'profile_fixup'
    ../sysdeps/i386/dl-machine.h:161: error: previous delcaration of
    'profile_fixup' was here
    ../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared 'static'
    but never defined
    ../sysdeps/i386/sl-machine.h:161: warning: 'profile_fixup' declared'
    static' but never defined
    make[2]: *** [/usr/local/glibc/elf/dl-runtime.o] Error 1
    make[2]: Leaving directory '/usr/local/glibc-2.3.3/elf'
    make[1]: *** [elf/subdir_lib] Error 2
    make[1]: Leaving directory '/usr/local/glibc-2.3.3'
    make: *** [all] Error 2


I'm using gcc 3.4.3, with binutils 2.15.

Does anyone have a fix or a work-around for this?

http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-2.3.2/fixup.patch

--
JRT





reply via email to

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