Çözüldü gmake hatası video da çok kısa gösterim. ( gmake libcryptopp.a -j14 )

  • Konuyu açan Konuyu açan BEDO49
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 3
  • Gösterim Gösterim 1K
  • Etiketler Etiketler
    @whistle
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

BEDO49

Çaylak Üye
Üye
Mesaj
2
Beğeni
0
Puan
18
Ticaret Puanı
0





bütün gmake problemini youtube de çok kısa bir videoda gösterdim bakabilir misiniz ?

Kısaca hatam şöyle:
"Gmake clean" yaparak seçiyorum dosyayı sonra "gmake libcryptopp.a -j14" kodunu yazdığımda bir sürü hata ile karşılaşıyorum bu hataları videoda gösterdim.
Teşekkür ederim.
 
Son düzenleme:
Çözüm
Benim 9.3 kullandığım yerde 12 kullanarak derlemeye çalışırsanız hata almanız normal. Videolar bir seri şekilde ilerliyor. Bir önceki bölüm bir sonraki bölüme bağlı. Freebsd 12’ye yükseltmeyi anlattım videolara bakabilirsiniz veya verdiğim linkten dosyaları alabilirsiniz
Merhaba, daha önce sanırsam birebir video yoluyla soru soran olmamıştı.
Sorunun kaynağını şuan bende anlamadım. Videoda oluşturduğum dosyaları github'da paylaşmıştım. Oradan indirip tekrar dener misiniz?
Linkleri görebilmek için giriş yap veya kayıt ol.
 
Kod:
Genişlet Daralt Kopyala
root@test:/home/novaline/Srcs/Extern/cryptopp # gmake libcryptopp.a -j14
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c algparam.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c asn.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c authenc.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c base32.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c base64.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c basecode.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c blumshub.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c camellia.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c cbcmac.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c ccm.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c channels.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c cmac.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c cpu.cpp
c++ -DNDEBUG -g -O2 -I../include/cryptopp -I. -pipe -c crc.cpp
In file included from authenc.cpp:7:
In file included from In file included from algparam.cpp../include/cryptopp/authenc.h:In file included from 7base64.cpp:5:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of :
:member ../include/cryptopp/algparam.h:277:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exceptionIn file included from asn.cpp:7:
In file included from ../include/cryptopp/asn.h:4:
In file included from ../include/cryptopp/filters.h:11:
4 ../include/cryptopp/algparam.h:
specification:In file included from function
        virtual ~AlgorithmParametersBase()
                ^
In file included from 277camellia.cpp../include/cryptopp/base64.h:::5144::
:
In file included from In file included from ../include/cryptopp/camellia.h../include/cryptopp/basecode.h::'CryptoPP::AllocatorWithCleanup<unsigned char, true>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/authenc.h:13:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, true> >::SecBlock' requested here
        AuthenticatedSymmetricCipherBase() : m_state(State_Start) {}
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify warning104identifier: :
:
In file included from ../include/cryptopp/filters.h'~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exception specification
        virtual ~AlgorithmParametersBase()
                ^
to../include/cryptopp/secblock.h :find91 :this3 :declaration  in errordependent:  base useclass of
         static void CheckSize(size_t n)undeclared
identifier                    ^
'CheckSize'1
error                CheckSize(n); generated
.
                ^
                this->
../include/cryptopp/secblock.h:67:38: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned int, false>::allocate' requested here
                typename A::pointer newPointer = a.allocate(newSize, NULL);
                                                   ^
../include/cryptopp/secblock.h:117:10: note: in instantiation of function template specialization 'CryptoPP::StandardReallocate<unsigned int, CryptoPP::AllocatorWithCleanup<CryptoPP::word32> >' requested here
                return StandardReallocate(*this, p, oldSize, newSize, preserve);
                       ^
../include/cryptopp/secblock.h:363:19: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned int, false>::reallocate' requested here
                m_ptr = m_alloc.reallocate(m_ptr, m_size, newSize, false);
                                ^
camellia.cpp:65:8: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned int, CryptoPP::AllocatorWithCleanup<CryptoPP::word32> >::New' requested here
        m_key.New(kslen*2);
              ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1 error generated.
gmake: *** [GNUmakefile:198: camellia.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [GNUmakefile:198: authenc.o] Error 1
:11:
../include/cryptopp/algparam.h:277:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exception specification
        virtual ~AlgorithmParametersBase()
                ^
In file included from In file included from cmac.cpp:7:
In file included from ../include/cryptopp/cmac.h:5:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/cmac.h:13:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        CMAC_Base() {}
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1 error generated.
gmake: *** [GNUmakefile:198: cmac.o] Error 1
algparam.cpp:7:
In file included from ../include/cryptopp/algparam.h:6:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/algparam.h:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
In file included from base32.cpp:4:
In file included from ../include/cryptopp/base32.h:4:
In file included from ../include/cryptopp/basecode.h:4:
In file included from ../include/cryptopp/filters.h:11:
../include/cryptopp/algparam.h:277:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exception specification
        virtual ~AlgorithmParametersBase()
                ^
1In file included from In file included from cbcmac.cpp:5:
In file included from ../include/cryptopp/cbcmac.h:5:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/cbcmac.h:13:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        CBC_MAC_Base() {}
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1 error generated.
In file included from  warningbasecode.cpp and gmake: *** [GNUmakefile:198: cbcmac.o] Error 1
blumshub.cpp:4:
In file included from ../include/cryptopp/blumshub.h:4:
In file included from ../include/cryptopp/modarith.h:8:
In file included from ../include/cryptopp/integer.h:7:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:67:38: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned int, true>::allocate' requested here
                typename A::pointer newPointer = a.allocate(newSize, NULL);
                                                   ^
../include/cryptopp/secblock.h:117:10: note: in instantiation of function template specialization 'CryptoPP::StandardReallocate<unsigned int, CryptoPP::AllocatorWithCleanup<CryptoPP::word, true> >' requested here
                return StandardReallocate(*this, p, oldSize, newSize, preserve);
                       ^
../include/cryptopp/secblock.h:398:19: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned int, true>::reallocate' requested here
                m_ptr = m_alloc.reallocate(m_ptr, m_size, newSize, true);
                                ^
../include/cryptopp/modarith.h:42:83: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned int, CryptoPP::AllocatorWithCleanup<CryptoPP::word, true> >::resize' requested here
        void SetModulus(const Integer &newModulus) {m_modulus = newModulus; m_result.reg.resize(m_modulus.reg.size());}
                                                                                         ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1 error generated.
:17 errorgmake: *** [GNUmakefile:198: blumshub.o] Error 1
:
generatedIn file included from .
../include/cryptopp/basecode.h:4:
In file included from ../include/cryptopp/filters.h:11:
../include/cryptopp/algparam.h:277:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exception specification
        virtual ~AlgorithmParametersBase()
                ^
gmake: *** [GNUmakefile:198: algparam.o] Error 1
basecode.cpp:81:4: warning: expression result unused [-Wunused-value]
                        FILTER_OUTPUT(1, m_outBuf, m_outputBlockSize, 0);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
In file included from In file included from In file included from base64.cppbase32.cpp                             ^::
44:
:
In file included from In file included from ../include/cryptopp/base32.h:4:
In file included from ../include/cryptopp/basecode.h:4:
In file included from ../include/cryptopp/filters.h:7:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/algparam.h:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
../include/cryptopp/fltrimpl.h../include/cryptopp/base64.h::        ^374
::
23In file included from :../include/cryptopp/basecode.h../include/cryptopp/secblock.h ::437:
:noteIn file included from 14: ../include/cryptopp/filters.h: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1: warningexpanded7 and  :
1from error ../include/cryptopp/secblock.h generatedmacro:.
91'FILTER_OUTPUT2':3
:        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~error
: gmake: *** [GNUmakefile:198: base32.o] Error 1
ccm.cpp:7:
In file included from ../include/cryptopp/ccm.h:5:
In file included from ../include/cryptopp/modes.h:12:
../include/cryptopp/algparam.h:277:5: warning: '~AlgorithmParametersBase' has a non-throwing exception specification but can still throw [-Wexceptions]
                                throw ParameterNotUsed(m_name);
                                ^
../include/cryptopp/algparam.h:268:10: note: destructor has a implicit non-throwing exception specification
        virtual ~AlgorithmParametersBase()
                ^
../include/cryptopp/fltrimpl.huse: 31of: 2undeclared:  note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
identifierbasecode.cpp :'CheckSize'100:
3                CheckSize(n);:
                 ^
warning:                 this->
expression result../include/cryptopp/secblock.h :unused247 :[-Wunused-value]35:
                 FILTER_OUTPUT(2, m_outBuf, m_bytePos, messageEnd);
note                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:
in ../include/cryptopp/fltrimpl.hinstantiation: 40of: 23member:  function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate'note : requested expandedhere from
                 : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}macro
'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
                                                ^basecode.cpp
:157:../include/cryptopp/algparam.h4::16 :2:warning : noteexpression:  resultin  unusedinstantiation  [-Wunused-value]of
member                        FILTER_OUTPUT(1, m_outBuf, m_outputBlockSize, 0);
function                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock'
requested ../include/cryptopp/fltrimpl.hhere:40
:        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)23
:         ^
note: ../include/cryptopp/secblock.h:expanded 37from: 14macro: 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from  macro note'FILTER_OUTPUT3':
must        statement;      \
qualify         ^~~~~~~~~identifier
to basecode.cppfind: 163this: 3declaration:  in dependentwarning : base classexpression
result        static void CheckSize(size_t n)
unused                     ^[-Wunused-value]

                FILTER_OUTPUT(2, m_outBuf, m_bytePos, messageEnd);1
warning and                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
1basecode.cpp error: generated214.
:5: warning: expression result unused [-Wunused-value]
                                FILTER_OUTPUT(1, m_separator, m_separator.size(), 0);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cryptopp/fltrimpl.h:40:23gmake: *** [GNUmakefile:198: base64.o] Error 1
: note: expanded from macro 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
basecode.cpp:226:3: warning: expression result unused [-Wunused-value]
                FILTER_OUTPUT(3, begin, length, 0);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
basecode.cpp:230:3: warning: expression result unused [-Wunused-value]
                FILTER_OUTPUT(4, m_terminator, m_terminator.size(), messageEnd);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
        FILTER_OUTPUT2(site, 0, output, length, messageEnd)
                             ^
../include/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
        FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
                             ^~~~~~~~~
../include/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
        statement;      \
        ^~~~~~~~~
In file included from In file included from basecode.cppccm.cpp:7:
In file included from ../include/cryptopp/ccm.h:4:
In file included from ../include/cryptopp/authenc.h:5:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
:7:
In file included from ../include/cryptopp/basecode.h:4:
In file included from ../include/cryptopp/filters.h:7:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/algparam.h                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, true>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/authenc.h:13:2: note: inasn.cpp:312:11: warning: enumeration values 'TAIL' and 'ALL_DONE' not handled in switch [-Wswitch]
                switch (m_state)
                        ^
:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to findinstantiation this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, true> >::SecBlock' requested here
        AuthenticatedSymmetricCipherBase() : m_state(State_Start) {}
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base classIn file included from asn.cpp
        static void CheckSize(size_t n)
                    ^
../include/cryptopp/secblock.h:91:3: error: use of :undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested7 here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/algparam.h:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
        ^
../include/cryptopp/secblock.h::
37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
1In file included from  warning and 2 errors generated.
../include/cryptopp/asn.h:4:
In file included from ../include/cryptopp/filters.h:7:
../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
                CheckSize(n);
                ^
                this->
../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
                : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
                                                ^
../include/cryptopp/algparam.h:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
        ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
        ^
../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
        static void CheckSize(size_t n)
                    ^
gmake: *** [GNUmakefile:198: ccm.o] Error 1
2 warnings and 1 error generated.
gmake: *** [GNUmakefile:198: asn.o] Error 1
8 warnings and 1 error generated.
gmake: *** [GNUmakefile:198: basecode.o] Error 1
root@test:/home/novaline/Srcs/Extern/cryptopp # .h:7:
root@test:/home/novaline/Srcs/Extern/cryptopp # ../include/cryptopp/secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
../include/cryptopp/secblock.h:91:3:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp #                 CheckSize(n);
Badly placed ()'s.
root@test:/home/novaline/Srcs/Extern/cryptopp #                 ^
No previous left hand side.
root@test:/home/novaline/Srcs/Extern/cryptopp #                 this->
Missing name for redirect.
root@test:/home/novaline/Srcs/Extern/cryptopp # ../include/cryptopp/secblock.h:247:35: note: in instantiation of member function 'CryptoPP::AllocatorWithCleanup<unsigned char, false>::allocate' requested here
../include/cryptopp/secblock.h:247:35:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp #                 : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
Badly placed (.
root@test:/home/novaline/Srcs/Extern/cryptopp #                                                 ^
No previous left hand side.
root@test:/home/novaline/Srcs/Extern/cryptopp # ../include/cryptopp/algparam.h:16:2: note: in instantiation of member function 'CryptoPP::SecBlock<unsigned char, CryptoPP::AllocatorWithCleanup<byte> >::SecBlock' requested here
../include/cryptopp/algparam.h:16:2:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp #         ConstByteArrayParameter(const char *data = NULL, bool deepCopy = false)
Badly placed ()'s.
root@test:/home/novaline/Srcs/Extern/cryptopp #         ^
No previous left hand side.
root@test:/home/novaline/Srcs/Extern/cryptopp # ../include/cryptopp/secblock.h:37:14: note: must qualify identifier to find this declaration in dependent base class
../include/cryptopp/secblock.h:37:14:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp #         static void CheckSize(size_t n)
Badly placed ()'s.
root@test:/home/novaline/Srcs/Extern/cryptopp #                     ^
No previous left hand side.
root@test:/home/novaline/Srcs/Extern/cryptopp # gmake: *** [GNUmakefile:198: ccm.o] Error 1
gmake:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp # 2 warnings and 1 error generated.
2: Command not found.
root@test:/home/novaline/Srcs/Extern/cryptopp # gmake: *** [GNUmakefile:198: asn.o] Error 1
gmake:: Too many arguments.
root@test:/home/novaline/Srcs/Extern/cryptopp # 8 warnings and 1 error generated.
8: Command not found.
root@test:/home/novaline/Srcs/Extern/cryptopp # gmake: *** [GNUmakefile:198: basecode.o] Error 1
gmake:: Too many arguments.
Merhaba, daha önce sanırsam birebir video yoluyla soru soran olmamıştı.
Sorunun kaynağını şuan bende anlamadım. Videoda oluşturduğum dosyaları github'da paylaşmıştım. Oradan indirip tekrar dener misiniz?
Linkleri görebilmek için giriş yap veya kayıt ol.
anlayamadım admin nasıl yapayım ? senin bsd 9.3 kullandıgın yerde ben 12.0 kullandım ve 9xpkg dosyalarını harici yüklemiştim. şöyle yani 'pkg install gmake, pkg install gcc' gibi en baştan her şeyi senin ki gibi mi yapayım ?
 
Benim 9.3 kullandığım yerde 12 kullanarak derlemeye çalışırsanız hata almanız normal. Videolar bir seri şekilde ilerliyor. Bir önceki bölüm bir sonraki bölüme bağlı. Freebsd 12’ye yükseltmeyi anlattım videolara bakabilirsiniz veya verdiğim linkten dosyaları alabilirsiniz
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst