Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all, i am trying to build a toolchain for arm, i have done kernel header,binutils-2.10.1 and gcc-2.95.3 setups successfully. i have configured glibc-2.2.3, but during make, i am getting ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26

    glibc-2.2.3 make error

    Hi all,

    i am trying to build a toolchain for arm,
    i have done kernel header,binutils-2.10.1 and gcc-2.95.3 setups successfully.
    i have configured glibc-2.2.3, but during make, i am getting errors like,

    ../linuxthreads/sysdeps/pthread/errno-loc.c:22: tls.h: No such file or directory
    In file included from ../linuxthreads/sysdeps/pthread/errno-loc.c:23:
    ../linuxthreads/internals.h:29: tls.h: No such file or directory
    In file included from ../linuxthreads/internals.h:30,
    from ../linuxthreads/sysdeps/pthread/errno-loc.c:23:
    ../linuxthreads/descr.h:26: tls.h: No such file or directory
    make[2]: *** [/home/ravi/myProject/build-tools/build-glibc/csu/errno-loc.o] Error 1
    make[2]: Leaving directory `/home/ravi/myProject/build-tools/glibc/glibc-2.2.3/csu'
    make[1]: *** [csu/subdir_lib] Error 2
    make[1]: Leaving directory `/home/ravi/myProject/build-tools/glibc/glibc-2.2.3'
    make: *** [all] Error 2

    please, help me to get out of this problem.

    thanks,
    ravi.

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    Hi Ravi,
    Do you have linuxthread packages ?If not,I believe you need to apply linuxthread package to build glibc. (glibc-linuxthreads-2.2.3.tar.gz )

    Extract this file and place it inyour glibc directory and then try Configure and build.

    Refers the book "Building Embedded Linux Systems - Karim Yaghmour" (page number:123)

    Hope This Helps.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26
    Hi Lakshmipathi,

    thanks a lot, make was successfull. the error was solved.

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Glad to hear your issue is resolved .
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26
    Hi Lakshmipathi,

    i need your help once agian.
    i got one more problem, the "make" command was executed successfully. but during install, i am getting errors.

    LANGUAGE=C LC_ALL=C makeinfo libc.texinfo
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//creature.texi:220: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//memory.texi:2324: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//stdio.texi:3269: First argument to cross-reference may not be empty.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//stdio.texi:3270: First argument to cross-reference may not be empty.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//filesys.texi:3122: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//syslog.texi:301: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//math.texi:1367: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//arith.texi:421: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//arith.texi:986: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//arith.texi:1764: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//time.texi:1642: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//resource.texi:593: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    /home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual//resource.texi:665: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
    makeinfo: Removing output file `/home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual/libc.info' due to errors; use --force to preserve.
    make[2]: *** [libc.info] Error 1
    make[2]: Leaving directory `/home/ravi/myProject/build-tools/glibc/glibc-2.2.3/manual'
    make[1]: *** [manual/subdir_install] Error 2

    i tried but i am unable to get it solved.
    help me.

    thanks,
    ravi.

  6. #6
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26
    i am unable to solve this error please help me out..

    thanks.

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Sorry foe the delay. It's seems like a know problem. Check this (I googled out these links)
    comp.os.linux.embedded: Re: problems while making glibc 2.2.3


    http://www.linuxforums.org/forum/lin...c-2-2-3-a.html
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  8. #8
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26
    thanks a lot laksmipathi, the error get solved by adding the patch.

    thanks a lot..

    ravi.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...