Skip to content

compile error when using suse, how to fix it ? #1354

@cloudyfly

Description

@cloudyfly

0x00: Error followed:
make[1]: Entering directory /home/agent/lib/wolfssl-3.13.0-stable' make -j2 all-am make[2]: Entering directory /home/agent/lib/wolfssl-3.13.0-stable'
CC wolfcrypt/src/src_libwolfssl_la-hmac.lo
CC wolfcrypt/src/src_libwolfssl_la-hash.lo
cc1: error: unrecognized command line option "-Wmaybe-uninitialized"
cc1: error: unrecognized command line option "-Wunused-result"
make[2]: *** [wolfcrypt/src/src_libwolfssl_la-hash.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option "-Wmaybe-uninitialized"
cc1: error: unrecognized command line option "-Wunused-result"

make[2]: *** [wolfcrypt/src/src_libwolfssl_la-hmac.lo] Error 1
make[2]: Leaving directory /home/agent/lib/wolfssl-3.13.0-stable' make[1]: *** [all] Error 2 make[1]: Leaving directory /home/agent/lib/wolfssl-3.13.0-stable'
make: *** [agent] Error 2

0x01: suse version
SZX1000381038:/home/agent # uname -a
Linux SZX1000381038 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linux

0x02: gcc version
SZX1000381038:/home/agent # gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions