EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Failed to build a static library 'libsbbex.a'

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#32323
Posted: 02/24/2015 01:11:55
by Koichi Wada (Basic support level)
Joined: 02/17/2015
Posts: 8

I tried to build a static library with C/C++ evaluation version, but failed.
My environment is Ubuntu 14.04 and g++ 4.2.8.

I did:

cd <SecureBlackbox>/WrapperSources
./makefile.sh g++

Resuilt:

g++ -c -Wall -O2 -fdata-sections -ffunction-sections -std=c++11 -fPIC -DLINUX -DCPU64 -I. -Iinclude -Iinclude/all cpp/sbcore.cpp -o cpp/sbcore.o
cpp/sbcore.cpp:5:23: fatal error: codecvt: No such file or directory
# include <codecvt>
^
compilation terminated.
make: *** [cpp/sbcore.o] Error 1

Is there any way to solve this?

Thanks,
Koichi
#32325
Posted: 02/24/2015 03:26:02
by Dmytro Bogatskyy (EldoS Corp.)

Thank you for contacting us.

Quote
cpp/sbcore.cpp:5:23: fatal error: codecvt: No such file or directory

Please open WrapperSources\include\sbcore.h header file
find:
Code
#       if (defined(__cplusplus) && (__cplusplus >= 201103L)) || (defined(_MSC_VER) && (_MSC_VER >= 1600))
#         define SB_HAS_CODECVT_UTF16
#       endif

and then comment the following line:
Code
#         define SB_HAS_CODECVT_UTF16

We will test and improve C++11 codecvt feature detection for your compiler version.

Added:
Did you use the latest build?
Because for GCC version 4.2.8 support of C++11 features (-std=c++11 flag) should not be enabled.
#32332
Posted: 02/24/2015 21:41:39
by Koichi Wada (Basic support level)
Joined: 02/17/2015
Posts: 8

Thank you for your reply.
The problem has been solved by commting the line.

I made a typo about GCC version.
My GCC is 4.8.2.

And I'm using SecureBlackbox - version 12.0.266.
#32335
Posted: 02/25/2015 09:00:55
by Dmytro Bogatskyy (EldoS Corp.)

Hello,
Quote
I made a typo about GCC version.
My GCC is 4.8.2.

Thank you for the info.
We have made a change that is supposed to eliminate the error. The change will go to the next build. Please let us know whether it worked for you once the build is released.

Reply

Statistics

Topic viewed 663 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!