* Error: Building glibc
@ 2000-04-19 2:44 kim sook young
2000-04-19 13:36 ` linuxppc_em
0 siblings, 1 reply; 2+ messages in thread
From: kim sook young @ 2000-04-19 2:44 UTC (permalink / raw)
To: linuxppc-embedded
Hi, all
While building glibc, I got an error like the following
---------------------------------------------------------------------------------
.......................................................
In file included from ../sysdeps/unix/sysv/linux/powerpc/profil-counter.h:2,
from ../sysdeps/posix/profil.c:54,
from ../sysdeps/unix/sysv/linux/profil.c:3:
../sysdeps/unix/sysv/linux/i386/profil-counter.h: In function `profil_counter':
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: structure has no member named `regs'
../sysdeps/posix/profil.c:39: warning: inlining failed in call to `profil_count'
../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: warning: called from here
make[2]: *** [/home/icekim/Cross-Compiler/Glibc/glibc-2.1.3/build/gmon/profil.o] Error 1
make[2]: Leaving directory `/home/icekim/Cross-Compiler/Glibc/glibc-2.1.3/gmon'
make[1]: *** [gmon/subdir_lib] Error 2
make[1]: Leaving directory `/home/icekim/Cross-Compiler/Glibc/glibc-2.1.3'
make: *** [all] Error 2
---------------------------------------------------------------------------------
I think glibc(as you can see:2.1.3) and compiler(2.95.2) versions are the latest ones. I also perfomed the following configuration to build glibc. ( Actually in order to install Binutils, Gcc and LibC, I followed the instructions only except for building linux/ppc kernel )
CC=powerpc-linux-gcc AR=powerpc-linux-ar RANLIB=powerpc-linux-ranlib ../configure --host=powerpc-linux --with-headers=/usr/src/linux/include --enable-add-ons=crypt, linuxthreads --prefix=/usr/local/powerpc-linux
What's wrong in the environment? What should I do solve the problem? Should I have built the linux/ppc kernel which might be related with this error?
Please help me out..
e-mail: icekim@sec.samsung.co.kr
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error: Building glibc
2000-04-19 2:44 Error: Building glibc kim sook young
@ 2000-04-19 13:36 ` linuxppc_em
0 siblings, 0 replies; 2+ messages in thread
From: linuxppc_em @ 2000-04-19 13:36 UTC (permalink / raw)
To: kim sook young; +Cc: linuxppc-embedded
----- Original Message -----
From: "kim sook young" <icekim@sec.samsung.co.kr>
To: <linuxppc-embedded@lists.linuxppc.org>
Sent: Wednesday, April 19, 2000 10:44 AM
Subject: Error: Building glibc
>
> Hi, all
> While building glibc, I got an error like the following
.. cut
> to build glibc. ( Actually in order to install Binutils, Gcc and LibC, I followed the instructions only
>except for building linux/ppc kernel )
^^^^^ maybe here is, you neendn't build kernel, but you must config it,
to build glibc, require some head files in kernel S/T, especially some types defines. ;)
john zhan.
b.r.
hacking time.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-19 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-19 2:44 Error: Building glibc kim sook young
2000-04-19 13:36 ` linuxppc_em
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).