2017-07-09 8 views
0

ライブラリをコンパイルするのに苦労します。ライブラリはthisページで利用可能なESFlibです。これはMescachとCkitライブラリに依存しています。どちらも以前にリンクされたWebページにあります。私はCkitライブラリを構築するのに問題はありませんが、私はzmachineという名前のファイルに関するいくつかの問題があるMeschachライブラリに関するいくつかの問題に遭遇します。それにもかかわらず、私は、rebuild.shファイルを使って、mesach.aライブラリファイルをビルドすることができました。しかし、ESFlibファイルをビルドしようとすると、内部コンパイラエラーが発生します。ライブラリの作成に問題があります

私はUbuntu 64で仮想ボックスマシンを使用していますが、これはすべて関連しています。私はこの種のものにはかなり新しいので、この図書館の内容が私に多くの時間を節約するので、どんな助けも大いに評価されるでしょう!

よろしく、./configureをの スティーブン

結果と

./configure 
"\n   Note: \n  configure can be run with the option --enable-SECOND_DERIVATIVES=t\n  to build the ESFLIB version which supports second derivatives.\n" 
"\n   Note: \n  configure can be run with the option --enable-WRAP_AROUND=t\n  to build the ESFLIB version which supports the wrap-around \n  \(diffraction\) method of weight function smoothing at crack tips.\n" 
checking build system type... x86_64-pc-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking whether make sets $(MAKE)... yes 
checking for gcc... gcc 
checking whether the C compiler works... yes 
checking for C compiler default output file name... a.out 
checking for suffix of executables... 
checking whether we are cross compiling... no 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for library containing strerror... none required 
checking whether ln -s works... yes 
checking how to run the C preprocessor... gcc -E 
checking for grep that handles long lines and -e... /bin/grep 
checking for egrep... /bin/grep -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking minix/config.h usability... no 
checking minix/config.h presence... no 
checking for minix/config.h... no 
checking whether it is safe to define __EXTENSIONS__... yes 
checking for ranlib... ranlib 
checking for gcc... yes 
checking compile with prototypes... yes (gcc) 
checking preprocessor... gcc -E 
checking for _get_list_next in -lckit... yes 
checking ckitcfg.h usability... yes 
checking ckitcfg.h presence... yes 
checking for ckitcfg.h... yes 
checking for LUfactor in -lmeschach... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/x86_64-pc-linux-gnu/libmeschach.a... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/x86_64-pc-linux-gnu/meschach.a... checking /home/stephen/Documents/ESFLib/src/../../Meschach/libmeschach.a... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/meschach.a... yes 
checking matrix2.h usability... yes 
checking matrix2.h presence... yes 
checking for matrix2.h... yes 
checking for unistd.h... (cached) yes 
checking for ANSI C header files... (cached) yes 
checking for an ANSI C-conforming const... yes 
checking for random... yes 
checking for rand... yes 
checking for isnan... yes 
configure: creating ./config.status 
config.status: creating Makefile 

make 
arch=`./config.guess`; arch=`config.sub $arch`; \ 
if test "xx86_64-pc-linux-gnu" != "x$arch" ; then \ 
    make reconfigure; \ 
fi 
/bin/sh: 1: config.sub: not found 
make[1]: Entering directory '/home/stephen/Documents/ESFLib/src' 
make clean; ./configure 
make[2]: Entering directory '/home/stephen/Documents/ESFLib/src' 
for n in 1 2 3 ; do \ 
     make SPDIM=$n ESFLIB_LANG="" clean_${n}d; \ 
     make SPDIM=$n ESFLIB_LANG=f clean_${n}d; \ 
done 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[3]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Cleaning build files 
make[3]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
make[2]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
"\n   Note: \n  configure can be run with the option --enable-SECOND_DERIVATIVES=t\n  to build the ESFLIB version which supports second derivatives.\n" 
"\n   Note: \n  configure can be run with the option --enable-WRAP_AROUND=t\n  to build the ESFLIB version which supports the wrap-around \n  \(diffraction\) method of weight function smoothing at crack tips.\n" 
checking build system type... x86_64-pc-linux-gnu 
checking host system type... x86_64-pc-linux-gnu 
checking whether make sets $(MAKE)... yes 
checking for gcc... gcc 
checking whether the C compiler works... yes 
checking for C compiler default output file name... a.out 
checking for suffix of executables... 
checking whether we are cross compiling... no 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for library containing strerror... none required 
checking whether ln -s works... yes 
checking how to run the C preprocessor... gcc -E 
checking for grep that handles long lines and -e... /bin/grep 
checking for egrep... /bin/grep -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking minix/config.h usability... no 
checking minix/config.h presence... no 
checking for minix/config.h... no 
checking whether it is safe to define __EXTENSIONS__... yes 
checking for ranlib... ranlib 
checking for gcc... yes 
checking compile with prototypes... yes (gcc) 
checking preprocessor... gcc -E 
checking for _get_list_next in -lckit... yes 
checking ckitcfg.h usability... yes 
checking ckitcfg.h presence... yes 
checking for ckitcfg.h... yes 
checking for LUfactor in -lmeschach... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/x86_64-pc-linux-gnu/libmeschach.a... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/x86_64-pc-linux-gnu/meschach.a... checking /home/stephen/Documents/ESFLib/src/../../Meschach/libmeschach.a... no 
checking /home/stephen/Documents/ESFLib/src/../../Meschach/meschach.a... yes 
checking matrix2.h usability... yes 
checking matrix2.h presence... yes 
checking for matrix2.h... yes 
checking for unistd.h... (cached) yes 
checking for ANSI C header files... (cached) yes 
checking for an ANSI C-conforming const... yes 
checking for random... yes 
checking for rand... yes 
checking for isnan... yes 
configure: creating ./config.status 
config.status: creating Makefile 
make[1]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
Removing dim dependent files 
make SPDIM=1 make_1d 
make[1]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Running make for dim=1 
make[2]: Entering directory '/home/stephen/Documents/ESFLib/src' 
Creating esflibtop.h from template 
Creating esflib1.h 
Compiling sf.c 
In file included from sf.c:19:0: 
esflibpriv.h:1:0: internal compiler error: Segmentation fault 
#ifndef ESFLIBPRIV_H 
^ 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. 
Makefile:203: recipe for target 'sf.o' failed 
make[2]: *** [sf.o] Error 1 
make[2]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
Makefile:112: recipe for target 'make_c1d' failed 
make[1]: *** [make_c1d] Error 2 
make[1]: Leaving directory '/home/stephen/Documents/ESFLib/src' 
Makefile:100: recipe for target '1d' failed 
make: *** [1d] Error 2 
+1

ライブラリは15歳以上ですが、これは問題になる可能性がありますか? – Stephen

答えて

0

を作り、それはメモリが不足しているとき、私はgccのクラッシュを見てきました - あなたのVirtualBoxのインスタンスのメモリを増やし、再試行してください。

+0

ありがとうございます。メモリを12GBに増やしましたが、私はまだ同じ問題に直面しています。 – Stephen

+0

私は16Gbでコンパイルするのに問題があり、32に増やしました。 – lostbard

+0

Hmmf、私はすべてラムを使い果たしました。私はチャンスを得ると別のPCで試してみる必要があります。 – Stephen

関連する問題