wiflish
          Loving Life! Loving Coding!
          posts - 98,comments - 98,trackbacks - 0

          編譯安裝glibc
          下載glibc
          wget? http://ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.gz

          下載glibc-linuxthreads
          wget http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.2.tar.gz

          解壓
          tar -zxvf glibc-2.3.2.tar.gz
          cd glibc-2.3.2
          tar -zxvf ../glibc-linuxthreads-2.3.2.tar.gz
          cd ..
          ./glibc-2.3.2/configure --prefix=/usr --disable-profile --enable-add-ons --libexecdir=/usr/lib --with-headers=/usr/include

          make
          make install

          注意點(diǎn):
          1、要將glibc-linuxthreads解壓到glibc目錄下。
          2、不能在glibc當(dāng)前目錄下運(yùn)行configure。

          posted on 2006-11-28 14:37 想飛的魚 閱讀(7193) 評(píng)論(4)  編輯  收藏 所屬分類: linux

          FeedBack:
          # re: 編譯安裝glibc
          2009-01-20 14:19 | 基本
          ./glibc-2.3.2/configure --prefix=/usr --disable-profile --enable-add-ons --libexecdir=/usr/lib --with-headers=/usr/include
          找不到目錄怎么回事  回復(fù)  更多評(píng)論
            
          # re: 編譯安裝glibc[未登錄](méi)
          2009-05-26 16:02 | andy
          dl-runtime.c:57: error: conflicting types for 'fixup'
          ../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
          dl-runtime.c:57: error: conflicting types for 'fixup'
          ../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
          dl-runtime.c:142: error: conflicting types for 'profile_fixup'
          ../sysdeps/i386/dl-machine.h:162: error: previous declaration of 'profile_fixup' was here
          dl-runtime.c:142: error: conflicting types for 'profile_fixup'
          ../sysdeps/i386/dl-machine.h:162: error: previous declaration of 'profile_fixup' was here
          ../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared `static' but never defined
          ../sysdeps/i386/dl-machine.h:162: warning: 'profile_fixup' declared `static' but never defined
          make[2]: *** [/data/share/tony/glibc/new/glibc-build/elf/dl-runtime.o] Error 1
          make[2]: Leaving directory `/data/share/tony/glibc/new/glibc-2.3.2/elf'
          make[1]: *** [elf/subdir_lib] Error 2
          make[1]: Leaving directory `/data/share/tony/glibc/new/glibc-2.3.2'
          make: *** [all] Error 2
            回復(fù)  更多評(píng)論
            
          # re: 編譯安裝glibc
          2011-07-08 10:06 | jacer
          害人的貼  回復(fù)  更多評(píng)論
            
          # re: 編譯安裝glibc
          2015-01-25 14:18 | 謝謝你!我的問(wèn)題
          checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
          See `config.log' for more details.
            回復(fù)  更多評(píng)論
            
          主站蜘蛛池模板: 海城市| 区。| 佛山市| 墨玉县| 河池市| 伊春市| 大余县| 陆丰市| 临桂县| 乡城县| 信阳市| 隆回县| 盘锦市| 永修县| 双江| 商洛市| 高密市| 喀喇沁旗| 临沧市| 灵川县| 吉木乃县| 岗巴县| 绥棱县| 同德县| 文成县| 永胜县| 旬邑县| 昌黎县| 仙居县| 景德镇市| 会东县| 观塘区| 林周县| 鸡泽县| 望都县| 深州市| 丰镇市| 平山县| 中西区| 玛曲县| 阿瓦提县|