Announcement

Collapse
No announcement yet.

Sound driver help.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sound driver help.

    I'm running Kubuntu Hardy, with KDE 4.1. I have a Asus P5b-Deluxe with onboard HD-Audio. I'm trying to install the drivers for this but I'm having a bit of trouble... I unpacked them, ran './configure', then 'make' and I'm met with a series of errors, that I can't resolve; the output is below. Your help is appreciated.

    Code:
    cato@cato-desktop:~/ADI_Audio/alsa-driver-1.0.9b$ sudo make                                  
    make[1]: Entering directory `/home/cato/ADI_Audio/alsa-driver-1.0.9b/acore'                          
    gcc -D__KERNEL__ -DMODULE=1 -I/home/cato/ADI_Audio/alsa-driver-1.0.9b/include -I/lib/modules/2.6.24-20-generic/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.6.24-20-generic/build/include/linux/modversions.h -DKBUILD_BASENAME=hpetimer  -c -o hpetimer.o hpetimer.c                                                                  
    cc1: error: /lib/modules/2.6.24-20-generic/build/include/linux/modversions.h: No such file or directory                           
    In file included from hpetimer.c:22:                                                             
    /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:29:26: error: linux/config.h: No such file or directory                    
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/current_64.h:7,                                    
             from /lib/modules/2.6.24-20-generic/build/include/asm/current.h:4,                                     
             from /lib/modules/2.6.24-20-generic/build/include/asm/processor_64.h:17,                                  
             from /lib/modules/2.6.24-20-generic/build/include/asm/processor.h:4,                                    
             from /lib/modules/2.6.24-20-generic/build/include/linux/prefetch.h:14,                                   
             from /lib/modules/2.6.24-20-generic/build/include/linux/list.h:8,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:9,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/asm/pda.h:39: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)              
    /lib/modules/2.6.24-20-generic/build/include/asm/pda.h:39: error: requested alignment is not a constant                           
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/processor_64.h:23,                                  
             from /lib/modules/2.6.24-20-generic/build/include/asm/processor.h:4,                                    
             from /lib/modules/2.6.24-20-generic/build/include/linux/prefetch.h:14,                                   
             from /lib/modules/2.6.24-20-generic/build/include/linux/list.h:8,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:9,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/linux/cpumask.h:88: error: ‘CONFIG_NR_CPUS’ undeclared here (not in a function)                 
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/processor.h:4,                                    
             from /lib/modules/2.6.24-20-generic/build/include/linux/prefetch.h:14,                                   
             from /lib/modules/2.6.24-20-generic/build/include/linux/list.h:8,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:9,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/asm/processor_64.h:80: error: requested alignment is not a constant                       
    /lib/modules/2.6.24-20-generic/build/include/asm/processor_64.h:201: error: requested alignment is not a constant                      
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:35,                                     
             from /lib/modules/2.6.24-20-generic/build/include/asm/elf.h:8,                                       
             from /lib/modules/2.6.24-20-generic/build/include/linux/elf.h:6,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:14,                                    
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/asm/vm86.h:22:1: warning: "VM_MASK" redefined                                  
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/processor.h:4,                                    
             from /lib/modules/2.6.24-20-generic/build/include/linux/prefetch.h:14,                                   
             from /lib/modules/2.6.24-20-generic/build/include/linux/list.h:8,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:9,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/asm/processor_64.h:30:1: warning: this is the location of the previous definition                
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/elf.h:8,                                       
             from /lib/modules/2.6.24-20-generic/build/include/linux/elf.h:6,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:14,                                    
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h: In function ‘user_mode’:                                     
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:50: error: ‘SEGMENT_RPL_MASK’ undeclared (first use in this function)               
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:50: error: (Each undeclared identifier is reported only once                    
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:50: error: for each function it appears in.)                            
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:50: error: ‘USER_RPL’ undeclared (first use in this function)                   
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h: In function ‘user_mode_vm’:                                    
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:54: error: ‘SEGMENT_RPL_MASK’ undeclared (first use in this function)               
    /lib/modules/2.6.24-20-generic/build/include/asm/ptrace.h:54: error: ‘USER_RPL’ undeclared (first use in this function)                   
    In file included from /lib/modules/2.6.24-20-generic/build/include/linux/gfp.h:4,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/slab.h:14,                                     
             from /lib/modules/2.6.24-20-generic/build/include/linux/percpu.h:5,                                     
             from /lib/modules/2.6.24-20-generic/build/include/asm/local_64.h:4,                                     
             from /lib/modules/2.6.24-20-generic/build/include/asm/local.h:4,                                      
             from /lib/modules/2.6.24-20-generic/build/include/linux/module.h:19,                                    
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/adriver.h:45,                                     
             from /home/cato/ADI_Audio/alsa-driver-1.0.9b/include/sound/driver.h:42,                                   
             from hpetimer.c:22:                                                             
    /lib/modules/2.6.24-20-generic/build/include/linux/mmzone.h: At top level:                                          
    /lib/modules/2.6.24-20-generic/build/include/linux/mmzone.h:74: error: requested alignment is not a constant                         
    /lib/modules/2.6.24-20-generic/build/include/linux/mmzone.h:124: error: requested alignment is not a constant                        
    /lib/modules/2.6.24-20-generic/build/include/linux/mmzone.h:342: error: requested alignment is not a constant                        
    In file included from /lib/modules/2.6.24-20-generic/build/include/asm/hardirq_64.h:5,                                    
             from /lib/modules/2.6.24-20-generic/build/include/asm/hardirq.h:4,                                     
             from /lib/modules/2.6.24-20-generic/build/include/linux/hardirq.h:7,                                    
             from /lib/modules/2.6.24-20-generic/build/include/linux/interrupt.h:11,                                   
             from hpetimer.c:26:                                                             
    /lib/modules/2.6.24-20-generic/build/include/linux/irq.h:178: error: requested alignment is not a constant
    In file included from /lib/modules/2.6.24-20-generic/build/include/linux/sched.h:54,
             from /lib/modules/2.6.24-20-generic/build/include/linux/interrupt.h:12,
             from hpetimer.c:26:
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:33:3: error: #error You lose.
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    /lib/modules/2.6.24-20-generic/build/include/linux/jiffies.h:225:31: error: division by zero in #if
    In file included from /lib/modules/2.6.24-20-generic/build/include/linux/pid.h:4,
             from /lib/modules/2.6.24-20-generic/build/include/linux/sched.h:75,
             from /lib/modules/2.6.24-20-generic/build/include/linux/interrupt.h:12,
             from hpetimer.c:26:
    /lib/modules/2.6.24-20-generic/build/include/linux/rcupdate.h:72: error: requested alignment is not a constant
    /lib/modules/2.6.24-20-generic/build/include/linux/rcupdate.h:75: error: requested alignment is not a constant
    In file included from /lib/modules/2.6.24-20-generic/build/include/linux/sched.h:78,
             from /lib/modules/2.6.24-20-generic/build/include/linux/interrupt.h:12,
             from hpetimer.c:26:
    /lib/modules/2.6.24-20-generic/build/include/linux/proportions.h: In function ‘prop_inc_percpu’:
    /lib/modules/2.6.24-20-generic/build/include/linux/proportions.h:75: warning: implicit declaration of function ‘local_irq_save’
    /lib/modules/2.6.24-20-generic/build/include/linux/proportions.h:77: warning: implicit declaration of function ‘local_irq_restore’
    In file included from /lib/modules/2.6.24-20-generic/build/include/linux/timer.h:5,
             from /lib/modules/2.6.24-20-generic/build/include/linux/sched.h:87,
             from /lib/modules/2.6.24-20-generic/build/include/linux/interrupt.h:12,
             from hpetimer.c:26:
    /lib/modules/2.6.24-20-generic/build/include/linux/ktime.h: In function ‘ktime_set’:
    /lib/modules/2.6.24-20-generic/build/include/linux/ktime.h:84: warning: comparison is always false due to limited range of data type
    make[1]: *** [hpetimer.o] Error 1
    make[1]: Leaving directory `/home/cato/ADI_Audio/alsa-driver-1.0.9b/acore'
    make: *** [compile] Error 1
    The output of configure made this post too long, but I can add it if you deem it nescessary, although I don't see any problems in it.

    #2
    Re: Sound driver help.

    Get yourself 'weaned off'...the Realtek 'on-board' Sound.
    It is not 'supported'.
    Creative is.
    I used to 'run' Realtek. Had similar problems, like losing Sound altogether...after just the first 5 minutes,never able to get it back.
    So, I changed...to a Creative 'add-in' card. (Audigy/Vista compatiable.)
    Not a problem, since.
    And, you won't have to supply such a large List, again, either.

    Comment


      #3
      Re: Sound driver help.

      That's great advice and all, but doesn't really pertain to my situation, does it?

      Comment

      Working...
      X