eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingKompilowanie apulse › Kompilowanie apulse
  • Data: 2016-08-07 08:33:50
    Temat: Kompilowanie apulse
    Od: Jacek Maciejewski <j...@g...pl> szukaj wiadomości tego autora
    [ pokaż wszystkie 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: