-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubuntu building error.. #303
Comments
[ 67%] Building C object libopendcp/CMakeFiles/opendcp-lib.dir/opendcp_image.c.o I try openssl downgrade to v.0.9.8zh |
Scanning dependencies of target opendcp-asdcp
[ 9%] Building CXX object libasdcp/CMakeFiles/opendcp-asdcp.dir/KM_fileio.cpp.o
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp: In function 'Kumu::Result_t Kumu::ReadFileIntoObject(const string&, Kumu::IArchive&, ui32_t)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1218:86: warning: unused parameter 'max_size' [-Wunused-parameter]
Kumu::ReadFileIntoObject(const std::string& Filename, Kumu::IArchive& Object, ui32_t max_size)
^~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp: In function 'Kumu::Result_t Kumu::ReadFileIntoBuffer(const string&, Kumu::ByteString&, ui32_t)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1279:88: warning: unused parameter 'max_size' [-Wunused-parameter]
Kumu::ReadFileIntoBuffer(const std::string& Filename, Kumu::ByteString& Buffer, ui32_t max_size)
^~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp: In member function 'Kumu::Result_t Kumu::DirScanner::Open(const string&)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1343:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_NOTAFILE;
~~~~~~~^~~~~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1344:2: note: here
case EACCES:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1345:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_NO_PERM;
~~~~~~~^~~~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1346:2: note: here
case ELOOP:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1348:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_PARAM;
~~~~~~~^~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1349:2: note: here
case EMFILE:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1351:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_STATE;
~~~~~~~^~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1352:2: note: here
default:
^~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp: In member function 'Kumu::Result_t Kumu::DirScannerEx::Open(const string&)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1426:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_NOTAFILE;
~~~~~~~^~~~~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1427:2: note: here
case EACCES:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1428:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_NO_PERM;
~~~~~~~^~~~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1429:2: note: here
case ELOOP:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1431:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_PARAM;
~~~~~~~^~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1432:2: note: here
case EMFILE:
^~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1434:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
result = RESULT_STATE;
~~~~~~~^~~~~~~~~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_fileio.cpp:1435:2: note: here
default:
^~~~~~~
[ 10%] Building CXX object libasdcp/CMakeFiles/opendcp-asdcp.dir/KM_log.cpp.o
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp: In member function 'virtual void Kumu::SyslogLogSink::WriteEntry(const Kumu::LogEntry&)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp:196:10: warning: enumeration value 'LOG_MAX' not handled in switch [-Wswitch]
switch ( Entry.Type )
^
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp: In member function 'bool Kumu::LogEntry::TestFilter(i32_t) const':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp:260:10: warning: enumeration value 'LOG_MAX' not handled in switch [-Wswitch]
switch ( Type )
^
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp: In member function 'virtual void Kumu::StreamLogSink::WriteEntry(const Kumu::LogEntry&)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_log.cpp:154:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
write(m_fd, buf.c_str(), buf.size());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 10%] Building CXX object libasdcp/CMakeFiles/opendcp-asdcp.dir/KM_prng.cpp.o
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp: In function 'void Kumu::Gen_FIPS_186_Value(const byte_t*, ui32_t, byte_t*, ui32_t)':
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:219:10: error: aggregate 'BIGNUM c_2powb' has incomplete type and cannot be defined
BIGNUM c_2powb, c_2, c_b;
^~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:219:19: error: aggregate 'BIGNUM c_2' has incomplete type and cannot be defined
BIGNUM c_2powb, c_2, c_b;
^~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:219:24: error: aggregate 'BIGNUM c_b' has incomplete type and cannot be defined
BIGNUM c_2powb, c_2, c_b;
^~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:220:3: error: 'BN_init' was not declared in this scope
BN_init(&c_2powb); BN_init(&c_2); BN_init(&c_b);
^~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:220:3: note: suggested alternative: 'BN_print'
BN_init(&c_2powb); BN_init(&c_2); BN_init(&c_b);
^~~~~~~
BN_print
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:248:14: error: aggregate 'BIGNUM bn_tmp' has incomplete type and cannot be defined
BIGNUM bn_tmp, bn_xkey, bn_x_n;
^~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:248:22: error: aggregate 'BIGNUM bn_xkey' has incomplete type and cannot be defined
BIGNUM bn_tmp, bn_xkey, bn_x_n;
^~~~~~~
/openssl-0.9.8zh/cmake-3.14.0/test/opendcp/libasdcp/KM_prng.cpp:248:31: error: aggregate 'BIGNUM bn_x_n' has incomplete type and cannot be defined
BIGNUM bn_tmp, bn_xkey, bn_x_n;
^~~~~~
libasdcp/CMakeFiles/opendcp-asdcp.dir/build.make:88: recipe for target 'libasdcp/CMakeFiles/opendcp-asdcp.dir/KM_prng.cpp.o' failed
make[2]: *** [libasdcp/CMakeFiles/opendcp-asdcp.dir/KM_prng.cpp.o] Error 1
CMakeFiles/Makefile2:200: recipe for target 'libasdcp/CMakeFiles/opendcp-asdcp.dir/all' failed
make[1]: *** [libasdcp/CMakeFiles/opendcp-asdcp.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
what is this?..
The text was updated successfully, but these errors were encountered: