Comments (14)
What distribution are you using, and more importantly, does the jitterentropy package you have installed have a package-config (.pc) file included with it? Without that, the autoconf macro that checks for package-config info won't find the library
from rng-tools.
@nhorman this is on arch btw, looking at the package it doesn't look like the maintainer has included a. Pc file. How would I go about creating one?
Here is the package for reference https://www.archlinux.org/packages/community/x86_64/jitterentropy/
from rng-tools.
You can create one by following the directions here:
https://people.freedesktop.org/~dbn/pkg-config-guide.html
but I apologize, rng-tools doesn't use pkg-config to find the library, as the file was never included upstream. Instead it the uses AC_SEARCH_LIBS, which should find the libjitterentropy.so file. A few things might be going wrong here. Can you include the full output of config.log here so that we can figure out exactly what the problem is?
my guess is that arch has a very old version of libjitterentropy, one for which the test function jent_version was not yet defined, causing the search test to fail. If thats the case, the proscribed solution woud be have the arch maintainer update the library to the latest version, or to have you install the library from source directly.
from rng-tools.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rng-tools configure 6.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = archlinux
uname -m = x86_64
uname -r = 5.9.10-96-tkg-upds
uname -s = Linux
uname -v = #1 TKG SMP PREEMPT Tue, 24 Nov 2020 02:08:28 +0000
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/jython/bin/
PATH: /opt/intel/compilers_and_libraries_2020.4.304/linux/bin/intel64
PATH: /opt/intel/compilers_and_libraries_2020.4.304/linux/bin
PATH: /opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/libfabric/bin
PATH: /opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /opt/android-ndk
PATH: /opt/android-sdk/platform-tools
PATH: /opt/android-sdk/tools
PATH: /opt/android-sdk/tools/bin
PATH: /opt/cuda/bin
PATH: /opt/cuda/integration/nsight-compute
PATH: /opt/cuda/integration/nsight-systems
PATH: /opt/intel/advisor_2020.3.0.607294/bin64
PATH: /opt/intel/bin
PATH: /opt/intel/inspector_2020.3.0.604771/bin64
PATH: /opt/intel/vtune_profiler_2020.3.0.612611/bin64
PATH: /usr/lib/jvm/default/bin
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /opt/cuda/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2045: checking build system type
configure:2059: result: x86_64-pc-linux-gnu
configure:2079: checking host system type
configure:2092: result: x86_64-pc-linux-gnu
configure:2112: checking target system type
configure:2125: result: x86_64-pc-linux-gnu
configure:2167: checking for a BSD-compatible install
configure:2235: result: /usr/bin/install -c
configure:2246: checking whether build environment is sane
configure:2301: result: yes
configure:2450: checking for a thread-safe mkdir -p
configure:2489: result: /usr/bin/mkdir -p
configure:2496: checking for gawk
configure:2512: found /usr/bin/gawk
configure:2523: result: gawk
configure:2534: checking whether make sets $(MAKE)
configure:2556: result: yes
configure:2585: checking whether make supports nested variables
configure:2602: result: yes
configure:2774: checking whether to enable maintainer-specific portions of Makefiles
configure:2783: result: no
configure:2800: checking whether make supports the include directive
configure:2815: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:2818: $? = 0
configure:2837: result: yes (GNU style)
configure:2907: checking for gcc
configure:2923: found /usr/bin/gcc
configure:2934: result: gcc
configure:3163: checking for C compiler version
configure:3172: gcc --version >&5
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3183: $? = 0
configure:3172: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC)
configure:3183: $? = 0
configure:3172: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3183: $? = 1
configure:3172: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3183: $? = 1
configure:3203: checking whether the C compiler works
configure:3225: gcc conftest.c >&5
configure:3229: $? = 0
configure:3277: result: yes
configure:3280: checking for C compiler default output file name
configure:3282: result: a.out
configure:3288: checking for suffix of executables
configure:3295: gcc -o conftest conftest.c >&5
configure:3299: $? = 0
configure:3321: result:
configure:3343: checking whether we are cross compiling
configure:3351: gcc -o conftest conftest.c >&5
configure:3355: $? = 0
configure:3362: ./conftest
configure:3366: $? = 0
configure:3354: result: no
configure:3359: checking for suffix of object files
configure:3381: gcc -c conftest.c >&5
configure:3385: $? = 0
configure:3406: result: o
configure:3410: checking whether we are using the GNU C compiler
configure:3429: gcc -c conftest.c >&5
configure:3429: $? = 0
configure:3438: result: yes
configure:3447: checking whether gcc accepts -g
configure:3467: gcc -c -g conftest.c >&5
configure:3467: $? = 0
configure:3508: result: yes
configure:3525: checking for gcc option to accept ISO C89
configure:3588: gcc -c -g -O2 conftest.c >&5
configure:3588: $? = 0
configure:3601: result: none needed
configure:3626: checking whether gcc understands -c and -o together
configure:3648: gcc -c conftest.c -o conftest2.o
configure:3651: $? = 0
configure:3648: gcc -c conftest.c -o conftest2.o
configure:3651: $? = 0
configure:3663: result: yes
configure:3682: checking dependency style of gcc
configure:3793: result: gcc3
configure:3817: checking dependency style of gcc
configure:3926: result: gcc3
configure:3990: checking for gcc
configure:4017: result: gcc
configure:4246: checking for C compiler version
configure:4255: gcc --version >&5
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4266: $? = 0
configure:4255: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC)
configure:4266: $? = 0
configure:4255: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4266: $? = 1
configure:4255: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4266: $? = 1
configure:4270: checking whether we are using the GNU C compiler
configure:4298: result: yes
configure:4307: checking whether gcc accepts -g
configure:4368: result: yes
configure:4385: checking for gcc option to accept ISO C89
configure:4461: result: none needed
configure:4486: checking whether gcc understands -c and -o together
configure:4523: result: yes
configure:4542: checking dependency style of gcc
configure:4653: result: gcc3
configure:4711: checking for ranlib
configure:4727: found /usr/bin/ranlib
configure:4738: result: ranlib
configure:4766: checking how to run the C preprocessor
configure:4797: gcc -E conftest.c
configure:4797: $? = 0
configure:4811: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4811: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rng-tools"
| #define PACKAGE_TARNAME "rng-tools"
| #define PACKAGE_VERSION "6.10"
| #define PACKAGE_STRING "rng-tools 6.10"
| #define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
| #define PACKAGE_URL ""
| #define PACKAGE "rng-tools"
| #define VERSION "6.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4836: result: gcc -E
configure:4856: gcc -E conftest.c
configure:4856: $? = 0
configure:4870: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4870: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rng-tools"
| #define PACKAGE_TARNAME "rng-tools"
| #define PACKAGE_VERSION "6.10"
| #define PACKAGE_STRING "rng-tools 6.10"
| #define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
| #define PACKAGE_URL ""
| #define PACKAGE "rng-tools"
| #define VERSION "6.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4899: checking for grep that handles long lines and -e
configure:4957: result: /usr/bin/grep
configure:4962: checking for egrep
configure:5024: result: /usr/bin/grep -E
configure:5030: checking whether gcc needs -traditional
configure:5064: result: no
configure:5121: checking for ar
configure:5137: found /usr/bin/ar
configure:5148: result: ar
configure:5173: checking for a sed that does not truncate output
configure:5237: result: /usr/bin/sed
configure:5425: checking whether gcc is Clang
configure:5450: result: no
configure:5573: checking whether pthreads work with -pthread
configure:5667: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:5667: $? = 0
configure:5676: result: yes
configure:5695: checking for joinable pthread attribute
configure:5713: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:5713: $? = 0
configure:5721: result: PTHREAD_CREATE_JOINABLE
configure:5735: checking whether more special flags are required for pthreads
configure:5748: result: no
configure:5756: checking for PTHREAD_PRIO_INHERIT
configure:5772: gcc -o conftest -g -O2 -pthread conftest.c >&5
configure:5772: $? = 0
configure:5781: result: yes
configure:5932: Searching for jitterentropy library
configure:5934: checking for library containing jent_version
configure:5965: gcc -o conftest -g -O2 conftest.c >&5
/usr/bin/ld: /tmp/ccUEUX2u.o: in function `main':
/home/danhyal/Downloads/rng-tools/conftest.c:25: undefined reference to `jent_version'
collect2: error: ld returned 1 exit status
configure:5965: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rng-tools"
| #define PACKAGE_TARNAME "rng-tools"
| #define PACKAGE_VERSION "6.10"
| #define PACKAGE_STRING "rng-tools 6.10"
| #define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
| #define PACKAGE_URL ""
| #define PACKAGE "rng-tools"
| #define VERSION "6.10"
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD 1
| #define HAVE_RDRAND 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char jent_version ();
| int
| main ()
| {
| return jent_version ();
| ;
| return 0;
| }
configure:5965: gcc -o conftest -g -O2 conftest.c -ljitterentropy >&5
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libjitterentropy.so: undefined reference to `pthread_join'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libjitterentropy.so: undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
configure:5965: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rng-tools"
| #define PACKAGE_TARNAME "rng-tools"
| #define PACKAGE_VERSION "6.10"
| #define PACKAGE_STRING "rng-tools 6.10"
| #define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
| #define PACKAGE_URL ""
| #define PACKAGE "rng-tools"
| #define VERSION "6.10"
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD 1
| #define HAVE_RDRAND 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char jent_version ();
| int
| main ()
| {
| return jent_version ();
| ;
| return 0;
| }
configure:5982: result: no
configure:5999: No Jitterentropy library found
configure:6064: checking for pkg-config
configure:6082: found /usr/bin/pkg-config
configure:6094: result: /usr/bin/pkg-config
configure:6119: checking pkg-config is at least version 0.9.0
configure:6122: result: yes
configure:6134: checking for libcurl
configure:6141: $PKG_CONFIG --exists --print-errors "libcurl"
configure:6144: $? = 0
configure:6158: $PKG_CONFIG --exists --print-errors "libcurl"
configure:6161: $? = 0
configure:6199: result: yes
configure:6205: checking for libxml2
configure:6212: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:6215: $? = 0
configure:6229: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:6232: $? = 0
configure:6270: result: yes
configure:6276: checking for jansson
configure:6283: $PKG_CONFIG --exists --print-errors "jansson"
configure:6286: $? = 0
configure:6300: $PKG_CONFIG --exists --print-errors "jansson"
configure:6303: $? = 0
configure:6341: result: yes
configure:6356: checking for libp11
configure:6363: $PKG_CONFIG --exists --print-errors "libp11"
configure:6366: $? = 0
configure:6380: $PKG_CONFIG --exists --print-errors "libp11"
configure:6383: $? = 0
configure:6421: result: yes
configure:6427: checking for libcrypto
configure:6434: $PKG_CONFIG --exists --print-errors "libcrypto"
configure:6437: $? = 0
configure:6451: $PKG_CONFIG --exists --print-errors "libcrypto"
configure:6454: $? = 0
configure:6492: result: yes
configure:6596: checking for openssl
configure:6603: $PKG_CONFIG --exists --print-errors "openssl"
configure:6606: $? = 0
configure:6620: $PKG_CONFIG --exists --print-errors "openssl"
configure:6623: $? = 0
configure:6661: result: yes
configure:6692: checking for library containing sysfs_get_mnt_path
configure:6723: gcc -o conftest -g -O2 conftest.c >&5
/usr/bin/ld: /tmp/cc5ZBJKs.o: in function `main':
/home/danhyal/Downloads/rng-tools/conftest.c:27: undefined reference to `sysfs_get_mnt_path'
collect2: error: ld returned 1 exit status
configure:6723: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rng-tools"
| #define PACKAGE_TARNAME "rng-tools"
| #define PACKAGE_VERSION "6.10"
| #define PACKAGE_STRING "rng-tools 6.10"
| #define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
| #define PACKAGE_URL ""
| #define PACKAGE "rng-tools"
| #define VERSION "6.10"
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD 1
| #define HAVE_RDRAND 1
| #define HAVE_NISTBEACON 1
| #define HAVE_PKCS11 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sysfs_get_mnt_path ();
| int
| main ()
| {
| return sysfs_get_mnt_path ();
| ;
| return 0;
| }
configure:6723: gcc -o conftest -g -O2 conftest.c -lsysfs >&5
configure:6723: $? = 0
configure:6740: result: -lsysfs
configure:6766: gcc -o conftest -g -O2 conftest.c -lsysfs >&5
conftest.c: In function 'main':
conftest.c:20:52: warning: passing argument 3 of 'argp_parse' from incompatible pointer type [-Wincompatible-pointer-types]
20 | int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
| ^~~~
| |
| char *
In file included from conftest.c:16:
/usr/include/argp.h:371:37: note: expected 'char ** restrict' but argument is of type 'char *'
371 | int __argc, char **__restrict __argv,
| ~~~~~~~~~~~~~~~~~~^~~~~~
configure:6766: $? = 0
configure:6847: checking dependency style of gcc
configure:6956: result: gcc3
configure:7076: checking that generated files are newer than configure
configure:7082: result: done
configure:7149: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by rng-tools config.status 6.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on archlinux
config.status:905: creating Makefile
config.status:905: creating contrib/Makefile
config.status:905: creating tests/Makefile
config.status:905: creating rngd.8
config.status:905: creating rngtest.1
config.status:905: creating rng-tools-config.h
config.status:1086: rng-tools-config.h is unchanged
config.status:1134: executing depfiles commands
config.status:1211: cd . && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for 'am--depfiles'.
config.status:1216: $? = 0
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib/pkgconfig:
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_jansson_CFLAGS_set=
ac_cv_env_jansson_CFLAGS_value=
ac_cv_env_jansson_LIBS_set=
ac_cv_env_jansson_LIBS_value=
ac_cv_env_libcrypto_CFLAGS_set=
ac_cv_env_libcrypto_CFLAGS_value=
ac_cv_env_libcrypto_LIBS_set=
ac_cv_env_libcrypto_LIBS_value=
ac_cv_env_libcurl_CFLAGS_set=
ac_cv_env_libcurl_CFLAGS_value=
ac_cv_env_libcurl_LIBS_set=
ac_cv_env_libcurl_LIBS_value=
ac_cv_env_libp11_CFLAGS_set=
ac_cv_env_libp11_CFLAGS_value=
ac_cv_env_libp11_LIBS_set=
ac_cv_env_libp11_LIBS_value=
ac_cv_env_librtlsdr_CFLAGS_set=
ac_cv_env_librtlsdr_CFLAGS_value=
ac_cv_env_librtlsdr_LIBS_set=
ac_cv_env_librtlsdr_LIBS_value=
ac_cv_env_libxml2_CFLAGS_set=
ac_cv_env_libxml2_CFLAGS_value=
ac_cv_env_libxml2_LIBS_set=
ac_cv_env_libxml2_LIBS_value=
ac_cv_env_openssl_CFLAGS_set=
ac_cv_env_openssl_CFLAGS_value=
ac_cv_env_openssl_LIBS_set=
ac_cv_env_openssl_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_gcc_traditional=no
ac_cv_prog_make_make_set=yes
ac_cv_search_jent_version=no
ac_cv_search_sysfs_get_mnt_path=-lsysfs
ac_cv_target=x86_64-pc-linux-gnu
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_PTHREAD_CLANG=no
ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE
ax_cv_PTHREAD_PRIO_INHERIT=yes
ax_cv_PTHREAD_SPECIAL_FLAGS=no
pkg_cv_jansson_CFLAGS=
pkg_cv_jansson_LIBS='-ljansson '
pkg_cv_libcrypto_CFLAGS=
pkg_cv_libcrypto_LIBS='-lcrypto '
pkg_cv_libcurl_CFLAGS=
pkg_cv_libcurl_LIBS='-lcurl '
pkg_cv_libp11_CFLAGS=
pkg_cv_libp11_LIBS='-lp11 '
pkg_cv_libxml2_CFLAGS='-I/usr/include/libxml2 '
pkg_cv_libxml2_LIBS='-lxml2 '
pkg_cv_openssl_CFLAGS=
pkg_cv_openssl_LIBS='-lssl -lcrypto '
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/danhyal/Downloads/rng-tools/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/danhyal/Downloads/rng-tools/missing autoconf'
AUTOHEADER='${SHELL} /home/danhyal/Downloads/rng-tools/missing autoheader'
AUTOMAKE='${SHELL} /home/danhyal/Downloads/rng-tools/missing automake-1.16'
AWK='gawk'
CC='gcc'
CCAS='gcc'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-g -O2'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DARN_FALSE=''
DARN_TRUE='#'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JITTER_FALSE=''
JITTER_TRUE='#'
LDFLAGS=''
LIBOBJS=''
LIBS='-lsysfs '
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/danhyal/Downloads/rng-tools/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
NISTBEACON_FALSE='#'
NISTBEACON_TRUE=''
OBJEXT='o'
PACKAGE='rng-tools'
PACKAGE_BUGREPORT='Neil Horman <[email protected]>'
PACKAGE_NAME='rng-tools'
PACKAGE_STRING='rng-tools 6.10'
PACKAGE_TARNAME='rng-tools'
PACKAGE_URL=''
PACKAGE_VERSION='6.10'
PATH_SEPARATOR=':'
PKCS11_ENGINE='/usr/lib64/opensc-pkcs11.so'
PKCS11_FALSE='#'
PKCS11_TRUE=''
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/lib/pkgconfig:'
PTHREAD_CC='gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='ranlib'
RDRAND_FALSE='#'
RDRAND_TRUE=''
RTLSDR_FALSE=''
RTLSDR_TRUE='#'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='6.10'
ac_ct_AR='ar'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/danhyal/Downloads/rng-tools/install-sh'
jansson_CFLAGS=''
jansson_LIBS='-ljansson '
libcrypto_CFLAGS=''
libcrypto_LIBS='-lcrypto '
libcurl_CFLAGS=''
libcurl_LIBS='-lcurl '
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libp11_CFLAGS=''
libp11_LIBS='-lp11 '
librtlsdr_CFLAGS=''
librtlsdr_LIBS=''
libxml2_CFLAGS='-I/usr/include/libxml2 '
libxml2_LIBS='-lxml2 '
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
openssl_CFLAGS=''
openssl_LIBS='-lssl -lcrypto '
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "rng-tools"
#define PACKAGE_TARNAME "rng-tools"
#define PACKAGE_VERSION "6.10"
#define PACKAGE_STRING "rng-tools 6.10"
#define PACKAGE_BUGREPORT "Neil Horman <[email protected]>"
#define PACKAGE_URL ""
#define PACKAGE "rng-tools"
#define VERSION "6.10"
#define HAVE_PTHREAD_PRIO_INHERIT 1
#define HAVE_PTHREAD 1
#define HAVE_RDRAND 1
#define HAVE_NISTBEACON 1
#define HAVE_PKCS11 1
configure: exit 0
I dont believe the jitterentropy version is the issue since it was last updated a day ago
from rng-tools.
Yeah, it looks like, from the logs, it found libjitterentropy.so, but couldn't find the jent_version symbol, which suggests that the arch version of the library is quite old. I suggest that you get the package maintainer to update to a much more recent version
from rng-tools.
It's actually the other way round, the arch version is the recently released v3.0.0, downgrading to v2.2.0 solves the detection issue, so it must be a problem with rng-tools not working with the new release of jitterentropy.
from rng-tools.
Shoot, you're right. Looks like there was a recent commit that made jent_version a static function if JENT_PRIVATE_COMPILE is defined. Not sure what that's really there for, but I'll look into it
from rng-tools.
hmm, can you tell me if, in the arch build of libjitterentropy JENT_PRIVATE_COMPILE is defined during the build? It seems like it shouldn't be, but might
from rng-tools.
https://github.com/archlinux/svntogit-community/blob/packages/jitterentropy/trunk/PKGBUILD Have a look at the build script, it doesnt look like it is though
from rng-tools.
I have the same issue (void linux). The problem seems to be that to link against the new libjitterentropy, one also needs "-lpthread".
from rng-tools.
yeah, adding -lpthread seems to resolve the compilation issue. I've pushed a commit on this branch:
https://github.com/nhorman/rng-tools/tree/jitter-fix
Give it a build and confirm that it works for you all, and I'll merge it
from rng-tools.
can confirm it works correctly now
from rng-tools.
Works for me.
from rng-tools.
resolved by pr #110
from rng-tools.
Related Issues (20)
- v6.15 build fails with jitterentropy 3.4 HOT 4
- rng-tools stopped to build with jitterentropy v3.4.0 HOT 16
- kernel handling of hwrng versus rngd HOT 3
- [6.14] rngd --list not showing full list and hangs HOT 31
- rngd and the LRNG HOT 14
- rngtestjitter.sh failures after recent changes HOT 23
- building without qrypt fails HOT 1
- Is it useful with kernel 5.18 (new rng blake2 output - entropy_avail always equal to 256)? HOT 1
- rngd fails with gcrypt library HOT 2
- 'rngd -l' | sources associated to an incorrect index HOT 1
- Add mention of kernel version when referring to it in documentation HOT 6
- External tool as entropy source for Jetson devices HOT 3
- Consider a new release for compatibility with jitterentropy-3.4 HOT 1
- Is it possible to add an option to capture the random data from the source to a file rather than adding it to the kernel entropy pool ? HOT 2
- 6.16: test suie runs forever HOT 2
- Change poolsize definition for recent Linux kernels? HOT 5
- Socket interface for hardware TRNGs HOT 7
- JITTER_OPT_TIMEOUT default value is too low HOT 4
- Coarse mixing of multiple entropy sources HOT 3
- xread_jitter bails out with EWOULDBLOCK in init_jitter_entropy_source (rngd_jitter.c) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rng-tools.