[Top][All Lists]

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

Troubles when building glibc

From: Ait Aoudia Fayçal
Subject: Troubles when building glibc
Date: Mon, 27 Apr 2015 22:54:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hello everybody,

I am trying to build glibc on GNU debian 0.6 ( GNU-Mach 1.4 ) running on QEMU, but the build fails with the following output:

gcc setup-thread.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -Wa,-mtune=i686 -I../include -I/home/fayperso/Glibc/build/mach -I/home/fayperso/Glibc/build -I../sysdeps/mach/hurd/i386 -I../sysdeps/mach/hurd -I../sysdeps/gnu -I../sysdeps/unix/bsd -I../sysdeps/unix/inet -I../sysdeps/mach/i386 -I../sysdeps/mach -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic -I../ports -I../hurd -I/home/fayperso/Glibc/build/hurd/ -I../mach -I/home/fayperso/Glibc/build/mach/ -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/fayperso/Glibc/build/mach/setup-thread.o -MD -MP -MF /home/fayperso/Glibc/build/mach/setup-thread.o.dt -MT /home/fayperso/Glibc/build/mach/setup-thread.o
In file included from ../include/link.h:45:0,
                 from ../include/dlfcn.h:4,
                 from ../sysdeps/generic/ldsodefs.h:32,
                 from ../sysdeps/i386/ldsodefs.h:38,
                 from ../sysdeps/gnu/ldsodefs.h:46,
                 from setup-thread.c:22:
../sysdeps/mach/hurd/bits/libc-lock.h:216:30: fatal error: bits/libc-lockP.h: Aucun fichier ou dossier de ce type
 # include <bits/libc-lockP.h>
compilation terminated.
../ recipe for target '/home/fayperso/Glibc/build/mach/setup-thread.o' failed
make[2]: *** [/home/fayperso/Glibc/build/mach/setup-thread.o] Error 1
make[2]: Leaving directory '/home/fayperso/Glibc/mach'
Makefile:213: recipe for target 'mach/subdir_lib' failed
make[1]: *** [mach/subdir_lib] Error 2
make[1]: Leaving directory '/home/fayperso/Glibc'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2


The glibc version is the one from tschwinge. I retrieved it following the instructions from: . To build glibc, i used the following commands in the glibc source code directory:
mkdir build
cd build
../configure --prefix=/usr

Did i do something wrong ?

- fayçal

reply via email to

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