Git Product home page Git Product logo

Comments (1)

msmyers avatar msmyers commented on July 3, 2024

I as well had an issue. Running Stretch.

Master Branch

./autogen.sh

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:7: installing 'config/compile'
configure.ac:5: installing 'config/config.guess'
configure.ac:5: installing 'config/config.sub'
configure.ac:9: installing 'config/install-sh'
configure.ac:9: installing 'config/missing'
Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
autoreconf: Leaving directory `.'

./configure

checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether make supports nested variables... (cached) yes
checking for $COMPILE_DATE in the environment...
...no $COMPILE_DATE found in our build environment. Generating now...
...$COMPILE_DATE is set to: 1602987322
checking PolarSSL... checking whether C compiler accepts ... yes
checking for ssl_init in -lpolarssl... no
checking whether C compiler accepts -I/include... yes
checking for ssl_init in -lpolarssl... (cached) no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking linux/rtc.h usability... yes
checking linux/rtc.h presence... yes
checking for linux/rtc.h... yes
checking for struct rtc_time... yes
checking for strchrnul... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for prctl... yes
checking for preadv... yes
checking for pwritev... yes
checking for setresuid... yes
checking for fmemopen... yes
checking for funopen... no
checking for clock_gettime... yes
checking user/group to drop privs to... nobody:nogroup
checking group to allow DBus calls from... root
checking for clock_gettime... (cached) yes
checking for LIBEVENT... yes
checking kernel for seccomp_filter support... yes
checking for CrOS-specific platform wake event support... no
checking whether the linker accepts ... yes
checking whether C compiler accepts -g... yes
checking whether C compiler accepts -O1... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts -fPIE... yes
checking whether C compiler accepts -Wstack-protector... yes
checking whether C compiler accepts --param=ssp-buffer-size=1... yes
checking whether the linker accepts -z relro -z now... yes
checking whether the linker accepts -pie... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating dbus/org.torproject.tlsdate.conf
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

make

Making src/configmake.h
make  all-am
make[1]: Entering directory '/home/pi/tlsdate'
  CC       src/proxy-bio.o
  CC       src/proxy-bio-unittest.o
  CC       src/test-bio.o
  CC       src/util.o
src/test-bio.c: In function ‘bio_ctx’:
src/test-bio.c:37:27: error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’
   struct test_ctx *ctx = b->ptr;
                           ^~
src/test-bio.c: At top level:
src/test-bio.c:117:1: error: variable ‘test_methods’ has initializer but incomplete type
 BIO_METHOD test_methods =
 ^~~~~~~~~~
src/test-bio.c:119:3: warning: excess elements in struct initializer
   BIO_TYPE_SOCKET,
   ^~~~~~~~~~~~~~~
src/test-bio.c:119:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:120:3: warning: excess elements in struct initializer
   "test",
   ^~~~~~
src/test-bio.c:120:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:121:3: warning: excess elements in struct initializer
   test_write,
   ^~~~~~~~~~
src/test-bio.c:121:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:122:3: warning: excess elements in struct initializer
   test_read,
   ^~~~~~~~~
src/test-bio.c:122:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:123:3: warning: excess elements in struct initializer
   NULL,
   ^~~~
src/test-bio.c:123:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:124:3: warning: excess elements in struct initializer
   NULL,
   ^~~~
src/test-bio.c:124:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:125:3: warning: excess elements in struct initializer
   test_ctrl,
   ^~~~~~~~~
src/test-bio.c:125:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:126:3: warning: excess elements in struct initializer
   test_new,
   ^~~~~~~~
src/test-bio.c:126:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:127:3: warning: excess elements in struct initializer
   test_free,
   ^~~~~~~~~
src/test-bio.c:127:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:128:3: warning: excess elements in struct initializer
   test_callback_ctrl,
   ^~~~~~~~~~~~~~~~~~
src/test-bio.c:128:3: note: (near initialization for ‘test_methods’)
src/test-bio.c:117:12: error: storage size of ‘test_methods’ isn’t known
 BIO_METHOD test_methods =
            ^~~~~~~~~~~~
Makefile:1896: recipe for target 'src/test-bio.o' failed
make[1]: *** [src/test-bio.o] Error 1
make[1]: *** Waiting for unfinished jobs....
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/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:1896: recipe for target 'src/proxy-bio.o' failed
make[1]: *** [src/proxy-bio.o] Error 1
make[1]: Leaving directory '/home/pi/tlsdate'
Makefile:1367: recipe for target 'all' failed
make: *** [all] Error 2

debian-master

./autogen.sh

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:7: installing 'config/compile'
configure.ac:9: installing 'config/missing'
Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'

./configure

checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether make supports nested variables... (cached) yes
checking for $COMPILE_DATE in the environment...
...no $COMPILE_DATE found in our build environment. Generating now...
...$COMPILE_DATE is set to: 1602987604
checking PolarSSL... checking whether C compiler accepts ... yes
checking for ssl_init in -lpolarssl... no
checking whether C compiler accepts -I/include... yes
checking for ssl_init in -lpolarssl... (cached) no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking linux/rtc.h usability... yes
checking linux/rtc.h presence... yes
checking for linux/rtc.h... yes
checking for struct rtc_time... yes
checking for strchrnul... yes
checking for strnlen... yes
checking for gettimeofday... yes
checking for prctl... yes
checking for preadv... yes
checking for pwritev... yes
checking for setresuid... yes
checking for fmemopen... yes
checking for funopen... no
checking for clock_gettime... yes
checking user/group to drop privs to... nobody:nogroup
checking group to allow DBus calls from... root
checking for clock_gettime... (cached) yes
checking for LIBEVENT... yes
checking kernel for seccomp_filter support... yes
checking for CrOS-specific platform wake event support... no
checking whether the linker accepts ... yes
checking whether C compiler accepts -g... yes
checking whether C compiler accepts -O1... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts -fPIE... yes
checking whether C compiler accepts -Wstack-protector... yes
checking whether C compiler accepts --param=ssp-buffer-size=1... yes
checking whether the linker accepts -z relro -z now... yes
checking whether the linker accepts -pie... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating dbus/org.torproject.tlsdate.conf
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

make

Making src/configmake.h
make  all-am
make[1]: Entering directory '/home/pi/tlsdate'
  CC       src/src_tlsdate_helper-proxy-bio.o
  CC       src/src_tlsdate_helper-tlsdate-helper.o
  CC       src/conf.o
  CC       src/conf-unittest.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: recipe for target 'src/src_tlsdate_helper-proxy-bio.o' failed
make[1]: *** [src/src_tlsdate_helper-proxy-bio.o] Error 1
make[1]: *** Waiting for unfinished jobs....
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:1336: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:1629:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
 ^
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: recipe for target 'src/src_tlsdate_helper-tlsdate-helper.o' failed
make[1]: *** [src/src_tlsdate_helper-tlsdate-helper.o] Error 1
make[1]: Leaving directory '/home/pi/tlsdate'
Makefile:1367: recipe for target 'all' failed
make: *** [all] Error 2

make install

make  install-am
make[1]: Entering directory '/home/pi/tlsdate'
  CC       src/src_tlsdate_helper-tlsdate-helper.o
  CC       src/src_tlsdate_helper-proxy-bio.o
  CC       src/src_tlsdated_unittest-tlsdate-monitor.o
  CC       src/src_tlsdated_unittest-seccomp.o
  CC       src/src_tlsdated_unittest-tlsdate-setter.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: recipe for target 'src/src_tlsdate_helper-proxy-bio.o' failed
make[1]: *** [src/src_tlsdate_helper-proxy-bio.o] Error 1
make[1]: *** Waiting for unfinished jobs....
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:1336: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:1629:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
 ^
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: recipe for target 'src/src_tlsdate_helper-tlsdate-helper.o' failed
make[1]: *** [src/src_tlsdate_helper-tlsdate-helper.o] Error 1
make[1]: Leaving directory '/home/pi/tlsdate'
Makefile:3201: recipe for target 'install' failed
make: *** [install] Error 2

from tlsdate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.