eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingKompilowanie apulse › Kompilowanie apulse
  • Path: news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.
    atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!eternal-september.org!fee
    der.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
    From: Jacek Maciejewski <j...@g...pl>
    Newsgroups: pl.comp.programming
    Subject: Kompilowanie apulse
    Date: Sun, 7 Aug 2016 08:33:50 +0200
    Organization: Bambucco Corp. LTD
    Lines: 100
    Message-ID: <1i5lurtftwh6g.1s8itkrcp2a2g$.dlg@40tude.net>
    Mime-Version: 1.0
    Content-Type: text/plain; charset="iso-8859-2"
    Content-Transfer-Encoding: 8bit
    Injection-Info: mx02.eternal-september.org;
    posting-host="b67952310277adacb2da552ddd77364e"; logging-data="5830";
    mail-complaints-to="a...@e...org";
    posting-account="U2FsdGVkX1+kWkyGbSDbsvKyaHNaNB8h"
    User-Agent: 40tude_Dialog/2.0.15.1pl
    X-Face: 4hY-vJY/j3P@Ah)-U9"n^5EAM]~m_]t{I$LOF/]iz~fNN(6D47ug[9>GO}/"c5.)C?Wc[Agpb\}/6
    t.<O
    Cancel-Lock: sha1:oU4eOHQ4WNaafXxbdE1hPoo9EHA=
    Xref: news-archive.icm.edu.pl pl.comp.programming:209500
    [ ukryj nagłówki ]

    Witam
    Na https://github.com/i-rinat/apulse jest zamieszczony projekt programu
    emulującego pulseaudio. Chciałbym go skompilować (mój OS to Mint 18 64b)
    ale próba wygląda tak:

    jacek@jacek-desktop ~/build $ CFLAGS=-m32 cmake -DAPULSEPATH=/usr/lib
    -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
    -- The C compiler identification is GNU 5.4.0
    -- The CXX compiler identification is GNU 5.4.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- broken
    CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmak
    e:61
    (message):
    The C compiler "/usr/bin/cc" is not able to compile a simple test
    program.

    It fails with the following output:

    Change Dir: /home/jacek/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/make" "cmTC_7cc7c/fast"

    /usr/bin/make -f CMakeFiles/cmTC_7cc7c.dir/build.make
    CMakeFiles/cmTC_7cc7c.dir/build

    make[1]: Wejście do katalogu '/home/jacek/build/CMakeFiles/CMakeTmp'

    Building C object CMakeFiles/cmTC_7cc7c.dir/testCCompiler.c.o

    /usr/bin/cc -m32 -o CMakeFiles/cmTC_7cc7c.dir/testCCompiler.c.o -c
    /home/jacek/build/CMakeFiles/CMakeTmp/testCCompiler.
    c

    Linking C executable cmTC_7cc7c

    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7cc7c.dir/link.txt
    --verbose=1

    /usr/bin/cc -m32 CMakeFiles/cmTC_7cc7c.dir/testCCompiler.c.o -o
    cmTC_7cc7c
    -rdynamic

    /usr/bin/ld: cannot find crt1.o: Nie ma takiego pliku ani katalogu

    /usr/bin/ld: cannot find crti.o: Nie ma takiego pliku ani katalogu

    /usr/bin/ld: opuszczanie niekompatybilnego
    /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a, gdy szukane jest -lgcc

    /usr/bin/ld: cannot find -lgcc

    /usr/bin/ld: opuszczanie niekompatybilnego
    /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so, gdy szukane jest -lgcc_s

    /usr/bin/ld: cannot find -lgcc_s

    /usr/bin/ld: cannot find -lc

    /usr/bin/ld: opuszczanie niekompatybilnego
    /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a, gdy szukane jest -lgcc

    /usr/bin/ld: cannot find -lgcc

    /usr/bin/ld: opuszczanie niekompatybilnego
    /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so, gdy szukane jest -lgcc_s

    /usr/bin/ld: cannot find -lgcc_s

    /usr/bin/ld: cannot find crtn.o: Nie ma takiego pliku ani katalogu

    collect2: error: ld returned 1 exit status

    CMakeFiles/cmTC_7cc7c.dir/build.make:97: polecenia dla obiektu
    'cmTC_7cc7c'
    nie powiodły się

    make[1]: *** [cmTC_7cc7c] Błąd 1

    make[1]: Opuszczenie katalogu '/home/jacek/build/CMakeFiles/CMakeTmp'

    Makefile:126: polecenia dla obiektu 'cmTC_7cc7c/fast' nie powiodły się

    make: *** [cmTC_7cc7c/fast] Błąd 2

    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:1 (project)

    -- Configuring incomplete, errors occurred!
    See also "/home/jacek/build/CMakeFiles/CMakeOutput.log".
    See also "/home/jacek/build/CMakeFiles/CMakeError.log".
    jacek@jacek-desktop ~/build $

    Czy ktoś nie zechciałby pomóc? Dodam że nie jestem informatykiem i
    trzeba mi mówić prosto :)


    --
    Jacek
    "Wszelka izolacja jest glebą, na której wyrasta nienawiść do obcych, a
    jej owoc jest gorzki" - Frank Herbert

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: