Page 72 of 124 FirstFirst ... 2262707172737482122 ... LastLast
Results 711 to 720 of 1236

Thread: ALSA Upgrade Script

  1. #711
    Join Date
    Apr 2010
    Beans
    1

    Sony Vaio VPCE-B1J1 e series

    A lot of thanks !!!!!

    The alsa upgrade script has solved my problem. But, with an additonal step: I have had to edit the /etc/modprobe.d/alsa-base.conf and set the model option of snd-hda-intel module to "generic". With this, I have sound on headphones, but not on speakers. For me, it enough. You can read about this bug on alsa bug traccker : https://bugtrack.alsa-project.org/al...ew.php?id=4934.

    Another issue is that I have the 2.6.33 kernel installed, and this version has some changes on kernel source tree,. This makes the compilation step fails by missing the header file "include/linux/autoconf.h". The file exist, but in another path: "include/generated/autoconf.h". The same occurs with other files. To solve this, I have copied all files from "include/generated" to "include/linux" on the kernel source files directory.

  2. #712
    Join Date
    Mar 2007
    Beans
    28

    Re: ALSA Upgrade Script

    Well, I used the script and everything worked, except that aplay -l only recognizes the on-board audio card, not my plug-in card (with the NVIDIA GT220). lspci sees both fine.

    Here's a snippet from the the alsa-info script:
    Code:
    !!Soundcards recognised by ALSA
    !!-----------------------------
    
     0 [NVidia         ]: HDA-Intel - HDA NVidia
                          HDA NVidia at 0xfe024000 irq 27
     1 [NVidia_1       ]: HDA-Intel - HDA NVidia
                          HDA NVidia at 0xfcffc000 irq 28
    
    
    !!PCI Soundcards installed in the system
    !!--------------------------------------
    
    00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
    03:00.1 Audio device: nVidia Corporation Device 0be3 (rev a1)
    04:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
    As you can see, ALSA only sees the onboard ones (PCI address 0), not the PCI-Express card (PCI address 3).

    Any ideas?

  3. #713
    Join Date
    Mar 2007
    Beans
    28

    Re: ALSA Upgrade Script

    Well, the problem was that the alsa source code downloaded by the -d doesn't support these NVidia chips.

    The solution was to run the script with -s before compiling (running with -c). That downloaded the snapshot, which includes the code to support the newest NVidia chips with HDMI sound.

  4. #714
    Join Date
    Jul 2009
    Beans
    1

    Red face Re: ALSA Upgrade Script

    Quote Originally Posted by pulpinator View Post
    The solution was to run the script with -s before compiling (running with -c). That downloaded the snapshot, which includes the code to support the newest NVidia chips with HDMI sound.
    I've just done that... (-s) and the response in terminal is "alsa-driver-1.0.22.1 not found"

    bugger?

    EDIT: The network cable slipped out (my bad!)
    Last edited by Token78; April 7th, 2010 at 06:04 AM.

  5. #715
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: ALSA Upgrade Script

    Never mind my previous. Went the hard route. Upgraded from Ubuntu 9.10 to 10.04 (first beta1, now beta2)... Still had sound problems, but ALSA core installed.

    Remember I said the on-board sound had faults? With the driver for that loaded, it loaded as the default driver and nixed anything going anywhere else. I used terminal to switch the default the driver to the snd-ctxfi driver. I then got sound, but it would intermittently fade and/or error out. I then went back into a terminal session and uninstalled the snd-intel8x0 driver altogether.

    Presto!!! Better sound "now" using ALSA in Ubuntu than I get in either WIN7 and Windows Vista on this same machine!!! Thank you for this tutorial and your script. If it wasn't there for me to go through and read, I would still be fumbling around, trying to figure out how to correct it.

  6. #716
    Join Date
    Mar 2007
    Location
    Your Closet
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ALSA Upgrade Script

    Code:
    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 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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking for ANSI C header files... (cached) yes
    ./configure: line 20033: CC_NOUNDEFINED: command not found
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for ALSA... yes
    checking for snd_pcm_ioplug_create in -lasound... yes
    checking for JACK... checking for pulseaudio... yes
    checking for samplerate... yes
    checking for AVCODEC... yes
    checking ffmpeg/avcodec.h usability... no
    checking ffmpeg/avcodec.h presence... no
    checking for ffmpeg/avcodec.h... no
    checking libavcodec/avcodec.h usability... yes
    checking libavcodec/avcodec.h presence... yes
    checking for libavcodec/avcodec.h... yes
    checking for speexdsp... No libspeex with resampler unit; use built-in code
    checking for plugins version... 1.0.22
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating oss/Makefile
    config.status: creating pph/Makefile
    config.status: creating jack/Makefile
    config.status: creating pulse/Makefile
    config.status: creating mix/Makefile
    config.status: creating rate/Makefile
    config.status: creating a52/Makefile
    config.status: creating rate-lavc/Makefile
    config.status: creating maemo/Makefile
    config.status: creating doc/Makefile
    config.status: creating usb_stream/Makefile
    config.status: creating speex/Makefile
    config.status: creating arcam-av/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    
    Plugin directory: /usr/lib/alsa-lib
    ALSA_CFLAGS: -I/usr/include/alsa  
    ALSA_LIBS: -lasound  
    JACK plugin:        no
    Pulseaudio plugin:  yes
      pulseaudio_CFLAGS: -D_REENTRANT  
      pulseaudio_LIBS: -lpulse  
    Samplerate plugin:  yes
      samplerate_CFLAGS:  
      samplerate_LIBS: -lsamplerate  
    Maemo plugin:       no
      Using Osso resource manager: no
    A52, lavc plugins:  yes
      AVCODEC_CFLAGS: -I/usr/local/include  
      AVCODEC_LIBS: -pthread -L/usr/local/lib -lavcodec -lz -lfaac -lfaad -lmp3lame -lopencore-amrnb -lopencore-amrwb -ltheoraenc -ltheoradec -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lasound -lavutil  
      AVCODEC_HEADER: <libavcodec/avcodec.h>
    Speex rate plugin:  builtin
    Speex preprocess plugin:  
    make  all-recursive
    make[1]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22'
    Making all in oss
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/oss'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT ctl_oss.lo -MD -MP -MF ".deps/ctl_oss.Tpo" -c -o ctl_oss.lo ctl_oss.c; \
    	then mv -f ".deps/ctl_oss.Tpo" ".deps/ctl_oss.Plo"; else rm -f ".deps/ctl_oss.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT ctl_oss.lo -MD -MP -MF .deps/ctl_oss.Tpo -c ctl_oss.c  -fPIC -DPIC -o .libs/ctl_oss.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_ctl_oss.la -rpath /usr/lib/alsa-lib  ctl_oss.lo -lasound   -lasound 
    gcc -shared  .libs/ctl_oss.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_oss.so -o .libs/libasound_module_ctl_oss.so
    creating libasound_module_ctl_oss.la
    (cd .libs && rm -f libasound_module_ctl_oss.la && ln -s ../libasound_module_ctl_oss.la libasound_module_ctl_oss.la)
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_oss.lo -MD -MP -MF ".deps/pcm_oss.Tpo" -c -o pcm_oss.lo pcm_oss.c; \
    	then mv -f ".deps/pcm_oss.Tpo" ".deps/pcm_oss.Plo"; else rm -f ".deps/pcm_oss.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_oss.lo -MD -MP -MF .deps/pcm_oss.Tpo -c pcm_oss.c  -fPIC -DPIC -o .libs/pcm_oss.o
    pcm_oss.c: In function 'oss_start':
    pcm_oss.c:100: warning: ignoring return value of 'read', declared with attribute warn_unused_result
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_oss.la -rpath /usr/lib/alsa-lib  pcm_oss.lo -lasound   -lasound 
    gcc -shared  .libs/pcm_oss.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_oss.so -o .libs/libasound_module_pcm_oss.so
    creating libasound_module_pcm_oss.la
    (cd .libs && rm -f libasound_module_pcm_oss.la && ln -s ../libasound_module_pcm_oss.la libasound_module_pcm_oss.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/oss'
    Making all in mix
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/mix'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_upmix.lo -MD -MP -MF ".deps/pcm_upmix.Tpo" -c -o pcm_upmix.lo pcm_upmix.c; \
    	then mv -f ".deps/pcm_upmix.Tpo" ".deps/pcm_upmix.Plo"; else rm -f ".deps/pcm_upmix.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_upmix.lo -MD -MP -MF .deps/pcm_upmix.Tpo -c pcm_upmix.c  -fPIC -DPIC -o .libs/pcm_upmix.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_upmix.la -rpath /usr/lib/alsa-lib  pcm_upmix.lo -lasound   -lasound 
    gcc -shared  .libs/pcm_upmix.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_upmix.so -o .libs/libasound_module_pcm_upmix.so
    creating libasound_module_pcm_upmix.la
    (cd .libs && rm -f libasound_module_pcm_upmix.la && ln -s ../libasound_module_pcm_upmix.la libasound_module_pcm_upmix.la)
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_vdownmix.lo -MD -MP -MF ".deps/pcm_vdownmix.Tpo" -c -o pcm_vdownmix.lo pcm_vdownmix.c; \
    	then mv -f ".deps/pcm_vdownmix.Tpo" ".deps/pcm_vdownmix.Plo"; else rm -f ".deps/pcm_vdownmix.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_vdownmix.lo -MD -MP -MF .deps/pcm_vdownmix.Tpo -c pcm_vdownmix.c  -fPIC -DPIC -o .libs/pcm_vdownmix.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_vdownmix.la -rpath /usr/lib/alsa-lib  pcm_vdownmix.lo -lasound   -lasound 
    gcc -shared  .libs/pcm_vdownmix.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_vdownmix.so -o .libs/libasound_module_pcm_vdownmix.so
    creating libasound_module_pcm_vdownmix.la
    (cd .libs && rm -f libasound_module_pcm_vdownmix.la && ln -s ../libasound_module_pcm_vdownmix.la libasound_module_pcm_vdownmix.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/mix'
    Making all in usb_stream
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/usb_stream'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT pcm_usb_stream.lo -MD -MP -MF ".deps/pcm_usb_stream.Tpo" -c -o pcm_usb_stream.lo pcm_usb_stream.c; \
    	then mv -f ".deps/pcm_usb_stream.Tpo" ".deps/pcm_usb_stream.Plo"; else rm -f ".deps/pcm_usb_stream.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_usb_stream.lo -MD -MP -MF .deps/pcm_usb_stream.Tpo -c pcm_usb_stream.c  -fPIC -DPIC -o .libs/pcm_usb_stream.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic   -o libasound_module_pcm_usb_stream.la -rpath /usr/lib/alsa-lib  pcm_usb_stream.lo -lasound   -lasound 
    gcc -shared  .libs/pcm_usb_stream.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_usb_stream.so -o .libs/libasound_module_pcm_usb_stream.so
    creating libasound_module_pcm_usb_stream.la
    (cd .libs && rm -f libasound_module_pcm_usb_stream.la && ln -s ../libasound_module_pcm_usb_stream.la libasound_module_pcm_usb_stream.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/usb_stream'
    Making all in arcam-av
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/arcam-av'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT ctl_arcam_av.lo -MD -MP -MF ".deps/ctl_arcam_av.Tpo" -c -o ctl_arcam_av.lo ctl_arcam_av.c; \
    	then mv -f ".deps/ctl_arcam_av.Tpo" ".deps/ctl_arcam_av.Plo"; else rm -f ".deps/ctl_arcam_av.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT ctl_arcam_av.lo -MD -MP -MF .deps/ctl_arcam_av.Tpo -c ctl_arcam_av.c  -fPIC -DPIC -o .libs/ctl_arcam_av.o
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -g -O2 -MT arcam_av.lo -MD -MP -MF ".deps/arcam_av.Tpo" -c -o arcam_av.lo arcam_av.c; \
    	then mv -f ".deps/arcam_av.Tpo" ".deps/arcam_av.Plo"; else rm -f ".deps/arcam_av.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT arcam_av.lo -MD -MP -MF .deps/arcam_av.Tpo -c arcam_av.c  -fPIC -DPIC -o .libs/arcam_av.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -g -O2 -module -avoid-version -export-dynamic -no-undefined  -o libasound_module_ctl_arcam_av.la -rpath /usr/lib/alsa-lib  ctl_arcam_av.lo arcam_av.lo -lasound   -lasound 
    gcc -shared  .libs/ctl_arcam_av.o .libs/arcam_av.o  /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_arcam_av.so -o .libs/libasound_module_ctl_arcam_av.so
    creating libasound_module_ctl_arcam_av.la
    (cd .libs && rm -f libasound_module_ctl_arcam_av.la && ln -s ../libasound_module_ctl_arcam_av.la libasound_module_ctl_arcam_av.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/arcam-av'
    Making all in doc
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/doc'
    Making all in pulse
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/pulse'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT conf_pulse.lo -MD -MP -MF ".deps/conf_pulse.Tpo" -c -o conf_pulse.lo conf_pulse.c; \
    	then mv -f ".deps/conf_pulse.Tpo" ".deps/conf_pulse.Plo"; else rm -f ".deps/conf_pulse.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT conf_pulse.lo -MD -MP -MF .deps/conf_pulse.Tpo -c conf_pulse.c  -fPIC -DPIC -o .libs/conf_pulse.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_conf_pulse.la -rpath /usr/lib/alsa-lib  conf_pulse.lo -lasound    -lpulse   -lasound 
    gcc -shared  .libs/conf_pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_conf_pulse.so -o .libs/libasound_module_conf_pulse.so
    creating libasound_module_conf_pulse.la
    (cd .libs && rm -f libasound_module_conf_pulse.la && ln -s ../libasound_module_conf_pulse.la libasound_module_conf_pulse.la)
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT ctl_pulse.lo -MD -MP -MF ".deps/ctl_pulse.Tpo" -c -o ctl_pulse.lo ctl_pulse.c; \
    	then mv -f ".deps/ctl_pulse.Tpo" ".deps/ctl_pulse.Plo"; else rm -f ".deps/ctl_pulse.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT ctl_pulse.lo -MD -MP -MF .deps/ctl_pulse.Tpo -c ctl_pulse.c  -fPIC -DPIC -o .libs/ctl_pulse.o
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT pulse.lo -MD -MP -MF ".deps/pulse.Tpo" -c -o pulse.lo pulse.c; \
    	then mv -f ".deps/pulse.Tpo" ".deps/pulse.Plo"; else rm -f ".deps/pulse.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT pulse.lo -MD -MP -MF .deps/pulse.Tpo -c pulse.c  -fPIC -DPIC -o .libs/pulse.o
    pulse.c: In function 'pulse_poll_activate':
    pulse.c:241: warning: ignoring return value of 'write', declared with attribute warn_unused_result
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_ctl_pulse.la -rpath /usr/lib/alsa-lib  ctl_pulse.lo pulse.lo -lasound    -lpulse   -lasound 
    gcc -shared  .libs/ctl_pulse.o .libs/pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_ctl_pulse.so -o .libs/libasound_module_ctl_pulse.so
    creating libasound_module_ctl_pulse.la
    (cd .libs && rm -f libasound_module_ctl_pulse.la && ln -s ../libasound_module_ctl_pulse.la libasound_module_ctl_pulse.la)
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -MT pcm_pulse.lo -MD -MP -MF ".deps/pcm_pulse.Tpo" -c -o pcm_pulse.lo pcm_pulse.c; \
    	then mv -f ".deps/pcm_pulse.Tpo" ".deps/pcm_pulse.Plo"; else rm -f ".deps/pcm_pulse.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT pcm_pulse.lo -MD -MP -MF .deps/pcm_pulse.Tpo -c pcm_pulse.c  -fPIC -DPIC -o .libs/pcm_pulse.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -D_REENTRANT   -D_GNU_SOURCE -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_pulse.la -rpath /usr/lib/alsa-lib  pcm_pulse.lo pulse.lo -lasound    -lpulse   -lasound 
    gcc -shared  .libs/pcm_pulse.o .libs/pulse.o  -lpulse /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_pcm_pulse.so -o .libs/libasound_module_pcm_pulse.so
    creating libasound_module_pcm_pulse.la
    (cd .libs && rm -f libasound_module_pcm_pulse.la && ln -s ../libasound_module_pcm_pulse.la libasound_module_pcm_pulse.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/pulse'
    Making all in rate
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/rate'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa    -g -O2 -MT rate_samplerate.lo -MD -MP -MF ".deps/rate_samplerate.Tpo" -c -o rate_samplerate.lo rate_samplerate.c; \
    	then mv -f ".deps/rate_samplerate.Tpo" ".deps/rate_samplerate.Plo"; else rm -f ".deps/rate_samplerate.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT rate_samplerate.lo -MD -MP -MF .deps/rate_samplerate.Tpo -c rate_samplerate.c  -fPIC -DPIC -o .libs/rate_samplerate.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa    -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_rate_samplerate.la -rpath /usr/lib/alsa-lib  rate_samplerate.lo -lasound   -lsamplerate   -lasound 
    gcc -shared  .libs/rate_samplerate.o  /usr/lib/libsamplerate.so /usr/lib/libasound.so  -Wl,-soname -Wl,libasound_module_rate_samplerate.so -o .libs/libasound_module_rate_samplerate.so
    creating libasound_module_rate_samplerate.la
    (cd .libs && rm -f libasound_module_rate_samplerate.la && ln -s ../libasound_module_rate_samplerate.la libasound_module_rate_samplerate.la)
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/rate'
    Making all in a52
    make[2]: Entering directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/a52'
    if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF ".deps/pcm_a52.Tpo" -c -o pcm_a52.lo pcm_a52.c; \
    	then mv -f ".deps/pcm_a52.Tpo" ".deps/pcm_a52.Plo"; else rm -f ".deps/pcm_a52.Tpo"; exit 1; fi
    mkdir .libs
     gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -g -O2 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c  -fPIC -DPIC -o .libs/pcm_a52.o
    /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/alsa   -I/usr/local/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -g -O2 -module -avoid-version -export-dynamic -no-undefined   -o libasound_module_pcm_a52.la -rpath /usr/lib/alsa-lib  pcm_a52.lo -lasound   -pthread -L/usr/local/lib -lavcodec -lz -lfaac -lfaad -lmp3lame -lopencore-amrnb -lopencore-amrwb -ltheoraenc -ltheoradec -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lasound -lavutil   -lasound 
    gcc -shared  .libs/pcm_a52.o  -L/usr/local/lib -lavcodec -lz /usr/lib/libfaac.so /usr/lib/libfaad.so /usr/lib/libmp3lame.so -lopencore-amrnb -lopencore-amrwb /usr/local/lib/libtheoraenc.a /usr/local/lib/libtheoradec.a -logg -lx264 -lm -lxvidcore -ldl -lX11 -lXext -lXfixes -lavutil /usr/lib/libasound.so  -pthread -Wl,-soname -Wl,libasound_module_pcm_a52.so -o .libs/libasound_module_pcm_a52.so
    /usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libavcodec.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[2]: *** [libasound_module_pcm_a52.la] Error 1
    make[2]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22/a52'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/Alsa-1.0.22.1/alsa-plugins-1.0.22'
    make: *** [all] Error 2
    
    --------------------------------------------------------------------------------------
    -  alsa-plugins-1.0.22 make failed
    --------------------------------------------------------------------------------------
    I used the script like this.
    Code:
    cd <your-download-dir>
    tar xvf AlsaUpgrade-1.0.22.1-2.tar
    sudo ./AlsaUpgrade-1.0.22.1-2.sh -s
    sudo ./AlsaUpgrade-1.0.22.1-2.sh -c
    Having problems compiling. Running Ubuntu 9.10 64... Trying to install the snapshot. Please help!!
    ...

  7. #717
    Join Date
    Jun 2006
    Location
    Buenos Aires, Argentina
    Beans
    127
    Distro
    Ubuntu 16.04 Xenial Xerus

    Smile Re: ALSA Upgrade Script

    Quote Originally Posted by Telescope_Nerd View Post
    Hi I've noticed this compile error posted a number of times in the forum but no solution yet, so i'm trying again....

    Code:
    In file included from /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.c:2:
    /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c: In function ‘dummy_hrtimer_callback’:
    /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/../alsa-kernel/drivers/dummy.c:370: error: implicit declaration of function ‘hrtimer_forward_now’
    make[3]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers/dummy.o] Error 1
    make[2]: *** [/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/drivers] Error 2
    make[1]: *** [_module_/usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-27-generic'
    make: *** [compile] Error 2
    any ideas??

    I had the exact same problem building alsa for hardy (8.04)... since it uses 2.6.24 (and I didn't have the intention to build a 2.6.25 or newer kernel) I started to browse a little and noticed that the "hrtimer_forward_now" were used in dummy.c and in hrtimer.c... so I changed the line (in the AlsaUpgrade script) that says
    Code:
    CARDS=all
    for a line with the cards I need:
    Code:
    CARDS="intel8x0,intel8x0m,hda-intel"
    After that, compilation went smoothly and I have it up and running.

    Check what cards you actually need and only list those.

    For a list of available cards do the following:
    Code:
    cd /usr/src/Alsa-1.0.22.1/alsa-driver-1.0.22.1/
    ./configure --help
    Mariano Absatz - "el baby" (clueless...)
    Linux User #479955 Ubuntu user #24300
    Nostalgia: The good old days multiplied by a bad memory...
    This message transmitted on 100% recycled electrons

  8. #718
    Join Date
    Aug 2006
    Beans
    110

    Re: ALSA Upgrade Script

    The last lines of the configure script. I checked and alsa base is installed. ver 1.0.20 according to synaptic. I ran the -s option before anything else. any ideas on how to fix this?

    checking for ALSA... configure: error: Package requirements (alsa >= 1.0.11) were not met:

    No package 'alsa' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables ALSA_CFLAGS
    and ALSA_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.


    --------------------------------------------------------------------------------------
    - alsa-plugins-1.0.22 configure failed

  9. #719
    Join Date
    Jun 2007
    Beans
    12,274

    Re: ALSA Upgrade Script

    @bootdoc, you need the libasound-dev package. It should have been installed by the script.
    What would happen if your hard disk died right now?

  10. #720
    Join Date
    Oct 2007
    Beans
    668
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ALSA Upgrade Script

    Has anyone actually gotten hardware mixing to work under ALSA? I am one of the fortunate few (?) for whom PulseAudio has worked mostly without issue. Unfortunately, there is one rather large exception, Teamspeak 3. It doesn't play nicely with PulseAudio.

    I can run TS3 using (non-upgraded) ALSA instead of PulseAudio, but then I get the old "only one app can use the sound hardware at a time" problem.

    My sound card (see sig) supposedly will do hardware mixing under ALSA, but I've never had it work that way. Maybe "hardware mixing" does not mean what I think it means. I would have expected it to mean that more than one application can produce sound at the same time. That is what I need, for example to have voice chat with TS3 while playing a first-person shooter (Nexuiz, Urban Terror, etc.).

    I have tried this ALSA upgrade script before, but it didn't work. I'm not sure I want to try it again, and deal with the inevitable troubleshooting, unless it's going to solve the problem I outlined above.
    Samsung Series 3 15.6" notebook (NP300-V5A-A02US)

Page 72 of 124 FirstFirst ... 2262707172737482122 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •