Error when compiling SDK kit

Error when compiling SDK kit

Iam  attempting to compile the sdk kit for the Vpro/AMT technology. I downloaded intel_amt_ release_3.0.2 _gold_sdk_hotfix.zip, however when trying to compile i am getting the following errors, any assistance would be greatly appreciated.

[root@crm-dev Src]# make
rm -f *.scc */*.scc */*/*.scc */*/*/*.scc
cd StorageLib && make clean
make[1]: Entering directory `/root/intel/Src/StorageLib'
rm -f *.scc */*.scc */*/*.scc */*/*/*.scc
cd LIBCODE && make clean
make[2]: Entering directory `/root/intel/Src/StorageLib/LIBCODE'
rm -f ../../../ThirdParty/gSOAP/stdsoap2.o ../../../ThirdParty/gSOAP/httpDigest.o ../../../ThirdParty/gSOAP/digcalc.o envC.o STORAGEC.o STORAGEClient.o iamt_api.o iamt_buf.o iamt_hash_linux.o iamt_os_linux.o BiosParser.o PhysMemAccess.o rijndael-api-fst.o rijndael-alg-fst.o ConvertUTF.o *~ *.xml *.nsmap soap* envC* envH* envS* STORAGE* StorageInterface.h
make[2]: Leaving directory `/root/intel/Src/StorageLib/LIBCODE'
cd Install && make clean
make[2]: Entering directory `/root/intel/Src/StorageLib/Install'
rm -f PhysMemAccess.o BiosParser.o BiosParserMain.o
rm -rf .libs
rm -f biosParserRH4*
make[2]: Leaving directory `/root/intel/Src/StorageLib/Install'
rm -f
rm -rf biosParser/
rm -f INSTALL
make[1]: Leaving directory `/root/intel/Src/StorageLib'
cd StorageLib && make
make[1]: Entering directory `/root/intel/Src/StorageLib'
rm -f *.scc */*.scc */*/*.scc */*/*/*.scc
cd LIBCODE && make clean
make[2]: Entering directory `/root/intel/Src/StorageLib/LIBCODE'
rm -f ../../../ThirdParty/gSOAP/stdsoap2.o ../../../ThirdParty/gSOAP/httpDigest.o ../../../ThirdParty/gSOAP/digcalc.o envC.o STORAGEC.o STORAGEClient.o iamt_api.o iamt_buf.o iamt_hash_linux.o iamt_os_linux.o BiosParser.o PhysMemAccess.o rijndael-api-fst.o rijndael-alg-fst.o ConvertUTF.o *~ *.xml *.nsmap soap* envC* envH* envS* STORAGE* StorageInterface.h
make[2]: Leaving directory `/root/intel/Src/StorageLib/LIBCODE'
cd Install && make clean
make[2]: Entering directory `/root/intel/Src/StorageLib/Install'
rm -f PhysMemAccess.o BiosParser.o BiosParserMain.o
rm -rf .libs
rm -f biosParserRH4*
make[2]: Leaving directory `/root/intel/Src/StorageLib/Install'
rm -f
rm -rf biosParser/
rm -f INSTALL
cd LIBCODE && make
make[2]: Entering directory `/root/intel/Src/StorageLib/LIBCODE'
rm -f ../../../ThirdParty/gSOAP/stdsoap2.o ../../../ThirdParty/gSOAP/httpDigest.o ../../../ThirdParty/gSOAP/digcalc.o envC.o STORAGEC.o STORAGEClient.o iamt_api.o iamt_buf.o iamt_hash_linux.o iamt_os_linux.o BiosParser.o PhysMemAccess.o rijndael-api-fst.o rijndael-alg-fst.o ConvertUTF.o *~ *.xml *.nsmap soap* envC* envH* envS* STORAGE* StorageInterface.h
./../../ThirdParty/gSOAP/wsdl2h -e -y -t ../../../ThirdParty/gSOAP/typemap.dat -o StorageInterface.h -n storage ../../../Include/WSDL/StorageInterface.wsdl

** The gSOAP WSDL parser for C and C++ 1.2.8c
** Copyright (C) 2000-2006 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The gSOAP WSDL parser is released under one of the following two licenses:
** GPL or the commercial license by Genivia Inc. Use option -l for more info.

Saving StorageInterface.h

Reading type map file '../../../ThirdParty/gSOAP/typemap.dat'

Reading file '../../../Include/WSDL/StorageInterface. wsdl'

To complete the process, compile with:
soapcpp2 StorageInterface.h

echo namespace STORAGE { > StorageInterface1.h
cat StorageInterface.h >> StorageInterface1.h
echo }// namespace STORAGE >> StorageInterface1.h
rm -f StorageInterface.h
mv StorageInterface1.h StorageInterface.h
./../../ThirdParty/gSOAP/soapcpp2 -x -C -w -I../../../ThirdParty/gSOAP -pstorage -n StorageInterface.h

** The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.8c
** Copyright (C) 2000-2006, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The gSOAP compiler is released under one of the following three licenses:
** GPL, the gSOAP public license, or the commercial license by Genivia Inc.

Using code namespace: STORAGE
Saving STORAGEStub.h
Saving STORAGEH.h
Saving STORAGEC.cpp
Saving STORAGEClient.cpp
Saving STORAGEClientLib.cpp
Using storage1 service name: StorageSoapBinding
Using storage1 service style: document
Using storage1 service encoding: literal
Using storage1 service location: http://hostname:16992/StorageService
Using storage1 schema namespace: http://schemas.intel.com/platform/client/Storage/2004/01
Saving STORAGEStorageSoapBindingProxy.h client proxy
Saving STORAGE.nsmap namespace mapping table

Compilation successful

touch env.h
./../../ThirdParty/gSOAP/soapcpp2 -x -C -w -I../../../ThirdParty/gSOAP -penv env.h

** The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.8c
** Copyright (C) 2000-2006, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The gSOAP compiler is released under one of the following three licenses:
** GPL, the gSOAP public license, or the commercial license by Genivia Inc.

Saving envStub.h
Saving envH.h
Saving envC.cpp
Saving envClient.cpp
Saving envClientLib.cpp

Compilation successful

rm -f env.h
g++ -Dlinux -DWITH_OPENSSL -DNDEBUG -Wall -Wno-deprecated -Wno-unused -Wno-missing-braces -DWITH_NONAMESPACES -I../../../ThirdParty/gSOAP -I../../../Include -c ../../../ThirdParty/gSOAP/stdsoap2.cpp -o ../../../ThirdParty/gSOAP/stdsoap2.o
./../../ThirdParty/gSOAP/stdsoap2.cpp: In function int tcp_connect(soap*, const char*, const char*, int):
./../../ThirdParty/gSOAP/stdsoap2.cpp:3761: error: invalid conversion from unsigned char** to const unsigned char**
make[2]: *** [../../../ThirdParty/gSOAP/stdsoap2.o] Error 1
make[2]: Leaving directory `/root/intel/Src/StorageLib/LIBCODE'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/intel/Src/StorageLib'
make: *** [all] Error 2
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

Which version of SDK are you using? Also, which Linux OS? The User Guide included in the SDK (in Docs folder) gives you details on hardware and software requirements of the system andinstructions for building the SDK. Make sure you have followed those guidelines and have included Third Party, Src, Samples and Lib folders in the same structure as Intel AMT SDK. Let us know how it goes.

Thanks,

Sree

Leave a Comment

Please sign in to add a comment. Not a member? Join today