bug-glibc
[Top][All Lists]
Advanced

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

Error building glibc-2.1.3


From: rakesh gupta
Subject: Error building glibc-2.1.3
Date: Fri, 22 Aug 2003 00:18:09 -0400

Hi Group , 
    I have been trying to build glibc -2.1.3  but without any
success !! 
  

I have gcc - 3.2.2 

The following were the steps that I followed .. 

I downloaded glibc-2.1.3.tar.gz 

unpacked it 

added glibc-linuxthreads-2.1.3.tar.gz and crypto dist.

crated a build directory "glibc-build"

Tried to configure it .. 

configure gives the follwing error !


/************************
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf
sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common
sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386
sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix
sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/libm-i387/i686
sysdeps/i386/fpu sysdeps/libm-i387 sysdeps/i386
sysdeps/wordsize-32 sysdeps/ieee754 sysdeps/libm-ieee754
sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking version of gcc... 3.2.2, bad
checking for make... make
checking version of make... 3.79.1, ok
checking for msgfmt... msgfmt
checking version of msgfmt... 0.11.4, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.3, ok
configure: error:
*** Some critical program is missing or too old.
*** Check the INSTALL file for required versions.
**********************/


I was able to get around this by changing the configure scripts
it did not have entries for version of Gcc > 2.9.* and
definitely not fro 3.*

so I was able to configure it but when I ran make it halted
after the following . 



gcc setlocale.c -c -O -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g
-DLOCALE_PATH='"/usr/local/share/locale:/usr/local/share/i18n"'
-DLOCALEDIR='"/usr/local/share/locale"'
-DLOCALE_ALIAS_PATH='"/usr/local/share/locale:/usr/local/share/i18n"'
-DCHARMAP_PATH='"/usr/local/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/local/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/local/share/i18n/locales"' -DHAVE_CONFIG_H
-Iprograms -I../include -I.
-I/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-build/locale
-I.. -I../libio 
-I/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-build
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../crypt/sysdeps/unix
-I../sysdeps/unix/sysv/linux/i386/i686
-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 -I../sysdeps/i386/i486
-I../sysdeps/libm-i387/i686 -I../sysdeps/i386/fpu
-I../sysdeps/libm-i387 -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754
-I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic   -D_LIBC_REENTRANT -include
../include/libc-symbols.h     -o
/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-build/locale/setlocale.o
In file included from
../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
                 from setlocale.c:22:
../linuxthreads/sysdeps/pthread/pthread.h:144: parse error
before "__thread"
../linuxthreads/sysdeps/pthread/pthread.h:144: `pthread_create'
declared as function returning a function
../linuxthreads/sysdeps/pthread/pthread.h:144: warning: function
declaration isn't a prototype
../linuxthreads/sysdeps/pthread/pthread.h:144: parse error
before "void"
../linuxthreads/sysdeps/pthread/pthread.h:462: storage class
specified for parameter `type name'
In file included from
../linuxthreads/sysdeps/pthread/pthread.h:518,
                 from
../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
                 from setlocale.c:22:
../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h:35:
storage class specified for parameter `type name'
make[2]: ***
[/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-build/locale/setlocale.o]
Error 1
make[2]: Leaving directory
`/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-2.1.3/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory
`/net/hc292/rgupta/Research/MultiThreadedCkpt/glibc-2.1.3'
make: *** [all] Error 2



Any help or pointers regarding the error would help . Are there
any compatiblity issues with gcc - 3.2.2 and glibc - 2.1.3 .. 


regards 
Rakesh



________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag




reply via email to

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