eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingJak zrobić testy Dieharda?Re: Jak zrobić testy Dieharda?
  • X-Received: by 2002:aed:36e7:: with SMTP id f94mr22421655qtb.369.1599517904659; Mon,
    07 Sep 2020 15:31:44 -0700 (PDT)
    X-Received: by 2002:aed:36e7:: with SMTP id f94mr22421655qtb.369.1599517904659; Mon,
    07 Sep 2020 15:31:44 -0700 (PDT)
    Path: news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!2.eu.feeder.erj
    e.net!feeder.erje.net!news.etla.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!
    feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.
    com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!g
    oogle-groups.googlegroups.com!not-for-mail
    Newsgroups: pl.comp.programming
    Date: Mon, 7 Sep 2020 15:31:44 -0700 (PDT)
    In-Reply-To: <5f5693f3$0$558$65785112@news.neostrada.pl>
    Complaints-To: g...@g...com
    Injection-Info: google-groups.googlegroups.com; posting-host=185.186.156.102;
    posting-account=5sNFBgoAAAAxlae8lv99mPyGsDs6ynwB
    NNTP-Posting-Host: 185.186.156.102
    References: <3...@g...com>
    <d...@g...com>
    <5f5693f3$0$558$65785112@news.neostrada.pl>
    User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <1...@g...com>
    Subject: Re: Jak zrobić testy Dieharda?
    From: osobliwy nick <o...@g...com>
    Injection-Date: Mon, 07 Sep 2020 22:31:44 +0000
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    Lines: 95
    Xref: news-archive.icm.edu.pl pl.comp.programming:215158
    [ ukryj 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: