Статус: Новичок
Группы: Участники
Зарегистрирован: 01.06.2020(UTC) Сообщений: 1
|
Добрый день! Пытаюсь написать приложение, которое будет работать с КриптоПро CSP. Но при компиляции получаю следующую ошибку: Цитата: /opt/cprocsp/include/cpcsp/CSP_WinDef.h:323:2: error: #error "SIZEOF_VOID_P not defined" #error "SIZEOF_VOID_P not defined
После этого решил собрать примеры, которые поставляются вместе с КриптоПро, но и здесь меня настигла неудача. Пытаюсь собрать, следуя инструкции в readme.unix. Выполняю 3 следующие команды: Цитата: cd /opt/cprocsp/src/samples/CSP eval `/opt/cprocsp/src/samples/setenv.sh --64`; make -f Makefile.unix clean eval `/opt/cprocsp/src/samples/setenv.sh --64`; make -f Makefile.unix
Результат выполнения последней команды: Цитата: for d in CodingData CreatingHash CreatingKeyContainer CryptAcquireContext CryptMsgSign CryptMessages DecryptFile DerivingSessionKey DuplicatingHash DuplicatingSessionKey EncryptContainer EncryptFile EnumeratingProviders ExportInFile ExportingCertificate ExportingSessionKey FindContainerByCertificate KeyCopy PrfKeyMat SessionKeyParameters SigningHash SignUtility SILENT EncryptKey DecryptKey MSCA CPCA15 RetrievePending UnixEnroll InstallCert CPCA20 ; do \ test "$d" = 'SignUtility' && echo "$add_CPPFLAGS" | grep 'DUNICODE' >/dev/null 2>&1 && continue ; \ (test "$d" = 'CPCA15' || test "$d" = 'CPCA20' ) && uname -sr | grep "FreeBSD 1" >/dev/null 2>&1 && continue ; \ ( cd $d; make -f Makefile.unix ) || fail=yes ; \ done ; \ test -z "$fail" make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CodingData' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CodingData.o CodingData.c Assembler messages: Fatal error: can't create CodingData.o: Permission denied <builtin>: recipe for target 'CodingData.o' failed make[1]: *** [CodingData.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CodingData' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CreatingHash' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CreatingHash.o CreatingHash.c Assembler messages: Fatal error: can't create CreatingHash.o: Permission denied <builtin>: recipe for target 'CreatingHash.o' failed make[1]: *** [CreatingHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CreatingHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CreatingKeyContainer' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CreatingKeyContainer.o CreatingKeyContainer.c Assembler messages: Fatal error: can't create CreatingKeyContainer.o: Permission denied <builtin>: recipe for target 'CreatingKeyContainer.o' failed make[1]: *** [CreatingKeyContainer.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CreatingKeyContainer' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptAcquireContext' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CryptAcquireContext.o CryptAcquireContext.c Assembler messages: Fatal error: can't create CryptAcquireContext.o: Permission denied <builtin>: recipe for target 'CryptAcquireContext.o' failed make[1]: *** [CryptAcquireContext.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptAcquireContext' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptMsgSign' g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CryptMsgSign.o CryptMsgSign.cpp In file included from /opt/cprocsp/include/cpcsp/CSP_WinCrypt.h:25:0, from /opt/cprocsp/include/cpcsp/WinCryptEx.h:33, from CryptMsgSign.cpp:32: /opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: note: #pragma message: Your application will require at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions. CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.") ^ Assembler messages: Fatal error: can't create CryptMsgSign.o: Permission denied ../../examples.unix.mk:24: recipe for target 'CryptMsgSign.o' failed make[1]: *** [CryptMsgSign.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptMsgSign' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptMessages' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o CryptMessages.o CryptMessages.c Assembler messages: Fatal error: can't create CryptMessages.o: Permission denied <builtin>: recipe for target 'CryptMessages.o' failed make[1]: *** [CryptMessages.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptMessages' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DecryptFile' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o DecryptFile.o DecryptFile.c Assembler messages: Fatal error: can't create DecryptFile.o: Permission denied <builtin>: recipe for target 'DecryptFile.o' failed make[1]: *** [DecryptFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DecryptFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DerivingSessionKey' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o DerivingSessionKey.o DerivingSessionKey.c Assembler messages: Fatal error: can't create DerivingSessionKey.o: Permission denied <builtin>: recipe for target 'DerivingSessionKey.o' failed make[1]: *** [DerivingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DerivingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingHash' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o DuplicatingHash.o DuplicatingHash.c Assembler messages: Fatal error: can't create DuplicatingHash.o: Permission denied <builtin>: recipe for target 'DuplicatingHash.o' failed make[1]: *** [DuplicatingHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingSessionKey' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o DuplicatingSessionKey.o DuplicatingSessionKey.c Assembler messages: Fatal error: can't create DuplicatingSessionKey.o: Permission denied <builtin>: recipe for target 'DuplicatingSessionKey.o' failed make[1]: *** [DuplicatingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptContainer' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o EncryptContainer.o EncryptContainer.c Assembler messages: Fatal error: can't create EncryptContainer.o: Permission denied <builtin>: recipe for target 'EncryptContainer.o' failed make[1]: *** [EncryptContainer.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EncryptContainer' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptFile' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o EncryptFile.o EncryptFile.c Assembler messages: Fatal error: can't create EncryptFile.o: Permission denied <builtin>: recipe for target 'EncryptFile.o' failed make[1]: *** [EncryptFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EncryptFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EnumeratingProviders' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o EnumeratingProviders.o EnumeratingProviders.c Assembler messages: Fatal error: can't create EnumeratingProviders.o: Permission denied <builtin>: recipe for target 'EnumeratingProviders.o' failed make[1]: *** [EnumeratingProviders.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EnumeratingProviders' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportInFile' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o ExportInFile.o ExportInFile.c Assembler messages: Fatal error: can't create ExportInFile.o: Permission denied <builtin>: recipe for target 'ExportInFile.o' failed make[1]: *** [ExportInFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportInFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportingCertificate' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o ExportingCertificate.o ExportingCertificate.c Assembler messages: Fatal error: can't create ExportingCertificate.o: Permission denied <builtin>: recipe for target 'ExportingCertificate.o' failed make[1]: *** [ExportingCertificate.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportingCertificate' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportingSessionKey' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o ExportingSessionKey.o ExportingSessionKey.c Assembler messages: Fatal error: can't create ExportingSessionKey.o: Permission denied <builtin>: recipe for target 'ExportingSessionKey.o' failed make[1]: *** [ExportingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/FindContainerByCertificate' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o FindContainerByCertificate.o FindContainerByCertificate.c Assembler messages: Fatal error: can't create FindContainerByCertificate.o: Permission denied <builtin>: recipe for target 'FindContainerByCertificate.o' failed make[1]: *** [FindContainerByCertificate.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/FindContainerByCertificate' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/KeyCopy' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o KeyCopy.o KeyCopy.c Assembler messages: Fatal error: can't create KeyCopy.o: Permission denied <builtin>: recipe for target 'KeyCopy.o' failed make[1]: *** [KeyCopy.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/KeyCopy' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/PrfKeyMat' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o PrfKeyMat.o PrfKeyMat.c Assembler messages: Fatal error: can't create PrfKeyMat.o: Permission denied <builtin>: recipe for target 'PrfKeyMat.o' failed make[1]: *** [PrfKeyMat.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/PrfKeyMat' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SessionKeyParameters' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o SessionKeyParameters.o SessionKeyParameters.c Assembler messages: Fatal error: can't create SessionKeyParameters.o: Permission denied <builtin>: recipe for target 'SessionKeyParameters.o' failed make[1]: *** [SessionKeyParameters.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SessionKeyParameters' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SigningHash' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o SigningHash.o SigningHash.c Assembler messages: Fatal error: can't create SigningHash.o: Permission denied <builtin>: recipe for target 'SigningHash.o' failed make[1]: *** [SigningHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SigningHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SignUtility' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o SignUtility.o SignUtility.c Assembler messages: Fatal error: can't create SignUtility.o: Permission denied <builtin>: recipe for target 'SignUtility.o' failed make[1]: *** [SignUtility.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SignUtility' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SILENT' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o SILENT.o SILENT.c Assembler messages: Fatal error: can't create SILENT.o: Permission denied <builtin>: recipe for target 'SILENT.o' failed make[1]: *** [SILENT.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SILENT' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptKey' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o EncryptKey.o EncryptKey.c Assembler messages: Fatal error: can't create EncryptKey.o: Permission denied <builtin>: recipe for target 'EncryptKey.o' failed make[1]: *** [EncryptKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EncryptKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DecryptKey' gcc -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o DecryptKey.o DecryptKey.c Assembler messages: Fatal error: can't create DecryptKey.o: Permission denied <builtin>: recipe for target 'DecryptKey.o' failed make[1]: *** [DecryptKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DecryptKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/MSCA' g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DUNIX -DHAVE_LIMITS_H -D_COMPACT -DHAVE_STDINT_H -I/opt/cprocsp/include -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/asn1c/rtsrc -I/opt/cprocsp/include/asn1data -DSIZEOF_VOID_P=8 -g -c -o MSCA.o MSCA.cpp In file included from /opt/cprocsp/include/cpcsp/CSP_WinCrypt.h:25:0, from /opt/cprocsp/include/cpcsp/UnixRequest.h:46, from MSCA.cpp:27: /opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: note: #pragma message: Your application will require at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions. CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.") Assembler messages: Fatal error: can't create CPCA20.o: Permission denied ../../examples.unix.mk:24: recipe for target 'CPCA20.o' failed make[1]: *** [CPCA20.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CPCA20' Makefile.unix:13: recipe for target 'all' failed make: *** [all] Error 1
Решил попробовать разбить последнюю команду на две: Цитата: eval `/opt/cprocsp/src/samples/setenv.sh --64` sudo make -f Makefile.unix
Но и это к успеху не привело: Цитата: for d in CodingData CreatingHash CreatingKeyContainer CryptAcquireContext CryptMsgSign CryptMessages DecryptFile DerivingSessionKey DuplicatingHash DuplicatingSessionKey EncryptContainer EncryptFile EnumeratingProviders ExportInFile ExportingCertificate ExportingSessionKey FindContainerByCertificate KeyCopy PrfKeyMat SessionKeyParameters SigningHash SignUtility SILENT EncryptKey DecryptKey MSCA CPCA15 RetrievePending UnixEnroll InstallCert CPCA20 ; do \ test "$d" = 'SignUtility' && echo "$add_CPPFLAGS" | grep 'DUNICODE' >/dev/null 2>&1 && continue ; \ (test "$d" = 'CPCA15' || test "$d" = 'CPCA20' ) && uname -sr | grep "FreeBSD 1" >/dev/null 2>&1 && continue ; \ ( cd $d; make -f Makefile.unix ) || fail=yes ; \ done ; \ test -z "$fail" make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CodingData' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CodingData.o CodingData.c CodingData.c:31:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'CodingData.o' failed make[1]: *** [CodingData.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CodingData' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CreatingHash' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CreatingHash.o CreatingHash.c CreatingHash.c:29:10: fatal error: WinCryptEx.h: No such file or directory #include <WinCryptEx.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'CreatingHash.o' failed make[1]: *** [CreatingHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CreatingHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CreatingKeyContainer' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CreatingKeyContainer.o CreatingKeyContainer.c CreatingKeyContainer.c:29:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'CreatingKeyContainer.o' failed make[1]: *** [CreatingKeyContainer.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CreatingKeyContainer' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptAcquireContext' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CryptAcquireContext.o CryptAcquireContext.c CryptAcquireContext.c:31:13: fatal error: reader/tchar.h: No such file or directory # include "reader/tchar.h" ^~~~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'CryptAcquireContext.o' failed make[1]: *** [CryptAcquireContext.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptAcquireContext' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptMsgSign' g++ -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CryptMsgSign.o CryptMsgSign.cpp CryptMsgSign.cpp:32:12: fatal error: WinCryptEx.h: No such file or directory #include <WinCryptEx.h> ^~~~~~~~~~~~~~ compilation terminated. ../../examples.unix.mk:24: recipe for target 'CryptMsgSign.o' failed make[1]: *** [CryptMsgSign.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptMsgSign' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CryptMessages' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CryptMessages.o CryptMessages.c CryptMessages.c:29:13: fatal error: reader/tchar.h: No such file or directory # include "reader/tchar.h" ^~~~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'CryptMessages.o' failed make[1]: *** [CryptMessages.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CryptMessages' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DecryptFile' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o DecryptFile.o DecryptFile.c DecryptFile.c:31:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'DecryptFile.o' failed make[1]: *** [DecryptFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DecryptFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DerivingSessionKey' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o DerivingSessionKey.o DerivingSessionKey.c DerivingSessionKey.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'DerivingSessionKey.o' failed make[1]: *** [DerivingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DerivingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingHash' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o DuplicatingHash.o DuplicatingHash.c DuplicatingHash.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'DuplicatingHash.o' failed make[1]: *** [DuplicatingHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingSessionKey' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o DuplicatingSessionKey.o DuplicatingSessionKey.c DuplicatingSessionKey.c:29:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'DuplicatingSessionKey.o' failed make[1]: *** [DuplicatingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/DuplicatingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptContainer' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o EncryptContainer.o EncryptContainer.c EncryptContainer.c:24:10: fatal error: WinCryptEx.h: No such file or directory #include <WinCryptEx.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'EncryptContainer.o' failed make[1]: *** [EncryptContainer.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EncryptContainer' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptFile' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o EncryptFile.o EncryptFile.c EncryptFile.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'EncryptFile.o' failed make[1]: *** [EncryptFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EncryptFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EnumeratingProviders' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o EnumeratingProviders.o EnumeratingProviders.c EnumeratingProviders.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'EnumeratingProviders.o' failed make[1]: *** [EnumeratingProviders.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/EnumeratingProviders' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportInFile' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o ExportInFile.o ExportInFile.c ExportInFile.c:29:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'ExportInFile.o' failed make[1]: *** [ExportInFile.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportInFile' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportingCertificate' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o ExportingCertificate.o ExportingCertificate.c ExportingCertificate.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'ExportingCertificate.o' failed make[1]: *** [ExportingCertificate.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportingCertificate' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/ExportingSessionKey' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o ExportingSessionKey.o ExportingSessionKey.c ExportingSessionKey.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'ExportingSessionKey.o' failed make[1]: *** [ExportingSessionKey.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/ExportingSessionKey' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/FindContainerByCertificate' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o FindContainerByCertificate.o FindContainerByCertificate.c FindContainerByCertificate.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'FindContainerByCertificate.o' failed make[1]: *** [FindContainerByCertificate.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/FindContainerByCertificate' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/KeyCopy' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o KeyCopy.o KeyCopy.c KeyCopy.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'KeyCopy.o' failed make[1]: *** [KeyCopy.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/KeyCopy' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/PrfKeyMat' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o PrfKeyMat.o PrfKeyMat.c PrfKeyMat.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'PrfKeyMat.o' failed make[1]: *** [PrfKeyMat.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/PrfKeyMat' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SessionKeyParameters' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o SessionKeyParameters.o SessionKeyParameters.c SessionKeyParameters.c:30:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'SessionKeyParameters.o' failed make[1]: *** [SessionKeyParameters.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SessionKeyParameters' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SigningHash' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o SigningHash.o SigningHash.c SigningHash.c:31:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'SigningHash.o' failed make[1]: *** [SigningHash.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SigningHash' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SignUtility' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o SignUtility.o SignUtility.c SignUtility.c:37:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'SignUtility.o' failed make[1]: *** [SignUtility.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SignUtility' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/SILENT' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o SILENT.o SILENT.c SILENT.c:31:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'SILENT.o' failed make[1]: *** [SILENT.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/SILENT' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/EncryptKey' cc -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o EncryptKey.o EncryptKey.c EncryptKey.c:9:13: fatal error: CSP_WinDef.h: No such file or directory # include <CSP_WinDef.h> ^~~~~~~~~~~~~~ compilation terminated. ../../examples.unix.mk:24: recipe for target 'InstallCert.o' failed make[1]: *** [InstallCert.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/InstallCert' make[1]: Entering directory '/opt/cprocsp/src/doxygen/CSP/CPCA20' g++ -DUNIX -DHAVE_LIMITS_H -I -I/cpcsp -I/asn1c/rtsrc -I/asn1data -DSIZEOF_VOID_P= -g -c -o CPCA20.o CPCA20.cpp CPCA20.cpp:23:10: fatal error: stdafx.h: No such file or directory #include "stdafx.h" ^~~~~~~~~~ compilation terminated. ../../examples.unix.mk:24: recipe for target 'CPCA20.o' failed make[1]: *** [CPCA20.o] Error 1 make[1]: Leaving directory '/opt/cprocsp/src/doxygen/CSP/CPCA20' Makefile.unix:13: recipe for target 'all' failed make: *** [all] Error 1
Есть идеи как с этим бороться? Буду благодарен любой помощи! Отредактировано пользователем 1 июня 2020 г. 15:09:49(UTC)
| Причина: Не указана
|
|
|
|
Статус: Сотрудник
Группы: Администраторы, Участники Зарегистрирован: 16.04.2008(UTC) Сообщений: 1,551
Сказал(а) «Спасибо»: 43 раз Поблагодарили: 646 раз в 446 постах
|
/opt/cprocsp/src/readme.unix |
|
|
|
|
Быстрый переход
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.
Important Information:
The Форум КриптоПро uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close