Bluehost.com Web Hosting $6.95

Trouble compiling glibc 2.3.4

This is a discussion on Trouble compiling glibc 2.3.4 within the Linux General forums, part of the Linux Forums category; hi all, i've tried to build glibc version 2.3.4. Compiling the elf/ subdir, gcc (version 3.4....


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2005
Carsten Nitsch
 
Posts: n/a
Default Trouble compiling glibc 2.3.4


hi all,

i've tried to build glibc version 2.3.4. Compiling the elf/ subdir, gcc
(version 3.4.3) throws a couple of error messages:


In file included from dynamic-link.h:59,
from rtld.c:36:
.../sysdeps/i386/dl-machine.h: In function `dl_platform_init':
.../sysdeps/i386/dl-machine.h:359: error: assignment of read-only variable `rtld_global_ro'
In file included from ../sysdeps/unix/sysv/linux/i386/dl-librecon.h:23,
from rtld.c:37:
.../sysdeps/unix/sysv/linux/dl-librecon.h: In function `_dl_osversion_init':
.../sysdeps/unix/sysv/linux/dl-librecon.h:43: error: assignment
of read-only variable `_rtld_global_ro'
rtld.c: At top level:
rtld.c:114: error: conflicting types for '_rtld_global_ro'
.../sysdeps/generic/ldsodefs.h:539: error: previous declaration of '_rtld_global_ro' was here
rtld.c:114: error: conflicting types for '_rtld_global_ro'
.../sysdeps/generic/ldsodefs.h:539: error: previous declaration of '_rtld_global_ro' was here
rtld.c: In function `dl_main':
rtld.c:1135: error: `__libc_enable_secure_internal' undeclared (first use in this function)
rtld.c:1135: error: (Each undeclared identifier is reported only once
rtld.c:1135: error: for each function it appears in.)
rtld.c: In function `process_envvars':
rtld.c:2098: error: `__libc_enable_secure_internal' undeclared (first use in this function)

The compiler was called with:

gcc rtld.c -c -std=gnu99 -O2 -Wall \
-Winline -Wstrict-prototypes -Wwrite-strings -g
-mpreferred-stack-boundary=2 \
-fPIC -Wno-uninitialized -Wno-unused \
-I../include -I . \
-I/public/chroot/usr/src/glibc/glibc-2.3.4/build/elf -I.. -I../libio \
-I/public/chroot/usr/src/glibc/glibc-2.3.4/build -I../sysdeps/i386/elf \
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 \
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread \
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv \
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 \
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 \
-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../sysdeps/unix/sysv \
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix \
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 \
-I../sysdeps/i386/fpu \
-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 /lib/modules/2.4.7-10/build/include -D_LIBC_REENTRANT \
-include ../include/libc-symbols.h \
-DPIC -DSHARED \
-o /public/chroot/usr/src/glibc/glibc-2.3.4/build/elf/rtld.os \
-MD -MP -MF /public/chroot/usr/src/glibc/glibc-2.3.4/build/elf/rtld.os.dt \
-MT /public/chroot/usr/src/glibc/glibc-2.3.4/build/elf/rtld.os



Any idea whats going wrong here?

Thanx for your help..

--
--
Carsten Nitsch
University of Leipzig
Dep of Computer Engineering
Public Key: http://pgp.mit.edu:11371/pks/lookup?...rch=0xC89F8671
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0