-
Notifications
You must be signed in to change notification settings - Fork 74
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
compile error on raspberrypi #203
Comments
I as well had an issue. Running Stretch. Master Branch
debian-master
|
majidrafati
referenced
this issue
Dec 23, 2021
- Integration tests now all run properly - Added 'emit' helper for integration tests - Cleaned up accidental closure of stdin if hwclock isn't being sync'd - Cleaned up verb_debug to just use logat cleanly - Updated man page for -U (dbus disable) and -b (verbose_debug) - Pushed in placeholders for some unittests that need to be added.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
because there is no tlsdate package in repo, tried compile but gives error
used 0.13-debian-1
CC src/src_tlsdate_helper-util.o src/proxy-bio.c: In function ‘proxy_new’: src/proxy-bio.c:53:4: error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’ b->init = 1; ^~ src/proxy-bio.c: At top level: src/proxy-bio.c:377:1: error: variable ‘proxy_methods’ has initializer but incomplete type BIO_METHOD proxy_methods = ^~~~~~~~~~ src/proxy-bio.c:379:3: warning: excess elements in struct initializer BIO_TYPE_MEM, ^~~~~~~~~~~~ src/proxy-bio.c:379:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:380:3: warning: excess elements in struct initializer "proxy", ^~~~~~~ src/proxy-bio.c:380:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:381:3: warning: excess elements in struct initializer proxy_write, ^~~~~~~~~~~ src/proxy-bio.c:381:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:382:3: warning: excess elements in struct initializer proxy_read, ^~~~~~~~~~ src/proxy-bio.c:382:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:383:3: warning: excess elements in struct initializer proxy_puts, ^~~~~~~~~~ src/proxy-bio.c:383:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:384:3: warning: excess elements in struct initializer proxy_gets, ^~~~~~~~~~ src/proxy-bio.c:384:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:385:3: warning: excess elements in struct initializer proxy_ctrl, ^~~~~~~~~~ src/proxy-bio.c:385:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:386:3: warning: excess elements in struct initializer proxy_new, ^~~~~~~~~ src/proxy-bio.c:386:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:387:3: warning: excess elements in struct initializer proxy_free, ^~~~~~~~~~ src/proxy-bio.c:387:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:388:3: warning: excess elements in struct initializer proxy_callback_ctrl, ^~~~~~~~~~~~~~~~~~~ src/proxy-bio.c:388:3: note: (near initialization for ‘proxy_methods’) src/proxy-bio.c:377:12: error: storage size of ‘proxy_methods’ isn’t known BIO_METHOD proxy_methods = ^~~~~~~~~~~~~ src/proxy-bio.c: In function ‘proxy_gets’: src/proxy-bio.c:363:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/proxy-bio.c: In function ‘proxy_puts’: src/proxy-bio.c:368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/proxy-bio.c: In function ‘proxy_callback_ctrl’: src/proxy-bio.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:1997: die Regel für Ziel „src/src_tlsdate_helper-proxy-bio.o“ scheiterte make[1]: *** [src/src_tlsdate_helper-proxy-bio.o] Fehler 1 make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet... src/util.c: In function ‘no_new_privs’: src/util.c:125:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (0 != prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); ^~ src/util.c:126:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ die ("Failed to PR_SET_NO_NEW_PRIVS"); ^~~ src/tlsdate-helper.c: In function ‘openssl_time_callback’: src/tlsdate-helper.c:377:11: error: dereferencing pointer to incomplete type ‘SSL {aka const struct ssl_st}’ (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B)) ^~ src/tlsdate-helper.c:377:22: error: ‘SSL3_ST_CR_SRVR_HELLO_A’ undeclared (first use in this function) (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B)) ^~~~~~~~~~~~~~~~~~~~~~~ src/tlsdate-helper.c:377:22: note: each undeclared identifier is reported only once for each function it appears in src/tlsdate-helper.c:377:63: error: ‘SSL3_ST_CR_SRVR_HELLO_B’ undeclared (first use in this function) (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B)) ^~~~~~~~~~~~~~~~~~~~~~~ src/tlsdate-helper.c: In function ‘get_certificate_keybits’: src/tlsdate-helper.c:414:21: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’ switch (public_key->type) ^~ src/tlsdate-helper.c: In function ‘check_san’: src/tlsdate-helper.c:698:18: error: dereferencing pointer to incomplete type ‘X509_EXTENSION {aka struct X509_extension_st}’ tmp = ext->value->data; ^~ src/tlsdate-helper.c: In function ‘run_ssl’: src/tlsdate-helper.c:1139:23: warning: implicit declaration of function ‘SSLv3_client_method’ [-Wimplicit-function-declaration] ctx = SSL_CTX_new(SSLv3_client_method()); ^~~~~~~~~~~~~~~~~~~ src/tlsdate-helper.c:1139:23: warning: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion] In file included from ./src/tlsdate-helper.h:38:0, from src/tlsdate-helper.c:78: /usr/include/openssl/ssl.h:1503:17: note: expected ‘const SSL_METHOD * {aka const struct ssl_method_st *}’ but argument is of type ‘int’ __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^~~~~~~~~~~ src/tlsdate-helper.c:1143:5: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] ctx = SSL_CTX_new(TLSv1_client_method()); ^~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/bio.h:13, from ./src/tlsdate-helper.h:37, from src/tlsdate-helper.c:78: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ src/tlsdate-helper.c:1207:27: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’ memcpy(&result_time, ssl->s3->server_random, sizeof (uint32_t)); ^~ Makefile:1969: die Regel für Ziel „src/src_tlsdate_helper-tlsdate-helper.o“ scheiterte make[1]: *** [src/src_tlsdate_helper-tlsdate-helper.o] Fehler 1 make[1]: Verzeichnis „/root/tlsdate-tlsdate-0.0.13-debian-1“ wird verlassen Makefile:1367: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2
The text was updated successfully, but these errors were encountered: