macos-x86-32bitについて

SoftEther VPN に関するご質問はこのフォーラムにお気軽にご投稿ください。
Post Reply
jakago
Posts: 2
Joined: Wed Apr 02, 2014 2:51 pm

macos-x86-32bitについて

Post by jakago » Wed Apr 02, 2014 3:06 pm

softether-vpnbridge-v4.06-9435-beta-2014.03.26-macos-x86-32bit.tar.gz
softether-vpnclient-v4.06-9435-beta-2014.03.26-macos-x86-32bit.tar.gz
softether-vpnserver-v4.06-9435-beta-2014.03.26-macos-x86-32bit.tar.gz

上記のソフトをビルドしようとしたのですが、すべてエラーとなってしまいます。たとえばclientのエラーは下記のようになります。bridgeもserverも同様にライブラリ関連のエラーとなるようです。どなたか解決策をご存じないでしょうか?
OS: 10.6.8(Snow Leopard)
Xcode: 4.2(4C199)
gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

--------------------ここから--------------------
Preparing SoftEther VPN Client...
ranlib lib/libcharset.a
ranlib: warning for library: lib/libcharset.a the table of contents is empty (no object file members in the library define global symbols)
ranlib lib/libcrypto.a
ranlib: archive member: lib/libcrypto.a(3) size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib lib/libedit.a
ranlib: archive member: lib/libedit.a(_el_getc) size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib lib/libiconv.a
ranlib: archive member: lib/libiconv.a(


) size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib lib/libncurses.a
ranlib: archive member: lib/libncurses.a(?) size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib lib/libpcap.a
ranlib: can't open file: lib/libpcap.a (No such file or directory)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib lib/libssl.a
ranlib: file: lib/libssl.a(kssl.o) has no symbols
ranlib lib/libz.a
ranlib: archive member: lib/libz.a() size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
ranlib code/vpnclient.a
ranlib: archive member: code/vpnclient.a(33) size too large (archive member extends past the end of the file)
make[1]: [i_read_and_agree_the_license_agreement] Error 1 (ignored)
gcc code/vpnclient.a -O2 -fsigned-char -m32 -lm -lpcap -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a -o vpnclient
ld: warning: ignoring file code/vpnclient.a, file was built for archive which is not the architecture being linked (i386)
ld: warning: ignoring file lib/libssl.a, file was built for archive which is not the architecture being linked (i386)
ld: warning: ignoring file lib/libiconv.a, file was built for archive which is not the architecture being linked (i386)
ld: warning: ignoring file lib/libcharset.a, file was built for archive which is not the architecture being linked (i386)
ld: warning: ignoring file lib/libedit.a, file was built for archive which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
--------------------ここまで--------------------

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: macos-x86-32bitについて

Post by cedar » Tue Apr 15, 2014 7:17 am

64-bit の OS を利用している場合は、64-bit 版をダウンロードしてみてください。

jakago
Posts: 2
Joined: Wed Apr 02, 2014 2:51 pm

Re: macos-x86-32bitについて

Post by jakago » Tue Apr 15, 2014 1:25 pm

残念ながら32bitでしか動かないマシンなのです。Xcodeをより一般的なxcode_3.2.6_and_ios_sdk_4.3に変更してみたのですが、やはり同様のエラーになってしまいました。

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: macos-x86-32bitについて

Post by cedar » Tue Apr 22, 2014 5:11 am

配布されているバイナリをコンパイルしたコンパイラとリンカのアーキテクチャが一致していないように見えます。
ソースコードからビルドしてみてください。

Post Reply