Cygwin:Seismic Unixのインストール中に問題が発生しました - インストール中にエラーが発生しました。

Cygwin:Seismic Unixのインストール中に問題が発生しました - インストール中にエラーが発生しました。

Windows 10のCygwinに「Seismic Unix」をインストールするためのアドバイスが必要です。以前にこれを行った人が私を助けることができることを願っています。

私が経験している問題は、make installインストールプロセスを実行すると特定のポイントまで実行され、次のエラーで終了することです。プログラムが実行makefileをバインドするときに発生するようです。

.....\cwp_su_all_44R19\src\su\main\filters

エラー出力は次のとおりです。

make[3]: Leaving directory '/home/USER/cwp_su_all_44R19/src/su/main/dip_moveout'
cd filters ; make
make[3]: Entering directory '/home/USER/cwp_su_all_44R19/src/su/main/filters'
gcc -I/home/USER/cwp_su_all_44R19/include -O  -std=c99 -Wall -pedantic -Wno-long-long   -DCWP_LITTLE_ENDIAN   -D_BSD_SOURCE -D_POSIX_SOURCE sulfaf.c  -L/home/USER/cwp_su_all_44R19/lib -lsu -lpar -lcwp -lm  -o /home/USER/cwp_su_all_44R19/bin/sulfaf
/usr/lib/gcc/i686-pc-cygwin/10/../../../../i686-pc-cygwin/bin/ld: /home/USER/cwp_su_all_44R19/lib/libsu.a(fputgthr.o):fputgthr.c:(.bss+0x0): multiple definition of `tr'; /home/USER/cwp_su_all_44R19/lib/libsu.a(fgetgthr.o):fgetgthr.c:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: [Makefile:35: /home/USER/cwp_su_all_44R19/bin/sulfaf] Error 1 (ignored)
chmod: cannot access '/home/USER/cwp_su_all_44R19/bin/sulfaf': No such file or directory
make[3]: *** [Makefile:36: /home/USER/cwp_su_all_44R19/bin/sulfaf] Error 1
make[3]: Leaving directory '/home/USER/cwp_su_all_44R19/src/su/main/filters'
make[2]: *** [Makefile:14: INSTALL] Error 2
make[2]: Leaving directory '/home/USER/cwp_su_all_44R19/src/su/main'
make[1]: *** [Makefile:8: INSTALL] Error 2
make[1]: Leaving directory '/home/USER/cwp_su_all_44R19/src/su'

いくつかの異なるバージョンのSUをインストールしようとしましたが、同じ問題が発生しました。どのようなヒントがありますか?

ベストアンサー1

次へ追加

-Wl,--allow-multiple-definition -Wl,--enable-runtime-pseudo-reloc

影響を受けるフォルダ内のMakefileのリンカフラグ

これはエレガントではありませんが、問題を解決します。

おすすめ記事