Junichi Akita
akita****@is*****
2005年 1月 18日 (火) 15:57:11 JST
たびたびお世話になります、秋田と申します。 岩室さん、小島さんからいただいたご情報を参考に、 まずはセルフで試してみることにしました。 (Unofficial Debian DistributionのSH4からgcc-3.0.4その他をもってきて、 kernelも、念のためgcc-3.04で(こちらはクロスで)作り直しました) 結論から言うと、libgphoto2のmake install時にエラーが出るのですが、 その前のmakeの時に、次のようなWarningが出ていました。 (./configureはデフォルトのまま) ---- (中略) /bin/sh ../libtool --mode=link gcc -g -O2 -g -Wall -Wmissing-declarations -Wmissing-prototypes -g -Wall -o libgphoto2_port.la -rpath /usr/local/lib -version-info 5:1:5 gphoto2-port-info-list.lo gphoto2-port-log.lo gphoto2-port-version.lo gphoto2-port.lo gphoto2-port-portability.lo gphoto2-port-result.lo -ldl rm -fr .libs/libgphoto2_port.la .libs/libgphoto2_port.* .libs/libgphoto2_port.* *** Warning: linker path does not have real file for library -ldl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libdl and none of the candidates passed a file format test *** using a file magic. Last file checked: /lib/libdl-2.2.5.so *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. (以下略) ---- ここがどうも気になりまして、/lib/libdl-2.2.5.soは、 (base-sh4-for-landisk内のもののはずですが)ちゃんとあり、 実際、makeの他の過程で、-ldl が問題なく通っているところもあります。 libtoolに渡すオプションがおかしいのでしょうか・・・? ちなにみこのWarningがでたままでmakeが終わり、 make installすると、次のようなエラーで終わっていました。 ---- (中略) /usr/bin/install -c .libs/libgphoto2_port_serial.soT /usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.so /usr/bin/install: cannot stat `.libs/libgphoto2_port_serial.soT': No such file or directory (以下略) ---- (セルフの)開発環境は以下のとおりです。 - binutils-2.13.90.0.4 - gcc-3.0.4 - g++-3.0.4 その他のファイルは、base-sh4-landiskの最新版のもの 質問ばかりで恐縮です、ご情報ありましたら 教えていただければ幸いです。 秋田