bug-glibc
[Top][All Lists]
Advanced

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

Problem in installing Glibc2.3.4


From: apatel
Subject: Problem in installing Glibc2.3.4
Date: Wed, 11 Jan 2006 23:43:50 -0800 (PST)

Hello friends,

I am  using  arm-linux-gcc =  2.95.3 && Glibc = 2.3.4

The following were the steps that I followed .. 

1) download Glibc and Glibc linuxthread for the same version

2) Than follow the command patch -Np1 -i ../glibc-2.3.4-fix_test-1.patch

3)
mkdir ../glibc-build
cd ../glibc-build
4) CC=arm-linux-gcc
5)
../glibc-2.3.4/configure arm-arm-linux --build=i686-linux --prefix=/home/toolchain/main/arm-linux --enable-add-ons
6) make and than i get the following error..
gcc ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/home/toolchain/glibc-build/csu -I.. -I../libio -I../nptl -I/home/toolchain/glibc-build-I../sysdeps/arm/elf -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /home/toolchain/glibc-build/csu/init-first.o -MD -MP -MF /home/toolchain/glibc-build/csu/init-first.o.dt -MT /home/toolchain/glibc-build/csu/init-first.o
In file included from ../nptl/sysdeps/pthread/pthread.h:29,
from ../include/pthread.h:1,
from ../nptl/sysdeps/pthread/bits/libc-lock.h:23,
from ../sysdeps/generic/ldsodefs.h:38,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/unix/sysv/linux/init-first.c:30:
../sysdeps/arm/fpu/bits/setjmp.h:22:3: #error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
In file included from ../include/pthread.h:1,
from ../nptl/sysdeps/pthread/bits/libc-lock.h:23,
from ../sysdeps/generic/ldsodefs.h:38,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../sysdeps/unix/sysv/linux/init-first.c:30:
../nptl/sysdeps/pthread/pthread.h:190: error: syntax error before '*' token
../nptl/sysdeps/pthread/pthread.h:192: error: `pthread_create' declared as function returning a function
../nptl/sysdeps/pthread/pthread.h:192: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:193: error: syntax error before "void"
...AND SO ON......

SO can any one help me what should i do ...

Thank You in Advance.

Have a Nice Time and Good day ahead..

Ankur.




reply via email to

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