eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingJak zrobić testy Dieharda? › Re: Jak zrobić testy Dieharda?
  • Data: 2020-09-08 00:31:44
    Temat: Re: Jak zrobić testy Dieharda?
    Od: osobliwy nick <o...@g...com> szukaj wiadomości tego autora
    [ pokaż wszystkie nagłówki ]

    W dniu poniedziałek, 7 września 2020 22:11:33 UTC+2 użytkownik Borneq napisał:
    > On 9/7/20 8:31 PM, osobliwy nick wrote:
    > > I teraz "autoreconf --force --install", jeśli dokładnie tak miałem wpisać, daje:
    > >
    > > configure.ac:89: error: possibly undefined macro: AC_PROG_LIBTOOL
    > > If this token and others are legitimate, please use m4_pattern_allow.
    > > See the Autoconf documentation.
    > > autoreconf: /usr/bin/autoconf failed with exit status: 1
    > >
    >
    > Google mówi że prawdopodobnie libtool nie zainstalowany
    > sudo apt-get install libtool

    Udało się. Ale ./autogen.sh zakończył się:

    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: error: in `/mnt/c/Users/omnia/Desktop/Diehard':
    config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking. Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
    See `config.log' for more details
    ====================================================
    ==============

    Makefile should be built, and ./configure --prefix=/usr should be
    completed. You may rerun configure with a different e.g.
    --prefix if you want to put dieharder someplace else. Otherwise
    you should be able to make, make install, or make rpm.

    ====================================================
    ==============

    Nie wiem, czy ten błąd ma znaczenie. "make" zwrócił jakieś 2 błędy:

    (cd libdieharder; \
    make)
    make[1]: Entering directory '/mnt/c/Users/omnia/Desktop/Diehard/libdieharder'
    source='bits.c' object='libdieharder_la-bits.lo' libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../depcomp \
    /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
    -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /usr/include -std=c99 -Wall
    -pedantic -g -O2 -c -o libdieharder_la-bits.lo `test -f 'bits.c' || echo './'`bits.c
    /bin/bash: ../libtool: No such file or directory
    make[1]: *** [Makefile:766: libdieharder_la-bits.lo] Error 127
    make[1]: Leaving directory '/mnt/c/Users/omnia/Desktop/Diehard/libdieharder'
    make: *** [Makefile:948: libwulf.time] Error 2

    Poźniej po ./configure i make:

    (cd libdieharder; \
    make)
    make[1]: Entering directory '/mnt/c/Users/omnia/Desktop/Diehard/libdieharder'
    /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
    -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /usr/local/include -std=c99
    -Wall -pedantic -g -O2 -MT libdieharder_la-bits.lo -MD -MP -MF
    .deps/libdieharder_la-bits.Tpo -c -o libdieharder_la-bits.lo `test -f 'bits.c' ||
    echo './'`bits.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I
    ../include -I /usr/local/include -std=c99 -Wall -pedantic -g -O2 -MT
    libdieharder_la-bits.lo -MD -MP -MF .deps/libdieharder_la-bits.Tpo -c bits.c -fPIC
    -DPIC -o .libs/libdieharder_la-bits.o
    In file included from ../include/dieharder/libdieharder.h:22,
    from bits.c:7:
    /usr/include/unistd.h:1041:20: error: unknown type name 'intptr_t'
    1041 | extern void *sbrk (intptr_t __delta) __THROW;
    | ^~~~~~~~
    bits.c: In function 'fill_uint_buffer':
    bits.c:407:15: warning: variable 'bufbits' set but not used
    [-Wunused-but-set-variable]
    407 | unsigned int bufbits,bdelta;
    | ^~~~~~~
    make[1]: *** [Makefile:764: libdieharder_la-bits.lo] Error 1
    make[1]: Leaving directory '/mnt/c/Users/omnia/Desktop/Diehard/libdieharder'
    make: *** [Makefile:948: libwulf.time] Error 2

    Znowu błędy.

    > kompiluje sie i jestesmy w domu, powstał
    > dieharder-3.31.1/dieharder/.libs/dieharder

    Jak mam to skompilować?

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: