1 (edited by msjeon 2022-06-02 02:53:07)

Topic: configure broken in Solaris 9 9/05 HW s9s_u9wos_06b SPARC

Let me know how to resolve that issue when tring to ./configure(wolfssl-5.3.0)

./configure: line 32664: syntax error near unexpected token ` '
./configure: line 32664: `                             || test "x$ENABLED_USERSETTINGS" = "xyes") && test "x$ENABLED_64BIT" != "xyes"; then'

root@v240-5.9/tmp/wolfssl-5.3.0# gcc -v
Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.9/4.6.4/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/sparc-sun-solaris2.9/4.6.4/lto-wrapper
Target: sparc-sun-solaris2.9
Configured with: /home/rmottola/opencsw/gcc4/branches/gcc-4.6.x/work/solaris9-sparc/build-isa-sparcv8/gcc-4.6.4/configure --program-suffix=-4.6 --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --with-mpfr=/opt/csw --with-gmp=/opt/csw --with-ppl=/opt/csw --enable-java-awt=xlib --enable-libada --enable-libssp --enable-objc-gc --enable-threads=posix --enable-languages=ada,c,c++,fortran,java,objc --with-system-zlib=/opt/csw --with-cpu=v8
Thread model: posix
gcc version 4.6.4 (GCC)
root@v240-5.9/tmp/wolfssl-5.3.0# bash --version
GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9)
Copyright 2000 Free Software Foundation, Inc.
root@v240-5.9/tmp/wolfssl-5.3.0#

Post's attachments

config.log 106.51 kb, 2 downloads since 2022-06-02 

You don't have the permssions to download the attachments of this post.

Share

Re: configure broken in Solaris 9 9/05 HW s9s_u9wos_06b SPARC

Hi msjeon,

Try running /bin/bash ./configure ...  If that fails, your bash is likely too old (our minimum requirement is 3.x), so you will need to upgrade.  Alternatively, you can use our Makefile + user_settings.h instead of ./configure.  See our template in IDE/GCC-ARM (you can remove all of the ARM specific parts).

On Solaris, you will want to build wolfSSL as a static library using --enable-static --disable-shared, and ensure you are using gmake to build.  You may also need to disable our builtin make clean at the end of ./configure using --disable-makeclean.

Thanks,
Kareem

Share