🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #72810

Skompilowanie apulse

#72810
From: Jacek Maciejewski
Date: Sat, 06 Aug 2016 08:24
99 lines
4202 bytes
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.cmake: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
Technical Details
Message-ID: <1syc7umgz3wnh.a5da2nsoa5n$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Jacek Maciejewski <jacmac@go2.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: Skompilowanie apulse
Date: Sat, 6 Aug 2016 10:24:35 +0200
Organization: Bambucco Corp. LTD
Lines: 99
Message-ID: <1syc7umgz3wnh.a5da2nsoa5n$.dlg@40tude.net>
Mime-Version: 1.0
Injection-Info: mx02.eternal-september.org; posting-host="b67952310277adacb2da552ddd77364e"; logging-data="5838"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+B0GXKCuD1KsD0WgR0A02S"
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\}/6t.<O
Cancel-Lock: sha1:8sxO0fQr9m7umVSRmKyHcRzJJqI=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit