linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: 刘林 <liu_lin02@tsinghua.org.cn>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Build cross compile tool chain for PPC
Date: Thu, 2 Oct 2008 08:21:22 -0400	[thread overview]
Message-ID: <20081002082122.4bb97461@zod.rchland.ibm.com> (raw)
In-Reply-To: <422942429.11977@tsinghua.org.cn>

On Thu, 02 Oct 2008 18:13:49 +0800
"=C3=A5=C2=88=C2=98=C3=A6=C2=9E=C2=97" <liu_lin02@tsinghua.org.cn> wrote:

> Hi, All,
>=20
> I am a newby for ppc embedded linux. When trying to build the cross compi=
ling tool
> chain, I got some error message in making glibc (binutils and gcc are suc=
cessfully
> built).
>=20
> Error message is:
>=20
> {quote}
> assert.c: In function =C2=A1=C2=AE__assert_fail=C2=A1=C2=AF:
> assert.c:54: error: =C2=A1=C2=AE__libc_pthread_functions_init=C2=A1=C2=AF=
 undeclared (first use in
> this function)
> assert.c:54: error: (Each undeclared identifier is reported only once
> assert.c:54: error: for each function it appears in.)
> assert.c:54: warning: implicit declaration of function =C2=A1=C2=AEPTHFCT=
_CALL=C2=A1=C2=AF
> assert.c:54: error: =C2=A1=C2=AEptr_pthread_setcancelstate=C2=A1=C2=AF un=
declared (first use in this
> function)
> assert.c:54: warning: left-hand operand of comma expression has no effect
> make[2]: ***
> [/root/embedded_linux/ppc/build-tools/build-glibc/ppc-glibc/assert/assert=
.os]
> Error 1
> make[2]: Leaving directory
> `/root/embedded_linux/ppc/build-tools/build-glibc/glibc-2.7/assert'
> make[1]: *** [assert/subdir_lib] Error 2
> make[1]: Leaving directory
> `/root/embedded_linux/ppc/build-tools/build-glibc/glibc-2.7'
> make: *** [all] Error 2
>=20
> {quote}
>=20
> My environments are:
>=20
> kernel: 2.26.     25
> gcc & powerpc-linux-gcc: 4.3.2
> binutils:2.18
> glibc:2.7, configured with  linuxthreads enabled and nptl disabled.

glibc 2.7 does not support linuxthreads.  It is nptl only.  And you
should really be using nptl anyway.

josh

  reply	other threads:[~2008-10-02 12:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 10:13 Build cross compile tool chain for PPC 刘林
2008-10-02 12:21 ` Josh Boyer [this message]
2008-10-03 16:14 ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081002082122.4bb97461@zod.rchland.ibm.com \
    --to=jwboyer@linux.vnet.ibm.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=liu_lin02@tsinghua.org.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).