• 締切済み

libsslがmakeできません。。

RedHatEnterprise3で、libsslをmakeすると、 下記のエラーとなり検索しても原因がわからず困っています。 gcc -o channel.o channel.c -c -g -O2 /usr/include -I/usr/include -Wall -I../include/ -fPIC gcc: -c や -S と一緒に -o を指定すると、複数コンパイルできません make[1]: *** [channel.o] エラー 1 日本語でGoogleで検索しても見つからないので、 とりあえずコマンドエラーのメッセージだけでも 英語に変える方法だけでも知りたいです。 libsslはRPMもないようで・・手詰まりです。

  • php4
  • お礼率42% (373/888)

みんなの回答

  • mtfoggy
  • ベストアンサー率14% (37/255)
回答No.1

>libsslはRPMもないようで・・手詰まりです。 RedhatにOpensslは無いのですか?

php4
質問者

補足

すいません。間違えました。libsshでした。。 再度質問いたします。

関連するQ&A

  • 64bitのRedHatでlibSSH2がmakeできません。。

    RedHatEnterprise3で、libsslをmakeすると、 下記のエラーとなり検索しても原因がわからず困っています。 ■libssh2の最新(2-0.14) gcc -o channel.o channel.c -c -g -O2 /usr/include -I/usr/include -Wall -I../include/ -fPIC gcc: -c や -S と一緒に -o を指定すると、複数コンパイルできません make[1]: *** [channel.o] エラー 1 ■libssh2(2-0.13) /usr/bin/ld: /usr/local/lib/libcrypto.a(md5_dgst.o): 再配置 R_X86_64_32 は共有オブジェクトを作成したときには使えません -- -fPIC を付けて再コンパイルしてください /usr/local/lib/libcrypto.a: could not read symbols: 不正な値です collect2: ld はステータス 1 で終了しました Makefileを開き、CFLAGSに-fPICを付けてmakeしましたが 同じエラーメッセージでした(><)どうすれば良いでしょうか? 日本語でGoogleで検索しても見つからないので、 とりあえずコマンドエラーのメッセージだけでも 英語に変える方法だけでも知りたいです。 libsslはRPMもないようで・・手詰まりです。

  • ツールのインストールができません

    現在、solaris9でWebAlizerというツールをインストールしようとしています。しかし、make時に以下のようなエラーが出てしまいます。どのように、対応したらよいでしょうか? # make gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c webalizer.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c hashtab.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c linklist.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c preserve.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c dns_resolv.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c parser.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -c output.c gcc -Wall -O2 -DETCDIR=\"/etc\" -DHAVE_MATH_H=1 -I/usr/local/include -c graphs.c gcc -L/usr/local/lib -o webalizer webalizer.o hashtab.o linklist.o preserve.o parser.o output.o dns_resolv.o graphs.o -lgd -lpng -lz -lm 未定義の 最初に参照している シンボル ファイル libiconv_close /usr/local/lib/libgd.so libiconv_open /usr/local/lib/libgd.so libiconv /usr/local/lib/libgd.so ld: 重大なエラー: シンボル参照エラー。webalizer に書き込まれる出力はありません。 collect2: ld returned 1 exit status make: *** [webalizer] Error 1 環境は、Solaris9、gcc3.4.2です。 よろしくお願いいたします。

  • sqlite.so のmakeでエラー

    お世話になります。 sqlite.so の作成において、make時にエラーが出ます。 環境 お名前.com VPS CentOS 5 PHP5.3.3 PHPバージョンアップ後、ウェブメールを使えるようにするため sqlite.so を手に入れようとしています。 もともとエラーが出るらしく、修正案を試みましたが、エラーで通りません。 修正案:http://blog.plastik.jp/archives/44 ログ: /bin/sh /tmp/SQLite-1.0.3/libtool --mode=compile cc -I/tmp/SQLite-1.0.3/libsqlite/src -I. -I/tmp/SQLite-1.0.3 -DPHP_ATOM_INC -I/tmp/SQLite-1.0.3/include -I/tmp/SQLite-1.0.3/main -I/tmp/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/SQLite-1.0.3/sqlite.c -o sqlite.lo cc -I/tmp/SQLite-1.0.3/libsqlite/src -I. -I/tmp/SQLite-1.0.3 -DPHP_ATOM_INC -I/tmp/SQLite-1.0.3/include -I/tmp/SQLite-1.0.3/main -I/tmp/SQLite-1.0.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/SQLite-1.0.3/sqlite.c -fPIC -DPIC -o .libs/sqlite.o /tmp/SQLite-1.0.3/sqlite.c:125: error: 'third_arg_force_ref' undeclared here (not in a function) /tmp/SQLite-1.0.3/sqlite.c: In function 'php_sqlite_agg_step_function_callback': /tmp/SQLite-1.0.3/sqlite.c:485: error: 'zval' has no member named 'is_ref' make: *** [sqlite.lo] エラー 1 修正をした125行目含め3つでしょうか、エラーが出てます。 同じ修正をした人たちは問題なくいってるようなので、 なぜこれがでるのか判りません。 これだけの情報で判るようでしたら、解決策をお教えください。 よろしくお願いいたします。

  • Net-SNMPでのmake時のエラーについて

    はじめまして。kyosyouと申します。 Solaris(SunOS5.9)でNet-SNMPを使おうとしておりますが、 make時に下記エラーがでて頓挫しております。 google等で調べてみたのですが、類似事象が見つからず、ご質問させていただきます。 making all in /opt/net-snmp/net-snmp-5.4/snmplib make[1]: Entering directory `/opt/net-snmp/net-snmp-5.4/snmplib' /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c -o snmp_client.lo snmp_client.c gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c snmp_client.c -fPIC -DPIC -o .libs/snmp_client.o In file included from snmp_client.c:73: /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:181: warning: `NBBY' redefined /usr/include/sys/select.h:59: warning: this is the location of the previous definition In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:284: parse error before `int32_t' /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:286: parse error before `}' /usr/include/sys/siginfo.h:286: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:288: parse error before `}' /usr/include/sys/siginfo.h:288: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:415: parse error before `int32_t' /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:416: conflicting types for `__rctl' /usr/include/sys/siginfo.h:285: previous declaration of `__rctl' /usr/include/sys/siginfo.h:418: parse error before `}' /usr/include/sys/siginfo.h:418: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:420: parse error before `}' /usr/include/sys/siginfo.h:420: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:424: parse error before `k_siginfo_t' /usr/include/sys/siginfo.h:424: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:428: parse error before `}' /usr/include/sys/siginfo.h:428: warning: data definition has no type or storage class In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/wait.h:90: parse error before `siginfo_t' make[1]: *** [snmp_client.lo] Error 1 make[1]: Leaving directory `/opt/net-snmp/net-snmp-5.4/snmplib' make: *** [subdirs] Error 1 お分かりの方がいらっしゃいましたらよろしくお願い致します。

  • TunesBrowserのmakeで失敗します

    redhat9,kernel-2.4.20-8,gcc-3.2.2-5で利用してます。 TunesBrowser(http://crazney.net/programs/itunes/tunesbrowser.html)のmake時に以下エラーで失敗します。 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglade-2.0.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[1]: *** [tunesbrowser] エラー 1 make: *** [all] エラー 2 Makefile中にはlibglade-2.0を含む項目は以下のようなものがあります。 (中略) GLADE_CFLAGS = -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GLADE_LIBS = -Wl,--export-dynamic -L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lXcursor -lpangoxft-1.0 -lXft -lfreetype -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 (中略) TB_CFLAGS = -I/usr/local/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include (省略) またlibglade-2.0.soは /usr/lib/libglade-2.0.so にあります。 色々調べてみたところundefined referenceのエラーの時はリンクが出来ていないのが原因のようですが、リンクのさせ方が分からないので、分かる人教えてください。

  • Debian玄箱にドライバコンパイル不調

    Debian lenny化 した玄箱(初代)にEPSON KOWA ( 現:エプソンアヴァシス株式会社)のプリンタドライバソースファイルをコンパイル中に errorが表示されうまく適用できません。 EPSON PM-950C用のドライバのソースファイルをコンパイル中に”./libcbt.a: could not read symbols: File in wrong format”と表示されうまくいかない まず、rpm ではなく、ソースファイル「pips950-2.5.2.tar.gz」をダウンロードし、 /usr/src/pips950-2.5.2 に展開しています。 上記のエラー「 ./libcbt.a: could not read symbols: File in wrong format 」の対処方法をご教示ください。 直前のメッセージを字数制限までコピーします。 make[3]: Entering directory `/usr/src/pips950-2.5.2/ekpd' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_comserv.c cbtd_comserv.c: In function 'comserv_thread': cbtd_comserv.c:158: warning: pointer targets in passing argument 3 of 'accept' differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_datatrans.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_setup.c cbtd_setup.c: In function 'parameter_setup': cbtd_setup.c:85: warning: pointer targets in passing argument 4 of 'get_parameter' differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_signal.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_thread.c gcc -g -O2 -Wall -o ekpd cbtd.o cbtd_comserv.o cbtd_datatrans.o cbtd_setup.o cbtd_signal.o cbtd_thread.o ./libcbt.a -lpthread -ldl /usr/bin/ld: ./libcbt.a(cbtd_wrapper.o): Relocations in generic ELF (EM: 3) /usr/bin/ld: ./libcbt.a(cbtd_wrapper.o): Relocations in generic ELF (EM: 3) ./libcbt.a: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[3]: *** [ekpd] Error 1 make[3]: Leaving directory `/usr/src/pips950-2.5.2/ekpd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/pips950-2.5.2/ekpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/pips950-2.5.2' make: *** [all-recursive-am] Error 2

  • newlibのmakeについて

    gcc4.4.0、h8300-elfのビルドをしています。 gccまではエラーが出てもなんとかできたのですが、newlibをmakeする段階で以下のエラーが出て解決方法がわかりません。 h8300-elf-gcc -B/home/user/build/gcc-4.4.0_h8300-elf/newlib-1.17.0/build/h8300-elf/newlib/ -isystem /home/user/build/gcc-4.4.0_h8300-elf/newlib-1.17.0/build/h8300-elf/newlib/targ-include -isystem /home/user/build/gcc-4.4.0_h8300-elf/newlib-1.17.0/newlib/libc/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.17.0\" -DPACKAGE_STRING=\"newlib\ 1.17.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib/libc/argz -O2 -DSMALL_DTOA -DSMALL_MEMORY -fno-builtin -g -O2 -c -o lib_a-dummy.o `test -f 'dummy.c' || echo '../../../../../newlib/libc/argz/'`dummy.c /bin/bash: h8300-elf-gcc: command not found make[5]: *** [lib_a-dummy.o] エラー 127 h8300-elf-gccのコマンドが見つかりませんと出ているようなのですが、 h8300-elf-ccではなくgccとなっていますし、gccにもパスが通っているのは確認できています。 gccからもう一度インストールし直したんですが、変わらず同じところでエラーが出てしまいどうしたらいいのか分かりません。 よろしくお願いします。

  • makeで出るエラーが解決出来ません

    centOS5.3にsqliteを入れようと思い、 http://d.hatena.ne.jp/sotarok/20080607/php_5_with_sqlite こちらを参考にインストールしてみたんですが、 「make」 でエラーとなり、インストールが出来ません・・・。 エラー内容は・・・ /bin/sh /usr/local/src/php-5.2.10/ext/sqlite/libtool --mode=compile gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -o sqlite.lo mkdir .libs gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -fPIC -DPIC -o .libs/sqlite.o /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211:65: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213:60: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211: error: 'ZEND_ME_MAPPING' undeclared here (not in a function) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213: error: expected '}' before 'ZEND_ME_MAPPING' /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:214:64: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 ~略~ /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:265:45: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'sqlite_get_iterator': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: (Each undeclared identifier is reported only once /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: for each function it appears in.) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: warning: passing argument 1 of 'zend_error' makes integer from pointer without a cast /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: At top level: /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter 1 has incomplete type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'PHP_GINIT_FUNCTION': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter name omitted /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: invalid type argument of '->' /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: request for member 'assoc_case' in something not a structure or union /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'zm_startup_sqlite': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1051: warning: assignment from incompatible pointer type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1059: warning: assignment from incompatible pointer type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'php_sqlite_fetch': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1463: warning: assignment makes pointer from integer without a cast make: *** [sqlite.lo] Error 1 です。 原因がお分かりの方がおられましたらご教授お願いいたします。

  • Openldapインストールmakeでエラー

    Solaris10にOpenldapのインストールがうまく行きません。 make時でエラーになります。 色々、Googleで調べてしているのですが結局うまくいきませんでした。 教えていた頂けたら幸いです。 事前にインストールしたソフト BerkeleyDB4.7.25 openssl0.98l cyrus-sasl-2.1.21 cd openldap-2.4.16 CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib" ./configure make depend make (cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la) gcc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.7/include -c -o apitest.o apitest.c /bin/sh ../../libtool --mode=link gcc -static -g -O2 -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lgss -lssl -lcrypto -lresolv -lgen -lnsl -lsocket gcc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.7/lib ./.libs/libldap.a /work/src/openldap-2.4.16/libraries/liblber/.libs/liblber.a -L/usr/local/lib:-L/usr/local/ssl/lib:-L/usr/sfw/lib:-L/usr/lib:-L/opt/sfw/lib:-L/usr/ccs/lib:-L/usr/local/BerkeleyDB4.7/lib ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.so -ldl -lgss -lssl -lcrypto -lresolv -lgen -lnsl -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/local/BerkeleyDB.4.7/lib Undefined first referenced symbol in file BIO_set_flags ./.libs/libldap.a(tls_o.o) BIO_clear_flags ./.libs/libldap.a(tls_o.o) SSL_CTX_set_info_callback ./.libs/libldap.a(tls_o.o) ld: fatal: Symbol referencing errors. No output written to apitest collect2: ld returned 1 exit status make[2]: *** [apitest] エラー 1 make[2]: ディレクトリ `/work/src/openldap-2.4.16/libraries/libldap' から出ます make[1]: *** [all-common] エラー 1 make[1]: ディレクトリ `/work/src/openldap-2.4.16/libraries' から出ます make: *** [all-common] エラー 1 勉強不足で申し訳ありませんが、よろしくお願いします。

  • クロス環境の構築

    i686マシンにi586用のバイナリを作成できるようクロスコンパイル環境を構築中なのですが、gccのコンパイルエラーで躓いています。 http://0x100.com/Gentoo/PPC64/kernel_crosscompile.html を参考に (binutils のインストール) $ tar zxf binutils-2.14.tar.gz $ mkdir binutils-2.14/work $ cd binutils-2.14/work $ ../configure --target=i586-linux --prefix=/usr/local $ make # make install (gcc のインストール) $ tar zxf gcc-3.3.2.tar.gz $ mkdir gcc-3.3.2/work $ cd gcc-3.3.2/work $ ../configure --target=i586-linux --prefix=/usr/local --enable-languages=c,c++ $ make 【 「../../gcc/config/i386/linux.h:232:20: signal.h: そのようなファイルやディレクトリはありません」というエラー。そこで、gcc-3.3.2/work/gcc/Makefile の LIBGCC2_INCLUDES に -I/usr/include を追加 】 $ make 【 今度は 「/usr/local/i586-linux/bin/ld: cannot find -lc」というリンカオプションエラー。gcc-3.3.2/work/gcc/Makefileの SHLIB_LC = -lc をコメントアウトすることで応急処置】 $ make (略) checking whether the C compiler ( /home/****/gcc-3.3.2/work/gcc/xgcc -B/home/****/gcc-3.3.2/work/gcc/ -B/usr/local/i586-linux/bin/ -B/usr/local/i586-linux/lib/ -isystem /usr/local/i586-linux/include -O2 -g -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [configure-target-libiberty] エラー 1 で止まってしまいました。 何か分かる方がいましたら、アドバイスをお願いします。 文字数制限のためにあまり詳しくかけなかったので、何か足りない点があればご指摘下さい。 [ホスト環境] CPU : Pen3 OS : Fedora core 3 gcc : バージョン 3.4.2 20041017