私はCで非常に単純なプログラムhelloを作成します。exeファイルでldを使用すると、これが返されます
ld: error in hello(.eh_frame); no .eh_frame_hdr table will be created.
私はLD_LIBRAY_PATH
ls/etc/ld.so.conf
と戻り値で同じことを試しました:
ld: error in /bin/ls(.eh_frame); no .eh_frame_hdr table will be created.
ld: warning: cannot find entry symbol _start; defaulting to 0000000000402920
何が起こっていますか?私は Debian を使用しており、私の GCC バージョンは (Debian 4.7.2-5 ) です。