Dzwięk nie działa wogóle;/
Kompilowałem Alsę (standardowo: ./configure, make sudo make install), bez żadnych instrukcji, bo nie znalazłem nic na forum...
Kopilacja alsa-driver wyrzuciła błędy
Kod: Zaznacz cały
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-driver-1.0.16rc1$ make
make dep
SUBDIRS=/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1 CPP="gcc -E" CC="gcc" modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.o
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:29,
from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
include/linux/utsname.h:76:52: error: macro "init_utsname" passed 1 arguments, but takes just 0
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:29,
from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
include/linux/utsname.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c: In function ‘snd_sndstat_proc_read’:
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: ‘system_utsname’ undeclared (first use in this function)
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: (Each undeclared identifier is reported only once
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: for each function it appears in.)
make[3]: *** [/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.o] Błąd 1
make[2]: *** [/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore] Błąd 2
make[1]: *** [_module_/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [compile] Błąd 2
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-driver-1.0.16rc1$
ale mimo to zainstalowałem.
Instalacja (i kompilacja) alsa-lib się udała.
Co do alsa-utils, to configure wyrzuciło błąd:
Kod: Zaznacz cały
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.15... found.
checking for snd_ctl_open in -lasound... yes
checking for snd_tlv_get_dB_range... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
Znalazłem i zainstalowałem libcurses-perl i libcurses-ruby (zwykłego curses ani libcurses nie znalazłem), nie pomogło...
Reinstalacja alsy nie pomogła.
Gdy chcę uruchomić alsamixer
Kod: Zaznacz cały
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.15... found.
checking for snd_ctl_open in -lasound... yes
checking for snd_tlv_get_dB_range... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
Gdy klikam na aplet regulacji głośności:
Kod: Zaznacz cały
Nie odnaleziono wtyczek GStreamer i/lub urządzeń kontroli głośności.
Co robić?