You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried building it in alpine linux.. Getting some errors after 90% as below:
[ 10%] Building CXX object CMakeFiles/zsign.dir/archo.cpp.o
[ 20%] Building CXX object CMakeFiles/zsign.dir/bundle.cpp.o
[ 30%] Building CXX object CMakeFiles/zsign.dir/macho.cpp.o
[ 40%] Building CXX object CMakeFiles/zsign.dir/openssl.cpp.o
[ 50%] Building CXX object CMakeFiles/zsign.dir/signing.cpp.o
[ 60%] Building CXX object CMakeFiles/zsign.dir/zsign.cpp.o
[ 70%] Building CXX object CMakeFiles/zsign.dir/common/base64.cpp.o
[ 80%] Building CXX object CMakeFiles/zsign.dir/common/common.cpp.o
[ 90%] Building CXX object CMakeFiles/zsign.dir/common/json.cpp.o
In file included from /home/zsign/common/json.cpp:1:
/home/zsign/common/json.h:70:9: error: 'time_t' does not name a type
70 | time_t asDate() const;
| ^~~~~~
/home/zsign/common/json.h:31:1: note: 'time_t' is defined in header ''; did you forget to '#include '?
30 | #include
+++ |+#include
31 | using namespace std;
/home/zsign/common/json.h:74:25: error: 'time_t' has not been declared
74 | void assignDate(time_t val);
| ^~~~~~
/home/zsign/common/json.h:75:31: error: 'time_t' has not been declared
75 | void assignDateString(time_t val);
| ^~~~~~
/home/zsign/common/json.h:183:17: error: 'time_t' does not name a type
183 | time_t vDate;
| ^~~~~~
/home/zsign/common/json.h:183:17: note: 'time_t' is defined in header ''; did you forget to '#include '?
/home/zsign/common/json.h:299:27: error: 'time_t' has not been declared
299 | static string d2s(time_t t);
| ^~~~~~
/home/zsign/common/json.cpp: In member function 'bool JValue::isEmpty() const':
/home/zsign/common/json.cpp:134:38: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
134 | return (0 == m_Value.vDate);
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'void JValue::Free()':
/home/zsign/common/json.cpp:266:25: error: 'union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
266 | m_Value.vDate = 0;
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'bool JValue::asBool() const':
/home/zsign/common/json.cpp:371:33: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
371 | return (m_Value.vDate > 0);
| ^~~~~
| vData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:810:6: error: no declaration matches 'void JValue::assignDate(time_t)'
810 | void JValue::assignDate(time_t val)
| ^~~~~~
/home/zsign/common/json.h:74:14: note: candidate is: 'void JValue::assignDate(int)'
74 | void assignDate(time_t val);
| ^~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:825:6: error: no declaration matches 'void JValue::assignDateString(time_t)'
825 | void JValue::assignDateString(time_t val)
| ^~~~~~
/home/zsign/common/json.h:75:14: note: candidate is: 'void JValue::assignDateString(int)'
75 | void assignDateString(time_t val);
| ^~~~~~~~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:832:8: error: no declaration matches 'time_t JValue::asDate() const'
832 | time_t JValue::asDate() const
| ^~~~~~
/home/zsign/common/json.cpp:832:8: note: no functions named 'time_t JValue::asDate() const'
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp: In static member function 'static void JWriter::FastWriteValue(const JValue&, std::string&
':
/home/zsign/common/json.cpp:1706:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1706 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: In member function 'void JWriter::StyleWriteValue(const JValue&)':
/home/zsign/common/json.cpp:1783:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1783 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:1904:8: error: no declaration matches 'std::string JWriter::d2s(time_t)'
1904 | string JWriter::d2s(time_t t)
| ^~~~~~~
/home/zsign/common/json.h:299:23: note: candidate is: 'static std::string JWriter::d2s(int)'
299 | static string d2s(time_t t);
| ^~~
/home/zsign/common/json.h:278:7: note: 'class JWriter' defined here
278 | class JWriter
| ^~~~~~~
/home/zsign/common/json.cpp: In static member function 'static void PWriter::FastWriteValue(const JValue&, std::string&, std::string&)':
/home/zsign/common/json.cpp:2958:45: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
2958 | strdoc += JWriter::d2s(pval.asDate());
| ^~~~~~
| asData
make[2]: *** [CMakeFiles/zsign.dir/build.make:188: CMakeFiles/zsign.dir/common/json.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zsign.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered:
I tried building it in alpine linux.. Getting some errors after 90% as below:
[ 10%] Building CXX object CMakeFiles/zsign.dir/archo.cpp.o
[ 20%] Building CXX object CMakeFiles/zsign.dir/bundle.cpp.o
[ 30%] Building CXX object CMakeFiles/zsign.dir/macho.cpp.o
[ 40%] Building CXX object CMakeFiles/zsign.dir/openssl.cpp.o
[ 50%] Building CXX object CMakeFiles/zsign.dir/signing.cpp.o
[ 60%] Building CXX object CMakeFiles/zsign.dir/zsign.cpp.o
[ 70%] Building CXX object CMakeFiles/zsign.dir/common/base64.cpp.o
[ 80%] Building CXX object CMakeFiles/zsign.dir/common/common.cpp.o
[ 90%] Building CXX object CMakeFiles/zsign.dir/common/json.cpp.o
In file included from /home/zsign/common/json.cpp:1:
/home/zsign/common/json.h:70:9: error: 'time_t' does not name a type
70 | time_t asDate() const;
| ^~~~~~
/home/zsign/common/json.h:31:1: note: 'time_t' is defined in header ''; did you forget to '#include '?
30 | #include
+++ |+#include
31 | using namespace std;
/home/zsign/common/json.h:74:25: error: 'time_t' has not been declared
74 | void assignDate(time_t val);
| ^~~~~~
/home/zsign/common/json.h:75:31: error: 'time_t' has not been declared
75 | void assignDateString(time_t val);
| ^~~~~~
/home/zsign/common/json.h:183:17: error: 'time_t' does not name a type
183 | time_t vDate;
| ^~~~~~
/home/zsign/common/json.h:183:17: note: 'time_t' is defined in header ''; did you forget to '#include '?
/home/zsign/common/json.h:299:27: error: 'time_t' has not been declared
299 | static string d2s(time_t t);
| ^~~~~~
/home/zsign/common/json.cpp: In member function 'bool JValue::isEmpty() const':
/home/zsign/common/json.cpp:134:38: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
134 | return (0 == m_Value.vDate);
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'void JValue::Free()':
/home/zsign/common/json.cpp:266:25: error: 'union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
266 | m_Value.vDate = 0;
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'bool JValue::asBool() const':
/home/zsign/common/json.cpp:371:33: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
371 | return (m_Value.vDate > 0);
| ^~~~~
| vData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:810:6: error: no declaration matches 'void JValue::assignDate(time_t)'
810 | void JValue::assignDate(time_t val)
| ^~~~~~
/home/zsign/common/json.h:74:14: note: candidate is: 'void JValue::assignDate(int)'
74 | void assignDate(time_t val);
| ^~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:825:6: error: no declaration matches 'void JValue::assignDateString(time_t)'
825 | void JValue::assignDateString(time_t val)
| ^~~~~~
/home/zsign/common/json.h:75:14: note: candidate is: 'void JValue::assignDateString(int)'
75 | void assignDateString(time_t val);
| ^~~~~~~~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:832:8: error: no declaration matches 'time_t JValue::asDate() const'
832 | time_t JValue::asDate() const
| ^~~~~~
/home/zsign/common/json.cpp:832:8: note: no functions named 'time_t JValue::asDate() const'
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp: In static member function 'static void JWriter::FastWriteValue(const JValue&, std::string&
':
/home/zsign/common/json.cpp:1706:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1706 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: In member function 'void JWriter::StyleWriteValue(const JValue&)':
/home/zsign/common/json.cpp:1783:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1783 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:1904:8: error: no declaration matches 'std::string JWriter::d2s(time_t)'
1904 | string JWriter::d2s(time_t t)
| ^~~~~~~
/home/zsign/common/json.h:299:23: note: candidate is: 'static std::string JWriter::d2s(int)'
299 | static string d2s(time_t t);
| ^~~
/home/zsign/common/json.h:278:7: note: 'class JWriter' defined here
278 | class JWriter
| ^~~~~~~
/home/zsign/common/json.cpp: In static member function 'static void PWriter::FastWriteValue(const JValue&, std::string&, std::string&)':
/home/zsign/common/json.cpp:2958:45: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
2958 | strdoc += JWriter::d2s(pval.asDate());
| ^~~~~~
| asData
make[2]: *** [CMakeFiles/zsign.dir/build.make:188: CMakeFiles/zsign.dir/common/json.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zsign.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: