Creative Live 24 bit SB 5.1
- france666reds
- Scoppiettante Seguace

- Messaggi: 610
- Iscrizione: venerdì 29 aprile 2005, 11:29
- Località: VARESE
- Contatti:
Re: Creative Live 24 bit SB 5.1
scusa, sono stato via qualche giorno e non potevo rispondere.
solo che mi sono perso sulla procedura che hai seguito ed a che punto tu sia.
Hai aggiornato il pacchetto alsa-base disinstallando il precedente, stai installando altri pacchetti, il papiro che hai postato è relativo al configure del pacchetto alsa-base?
Scusa, ma non riesco a seguire tutti i passaggi.
Mi puoi dire esattamente ciò che hai scaricato da internet, ciò che hai già installato e ciò che ti rimane da installare?
Non vorrei darTi informazioni sbagliate pensando che tu ti trovi in una situazione mentre sei in un'altra.
(Semprechè io riesca a darTi tutti i consigli giusti, va beh, per favore riepiloga la situazione con ordine e vedrai che ci riusciamo!)
solo che mi sono perso sulla procedura che hai seguito ed a che punto tu sia.
Hai aggiornato il pacchetto alsa-base disinstallando il precedente, stai installando altri pacchetti, il papiro che hai postato è relativo al configure del pacchetto alsa-base?
Scusa, ma non riesco a seguire tutti i passaggi.
Mi puoi dire esattamente ciò che hai scaricato da internet, ciò che hai già installato e ciò che ti rimane da installare?
Non vorrei darTi informazioni sbagliate pensando che tu ti trovi in una situazione mentre sei in un'altra.
(Semprechè io riesca a darTi tutti i consigli giusti, va beh, per favore riepiloga la situazione con ordine e vedrai che ci riusciamo!)
PIV 2,8Ghz - 2GB Ram - AudigyPlatinum Nvidia Geforce5200 HD 80Gb e HD 120GB LL10.04 e Macbook Intel Core2duo 2,16Ghz 4GB Ram - Hd250GB SnowLeopard
Re: Creative Live 24 bit SB 5.1
Il pacchetto che ho scaricacato da Internet e': " Alsa-driver-0.5.1.tar.gz ". Una volta estratto sono entrato nella directory ed ho eseguito: sudo ./configure, il risultato è il seguente:
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for PCI support in kernel... no
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for debug level... none
checking for processor type... unknown
checking for SMP... grep: /usr/src/linux/Makefile: No such file or directory
no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... no
checking for driver version... 0.5.1
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... all
creating ./config.status
creating Makefile.conf
creating snddevices
creating utils/alsa-driver.spec
creating cards.config
creating include/config.h
include/config.h is unchanged
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
Il problema è il " make " se do il comando make mi da i seguneti errori:
make[1]: Entering directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/support'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/support'
make[1]: Entering directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/kernel'
gcc -DALSA_BUILD -D__KERNEL__ -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c
In file included from ../include/driver.h:49,
from sound.c:23:
/usr/include/linux/config.h:1:2: error: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: error: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux ... aders/doc/)"
In file included from /usr/include/linux/sched.h:16,
from /usr/include/linux/module.h:9,
from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/signal.h:2:2: warning: #warning "You should include . This time I will do it for you."
In file included from /usr/include/linux/resource.h:4,
from /usr/include/linux/sched.h:79,
from /usr/include/linux/module.h:9,
from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/time.h:9: error: redefinition of ‘struct timespec’
/usr/include/linux/time.h:15: error: redefinition of ‘struct timeval’
/usr/include/linux/time.h:20: error: redefinition of ‘struct timezone’
/usr/include/linux/time.h:47: error: redefinition of ‘struct itimerval’
In file included from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/module.h:41: error: field ‘attr’ has incomplete type
/usr/include/linux/module.h:49: error: field ‘kobj’ has incomplete type
In file included from sound.c:23:
../include/driver.h:91:26: error: linux/malloc.h: No such file or directory
../include/driver.h:92:25: error: linux/delay.h: No such file or directory
In file included from /usr/include/asm/io.h:11,
from ../include/driver.h:96,
from sound.c:23:
/usr/include/asm-i386/io.h:1:2: warning: #warning "You should include . This time I will do it for you."
In file included from /usr/include/asm/irq.h:11,
from ../include/driver.h:97,
from sound.c:23:
/usr/include/asm-i386/irq.h:15:25: error: irq_vectors.h: No such file or directory
/usr/include/asm-i386/irq.h:16:29: error: asm/thread_info.h: No such file or directory
In file included from /usr/include/asm/dma.h:11,
from ../include/driver.h:98,
from sound.c:23:
/usr/include/asm-i386/dma.h:136: error: syntax error before ‘dma_spin_lock’
In file included from sound.c:23:
../include/driver.h
25: error: asm/uaccess.h: No such file or directory
../include/driver.h:102:24: error: asm/string.h: No such file or directory
In file included from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/irq.h:17:27: error: linux/cpumask.h: No such file or directory
In file included from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/irq.h:47: error: syntax error before ‘cpumask_t’
/usr/include/linux/irq.h:67: error: syntax error before ‘spinlock_t’
/usr/include/linux/irq.h:68: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: syntax error before ‘irq_desc’
/usr/include/linux/irq.h:70: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/include/asm/hw_irq.h:11,
from /usr/include/linux/irq.h:72,
from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hw_irq.h:15:27: error: linux/profile.h: No such file or directory
/usr/include/asm-i386/hw_irq.h:18:26: error: asm/sections.h: No such file or directory
In file included from /usr/include/asm/hw_irq.h:11,
from /usr/include/linux/irq.h:72,
from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hw_irq.h:27: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hardirq.h:12: error: requested alignment is not a constant
In file included from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/interrupt.h:36: error: syntax error before ‘cpumask_t’
/usr/include/linux/interrupt.h:42: error: syntax error before ‘}’ token
/usr/include/linux/interrupt.h:61: error: syntax error before ‘cli’
/usr/include/linux/interrupt.h:65: error: syntax error before ‘sti’
/usr/include/linux/interrupt.h:69: error: syntax error before ‘save_flags’
/usr/include/linux/interrupt.h: In function ‘save_flags’:
/usr/include/linux/interrupt.h:71: error: syntax error before ‘unsigned’
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:74: error: syntax error before ‘restore_flags’
/usr/include/linux/interrupt.h: In function ‘restore_flags’:
/usr/include/linux/interrupt.h:76: error: syntax error before ‘unsigned’
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:79: error: syntax error before ‘save_and_cli’
In file included from /usr/include/linux/vmalloc.h:1,
from ../include/driver.h:110,
from sound.c:23:
/usr/include/linux/err_kernel_only.h:1:2: error: #error Kernel only header included in userspace
In file included from ../include/driver.h:111,
from sound.c:23:
/usr/include/linux/proc_fs.h:4:24: error: linux/slab.h: No such file or directory
In file included from ../include/driver.h:111,
from sound.c:23:
/usr/include/linux/proc_fs.h:245: error: field ‘vfs_inode’ has incomplete type
/usr/include/linux/proc_fs.h: In function ‘PROC_I’:
/usr/include/linux/proc_fs.h:250: error: syntax error before ‘struct’
In file included from sound.c:23:
../include/driver.h: At top level:
../include/driver.h:136: error: syntax error before ‘snd_enter_user’
../include/driver.h:137: warning: return type defaults to ‘int’
../include/driver.h: In function ‘snd_enter_user’:
../include/driver.h:138: error: ‘mm_segment_t’ undeclared (first use in this function)
../include/driver.h:138: error: (Each undeclared identifier is reported only once
../include/driver.h:138: error: for each function it appears in.)
../include/driver.h:138: error: syntax error before ‘fs’
../include/driver.h:139: warning: implicit declaration of function ‘set_fs’
../include/driver.h:139: warning: implicit declaration of function ‘get_ds’
../include/driver.h:140: error: ‘fs’ undeclared (first use in this function)
../include/driver.h: At top level:
../include/driver.h:142: error: syntax error before ‘fs’
../include/driver.h:143: warning: function declaration isn’t a prototype
../include/driver.h: In function ‘snd_leave_user’:
../include/driver.h:144: error: ‘fs’ undeclared (first use in this function)
../include/driver.h: At top level:
../include/driver.h:194: error: field ‘mutex’ has incomplete type
In file included from ../include/driver.h:288,
from sound.c:23:
../include/switch.h:40: error: field ‘lock’ has incomplete type
In file included from sound.c:23:
../include/driver.h:307: error: field ‘control’ has incomplete type
../include/driver.h:326: warning: ‘struct file’ declared inside parameter list
../include/driver.h:327: warning: ‘struct file’ declared inside parameter list
../include/driver.h:328: warning: ‘struct file’ declared inside parameter list
../include/driver.h:329: warning: ‘struct file’ declared inside parameter list
../include/driver.h:330: warning: ‘struct file’ declared inside parameter list
../include/driver.h:331: error: syntax error before ‘poll_table’
../include/driver.h:331: warning: function declaration isn’t a prototype
../include/driver.h:332: warning: ‘struct file’ declared inside parameter list
../include/driver.h:333: warning: ‘struct file’ declared inside parameter list
In file included from sound.c:25:
../include/info.h:59: warning: ‘struct file’ declared inside parameter list
../include/info.h:61: warning: ‘struct file’ declared inside parameter list
../include/info.h:63: warning: ‘struct file’ declared inside parameter list
../include/info.h:65: error: syntax error before ‘poll_table’
../include/info.h:65: warning: function declaration isn’t a prototype
../include/info.h:67: warning: ‘struct file’ declared inside parameter list
../include/info.h:70: warning: ‘struct file’ declared inside parameter list
../include/info.h:96: error: field ‘access’ has incomplete type
In file included from sound.c:26:
../include/control.h:39: error: syntax error before ‘wait_queue_head_t’
../include/control.h:39: warning: no semicolon at end of struct or union
../include/control.h:40: warning: type defaults to ‘int’ in declaration of ‘read_lock’
../include/control.h:40: warning: data definition has no type or storage class
../include/control.h:41: error: syntax error before ‘:’ token
../include/control.h:45: error: conflicting types for ‘next’
/usr/include/linux/interrupt.h:39: error: previous declaration of ‘next’ was here
../include/control.h:46: error: syntax error before ‘}’ token
sound.c:47: error: ‘S_IFCHR’ undeclared here (not in a function)
sound.c:47: error: ‘S_IRUGO’ undeclared here (not in a function)
sound.c:47: error: ‘S_IWUGO’ undeclared here (not in a function)
sound.c:69: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
sound.c:69: warning: parameter names (without types) in function declaration
sound.c:137: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_lseek’:
sound.c:139: warning: implicit declaration of function ‘MINOR’
sound.c:139: error: dereferencing pointer to incomplete type
sound.c:148: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:153: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_read’:
sound.c:155: error: dereferencing pointer to incomplete type
sound.c:164: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:169: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_write’:
sound.c:171: error: dereferencing pointer to incomplete type
sound.c:180: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:183: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_open’:
sound.c:185: error: dereferencing pointer to incomplete type
sound.c:194: warning: passing argument 4 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:197: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_release’:
sound.c:199: error: dereferencing pointer to incomplete type
sound.c:208: warning: passing argument 4 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:211: error: syntax error before ‘poll_table’
sound.c:212: warning: function declaration isn’t a prototype
sound.c: In function ‘snd_poll’:
sound.c:213: error: ‘file’ undeclared (first use in this function)
sound.c:222: error: ‘wait’ undeclared (first use in this function)
sound.c: At top level:
sound.c:226: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_ioctl’:
sound.c:228: error: dereferencing pointer to incomplete type
sound.c:237: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:240: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_mmap’:
sound.c:242: error: dereferencing pointer to incomplete type
sound.c:243: error: dereferencing pointer to incomplete type
sound.c:252: warning: passing argument 2 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:255: error: variable ‘snd_fops’ has initializer but incomplete type
sound.c:257: warning: excess elements in struct initializer
sound.c:257: warning: (near initialization for ‘snd_fops’)
sound.c:258: warning: excess elements in struct initializer
sound.c:258: warning: (near initialization for ‘snd_fops’)
sound.c:259: warning: excess elements in struct initializer
sound.c:259: warning: (near initialization for ‘snd_fops’)
sound.c:260: warning: excess elements in struct initializer
sound.c:260: warning: (near initialization for ‘snd_fops’)
sound.c:261: warning: excess elements in struct initializer
sound.c:261: warning: (near initialization for ‘snd_fops’)
sound.c:262: warning: excess elements in struct initializer
sound.c:262: warning: (near initialization for ‘snd_fops’)
sound.c:263: warning: excess elements in struct initializer
sound.c:263: warning: (near initialization for ‘snd_fops’)
sound.c:264: warning: excess elements in struct initializer
sound.c:264: warning: (near initialization for ‘snd_fops’)
sound.c:265: warning: excess elements in struct initializer
sound.c:265: warning: (near initialization for ‘snd_fops’)
sound.c:266: warning: excess elements in struct initializer
sound.c:266: warning: (near initialization for ‘snd_fops’)
sound.c:267: warning: excess elements in struct initializer
sound.c:267: warning: (near initialization for ‘snd_fops’)
sound.c:268: warning: excess elements in struct initializer
sound.c:268: warning: (near initialization for ‘snd_fops’)
sound.c:269: warning: excess elements in struct initializer
sound.c:269: warning: (near initialization for ‘snd_fops’)
sound.c:270: warning: excess elements in struct initializer
sound.c:270: warning: (near initialization for ‘snd_fops’)
sound.c:271: warning: excess elements in struct initializer
sound.c:271: warning: (near initialization for ‘snd_fops’)
sound.c: In function ‘snd_register_device’:
sound.c:327: error: ‘GFP_KERNEL’ undeclared (first use in this function)
sound.c:330: warning: implicit declaration of function ‘memcpy’
sound.c:330: warning: incompatible implicit declaration of built-in function ‘memcpy’
sound.c:332: warning: implicit declaration of function ‘down’
sound.c:332: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c:334: warning: implicit declaration of function ‘up’
sound.c: In function ‘snd_unregister_device’:
sound.c:352: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c: In function ‘snd_minor_info_read’:
sound.c:376: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c: In function ‘init_module’:
sound.c:446: warning: implicit declaration of function ‘register_chrdev’
sound.c:448: warning: implicit declaration of function ‘printk’
sound.c:448:1: error: pasting ""snd: "" and ""unable to register native major device number %d\n"" does not give a valid preprocessing token
sound.c: In function ‘cleanup_module’:
sound.c:513: warning: implicit declaration of function ‘unregister_chrdev’
sound.c:515:1: error: pasting ""snd: "" and ""unable to unregister major device number %d\n"" does not give a valid preprocessing token
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/kernel'
make: *** [compile] Error 1
Sono parekki eh
aiuto please : * grazie per la gentilezza :> *
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for PCI support in kernel... no
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for debug level... none
checking for processor type... unknown
checking for SMP... grep: /usr/src/linux/Makefile: No such file or directory
no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... no
checking for driver version... 0.5.1
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... all
creating ./config.status
creating Makefile.conf
creating snddevices
creating utils/alsa-driver.spec
creating cards.config
creating include/config.h
include/config.h is unchanged
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
Il problema è il " make " se do il comando make mi da i seguneti errori:
make[1]: Entering directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/support'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/support'
make[1]: Entering directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/kernel'
gcc -DALSA_BUILD -D__KERNEL__ -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c
In file included from ../include/driver.h:49,
from sound.c:23:
/usr/include/linux/config.h:1:2: error: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: error: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux ... aders/doc/)"
In file included from /usr/include/linux/sched.h:16,
from /usr/include/linux/module.h:9,
from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/signal.h:2:2: warning: #warning "You should include . This time I will do it for you."
In file included from /usr/include/linux/resource.h:4,
from /usr/include/linux/sched.h:79,
from /usr/include/linux/module.h:9,
from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/time.h:9: error: redefinition of ‘struct timespec’
/usr/include/linux/time.h:15: error: redefinition of ‘struct timeval’
/usr/include/linux/time.h:20: error: redefinition of ‘struct timezone’
/usr/include/linux/time.h:47: error: redefinition of ‘struct itimerval’
In file included from ../include/driver.h:85,
from sound.c:23:
/usr/include/linux/module.h:41: error: field ‘attr’ has incomplete type
/usr/include/linux/module.h:49: error: field ‘kobj’ has incomplete type
In file included from sound.c:23:
../include/driver.h:91:26: error: linux/malloc.h: No such file or directory
../include/driver.h:92:25: error: linux/delay.h: No such file or directory
In file included from /usr/include/asm/io.h:11,
from ../include/driver.h:96,
from sound.c:23:
/usr/include/asm-i386/io.h:1:2: warning: #warning "You should include . This time I will do it for you."
In file included from /usr/include/asm/irq.h:11,
from ../include/driver.h:97,
from sound.c:23:
/usr/include/asm-i386/irq.h:15:25: error: irq_vectors.h: No such file or directory
/usr/include/asm-i386/irq.h:16:29: error: asm/thread_info.h: No such file or directory
In file included from /usr/include/asm/dma.h:11,
from ../include/driver.h:98,
from sound.c:23:
/usr/include/asm-i386/dma.h:136: error: syntax error before ‘dma_spin_lock’
In file included from sound.c:23:
../include/driver.h
../include/driver.h:102:24: error: asm/string.h: No such file or directory
In file included from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/irq.h:17:27: error: linux/cpumask.h: No such file or directory
In file included from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/irq.h:47: error: syntax error before ‘cpumask_t’
/usr/include/linux/irq.h:67: error: syntax error before ‘spinlock_t’
/usr/include/linux/irq.h:68: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: syntax error before ‘irq_desc’
/usr/include/linux/irq.h:70: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/include/asm/hw_irq.h:11,
from /usr/include/linux/irq.h:72,
from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hw_irq.h:15:27: error: linux/profile.h: No such file or directory
/usr/include/asm-i386/hw_irq.h:18:26: error: asm/sections.h: No such file or directory
In file included from /usr/include/asm/hw_irq.h:11,
from /usr/include/linux/irq.h:72,
from /usr/include/asm-i386/hardirq.h:5,
from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hw_irq.h:27: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from /usr/include/asm/hardirq.h:11,
from /usr/include/linux/interrupt.h:9,
from ../include/driver.h:107,
from sound.c:23:
/usr/include/asm-i386/hardirq.h:12: error: requested alignment is not a constant
In file included from ../include/driver.h:107,
from sound.c:23:
/usr/include/linux/interrupt.h:36: error: syntax error before ‘cpumask_t’
/usr/include/linux/interrupt.h:42: error: syntax error before ‘}’ token
/usr/include/linux/interrupt.h:61: error: syntax error before ‘cli’
/usr/include/linux/interrupt.h:65: error: syntax error before ‘sti’
/usr/include/linux/interrupt.h:69: error: syntax error before ‘save_flags’
/usr/include/linux/interrupt.h: In function ‘save_flags’:
/usr/include/linux/interrupt.h:71: error: syntax error before ‘unsigned’
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:74: error: syntax error before ‘restore_flags’
/usr/include/linux/interrupt.h: In function ‘restore_flags’:
/usr/include/linux/interrupt.h:76: error: syntax error before ‘unsigned’
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:79: error: syntax error before ‘save_and_cli’
In file included from /usr/include/linux/vmalloc.h:1,
from ../include/driver.h:110,
from sound.c:23:
/usr/include/linux/err_kernel_only.h:1:2: error: #error Kernel only header included in userspace
In file included from ../include/driver.h:111,
from sound.c:23:
/usr/include/linux/proc_fs.h:4:24: error: linux/slab.h: No such file or directory
In file included from ../include/driver.h:111,
from sound.c:23:
/usr/include/linux/proc_fs.h:245: error: field ‘vfs_inode’ has incomplete type
/usr/include/linux/proc_fs.h: In function ‘PROC_I’:
/usr/include/linux/proc_fs.h:250: error: syntax error before ‘struct’
In file included from sound.c:23:
../include/driver.h: At top level:
../include/driver.h:136: error: syntax error before ‘snd_enter_user’
../include/driver.h:137: warning: return type defaults to ‘int’
../include/driver.h: In function ‘snd_enter_user’:
../include/driver.h:138: error: ‘mm_segment_t’ undeclared (first use in this function)
../include/driver.h:138: error: (Each undeclared identifier is reported only once
../include/driver.h:138: error: for each function it appears in.)
../include/driver.h:138: error: syntax error before ‘fs’
../include/driver.h:139: warning: implicit declaration of function ‘set_fs’
../include/driver.h:139: warning: implicit declaration of function ‘get_ds’
../include/driver.h:140: error: ‘fs’ undeclared (first use in this function)
../include/driver.h: At top level:
../include/driver.h:142: error: syntax error before ‘fs’
../include/driver.h:143: warning: function declaration isn’t a prototype
../include/driver.h: In function ‘snd_leave_user’:
../include/driver.h:144: error: ‘fs’ undeclared (first use in this function)
../include/driver.h: At top level:
../include/driver.h:194: error: field ‘mutex’ has incomplete type
In file included from ../include/driver.h:288,
from sound.c:23:
../include/switch.h:40: error: field ‘lock’ has incomplete type
In file included from sound.c:23:
../include/driver.h:307: error: field ‘control’ has incomplete type
../include/driver.h:326: warning: ‘struct file’ declared inside parameter list
../include/driver.h:327: warning: ‘struct file’ declared inside parameter list
../include/driver.h:328: warning: ‘struct file’ declared inside parameter list
../include/driver.h:329: warning: ‘struct file’ declared inside parameter list
../include/driver.h:330: warning: ‘struct file’ declared inside parameter list
../include/driver.h:331: error: syntax error before ‘poll_table’
../include/driver.h:331: warning: function declaration isn’t a prototype
../include/driver.h:332: warning: ‘struct file’ declared inside parameter list
../include/driver.h:333: warning: ‘struct file’ declared inside parameter list
In file included from sound.c:25:
../include/info.h:59: warning: ‘struct file’ declared inside parameter list
../include/info.h:61: warning: ‘struct file’ declared inside parameter list
../include/info.h:63: warning: ‘struct file’ declared inside parameter list
../include/info.h:65: error: syntax error before ‘poll_table’
../include/info.h:65: warning: function declaration isn’t a prototype
../include/info.h:67: warning: ‘struct file’ declared inside parameter list
../include/info.h:70: warning: ‘struct file’ declared inside parameter list
../include/info.h:96: error: field ‘access’ has incomplete type
In file included from sound.c:26:
../include/control.h:39: error: syntax error before ‘wait_queue_head_t’
../include/control.h:39: warning: no semicolon at end of struct or union
../include/control.h:40: warning: type defaults to ‘int’ in declaration of ‘read_lock’
../include/control.h:40: warning: data definition has no type or storage class
../include/control.h:41: error: syntax error before ‘:’ token
../include/control.h:45: error: conflicting types for ‘next’
/usr/include/linux/interrupt.h:39: error: previous declaration of ‘next’ was here
../include/control.h:46: error: syntax error before ‘}’ token
sound.c:47: error: ‘S_IFCHR’ undeclared here (not in a function)
sound.c:47: error: ‘S_IRUGO’ undeclared here (not in a function)
sound.c:47: error: ‘S_IWUGO’ undeclared here (not in a function)
sound.c:69: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
sound.c:69: warning: parameter names (without types) in function declaration
sound.c:137: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_lseek’:
sound.c:139: warning: implicit declaration of function ‘MINOR’
sound.c:139: error: dereferencing pointer to incomplete type
sound.c:148: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:153: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_read’:
sound.c:155: error: dereferencing pointer to incomplete type
sound.c:164: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:169: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_write’:
sound.c:171: error: dereferencing pointer to incomplete type
sound.c:180: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:183: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_open’:
sound.c:185: error: dereferencing pointer to incomplete type
sound.c:194: warning: passing argument 4 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:197: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_release’:
sound.c:199: error: dereferencing pointer to incomplete type
sound.c:208: warning: passing argument 4 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:211: error: syntax error before ‘poll_table’
sound.c:212: warning: function declaration isn’t a prototype
sound.c: In function ‘snd_poll’:
sound.c:213: error: ‘file’ undeclared (first use in this function)
sound.c:222: error: ‘wait’ undeclared (first use in this function)
sound.c: At top level:
sound.c:226: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_ioctl’:
sound.c:228: error: dereferencing pointer to incomplete type
sound.c:237: warning: passing argument 1 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:240: warning: ‘struct file’ declared inside parameter list
sound.c: In function ‘snd_mmap’:
sound.c:242: error: dereferencing pointer to incomplete type
sound.c:243: error: dereferencing pointer to incomplete type
sound.c:252: warning: passing argument 2 of ‘ptr’ from incompatible pointer type
sound.c: At top level:
sound.c:255: error: variable ‘snd_fops’ has initializer but incomplete type
sound.c:257: warning: excess elements in struct initializer
sound.c:257: warning: (near initialization for ‘snd_fops’)
sound.c:258: warning: excess elements in struct initializer
sound.c:258: warning: (near initialization for ‘snd_fops’)
sound.c:259: warning: excess elements in struct initializer
sound.c:259: warning: (near initialization for ‘snd_fops’)
sound.c:260: warning: excess elements in struct initializer
sound.c:260: warning: (near initialization for ‘snd_fops’)
sound.c:261: warning: excess elements in struct initializer
sound.c:261: warning: (near initialization for ‘snd_fops’)
sound.c:262: warning: excess elements in struct initializer
sound.c:262: warning: (near initialization for ‘snd_fops’)
sound.c:263: warning: excess elements in struct initializer
sound.c:263: warning: (near initialization for ‘snd_fops’)
sound.c:264: warning: excess elements in struct initializer
sound.c:264: warning: (near initialization for ‘snd_fops’)
sound.c:265: warning: excess elements in struct initializer
sound.c:265: warning: (near initialization for ‘snd_fops’)
sound.c:266: warning: excess elements in struct initializer
sound.c:266: warning: (near initialization for ‘snd_fops’)
sound.c:267: warning: excess elements in struct initializer
sound.c:267: warning: (near initialization for ‘snd_fops’)
sound.c:268: warning: excess elements in struct initializer
sound.c:268: warning: (near initialization for ‘snd_fops’)
sound.c:269: warning: excess elements in struct initializer
sound.c:269: warning: (near initialization for ‘snd_fops’)
sound.c:270: warning: excess elements in struct initializer
sound.c:270: warning: (near initialization for ‘snd_fops’)
sound.c:271: warning: excess elements in struct initializer
sound.c:271: warning: (near initialization for ‘snd_fops’)
sound.c: In function ‘snd_register_device’:
sound.c:327: error: ‘GFP_KERNEL’ undeclared (first use in this function)
sound.c:330: warning: implicit declaration of function ‘memcpy’
sound.c:330: warning: incompatible implicit declaration of built-in function ‘memcpy’
sound.c:332: warning: implicit declaration of function ‘down’
sound.c:332: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c:334: warning: implicit declaration of function ‘up’
sound.c: In function ‘snd_unregister_device’:
sound.c:352: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c: In function ‘snd_minor_info_read’:
sound.c:376: error: ‘sound_mutex’ undeclared (first use in this function)
sound.c: In function ‘init_module’:
sound.c:446: warning: implicit declaration of function ‘register_chrdev’
sound.c:448: warning: implicit declaration of function ‘printk’
sound.c:448:1: error: pasting ""snd: "" and ""unable to register native major device number %d\n"" does not give a valid preprocessing token
sound.c: In function ‘cleanup_module’:
sound.c:513: warning: implicit declaration of function ‘unregister_chrdev’
sound.c:515:1: error: pasting ""snd: "" and ""unable to unregister major device number %d\n"" does not give a valid preprocessing token
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/lorenzo/Desktop/alsa-driver-0.5.1/kernel'
make: *** [compile] Error 1
Sono parekki eh
- kills you -
- france666reds
- Scoppiettante Seguace

- Messaggi: 610
- Iscrizione: venerdì 29 aprile 2005, 11:29
- Località: VARESE
- Contatti:
Re: Creative Live 24 bit SB 5.1
scusa, l'avrai senz'altro fatto, ma mi tolgo anche questo dubbio
sei entrato nella directorì di alsa-driver digitando
cd /home/lorenzo/Desktop/alsa-driver-0.5.1
hai fatto il ./config
hai digitato
sudo make
giusto?
Domanda perchè la versione 0.5.1 di alsa driver quando sul sito alsa project c'è la versione 1.0.9?
Domanda: hai letto il file install con le indicazioni per l'installazione (sono le seguenti):
1) You must turn on sound support (soundcore module).
2) Run './configure' script.
If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
If you want sequencer support, use --with-sequencer=yes switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you want turn on debug mode use --with-debug=full switch.
If you want debug soundcard detection try --with-debug=detect switch.
Example: ./configure --with-isapnp=yes --with-debug=full
3) Run 'make install'.
4) Run the './snddevices' script to create new sound devices in /dev directory.
Skip this step, if you have a kernel with the DEVFS support.
5) Edit your /etc/modules.conf (see the kmod support section below).
6) Run 'modprobe snd-card' where the card is the name of your card.
Note: If you have a ISA PnP soundcard you need to first run the isapnp
program from isapnptools package to initialize your
soundcard. You can also use the native ISA PnP support by
using the --with-isapnp=yes configuration switch, in which
case you do not need the isapnptools package.
ci risentiamo presto,
in bocca al lupo
sei entrato nella directorì di alsa-driver digitando
cd /home/lorenzo/Desktop/alsa-driver-0.5.1
hai fatto il ./config
hai digitato
sudo make
giusto?
Domanda perchè la versione 0.5.1 di alsa driver quando sul sito alsa project c'è la versione 1.0.9?
Domanda: hai letto il file install con le indicazioni per l'installazione (sono le seguenti):
1) You must turn on sound support (soundcore module).
2) Run './configure' script.
If you have ISA Plug & Play soundcard, use --with-isapnp=yes switch.
If you want sequencer support, use --with-sequencer=yes switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you want turn on debug mode use --with-debug=full switch.
If you want debug soundcard detection try --with-debug=detect switch.
Example: ./configure --with-isapnp=yes --with-debug=full
3) Run 'make install'.
4) Run the './snddevices' script to create new sound devices in /dev directory.
Skip this step, if you have a kernel with the DEVFS support.
5) Edit your /etc/modules.conf (see the kmod support section below).
6) Run 'modprobe snd-card' where the card is the name of your card.
Note: If you have a ISA PnP soundcard you need to first run the isapnp
program from isapnptools package to initialize your
soundcard. You can also use the native ISA PnP support by
using the --with-isapnp=yes configuration switch, in which
case you do not need the isapnptools package.
ci risentiamo presto,
in bocca al lupo
PIV 2,8Ghz - 2GB Ram - AudigyPlatinum Nvidia Geforce5200 HD 80Gb e HD 120GB LL10.04 e Macbook Intel Core2duo 2,16Ghz 4GB Ram - Hd250GB SnowLeopard
Re: Creative Live 24 bit SB 5.1
ciao,
anche io ho la stessa scheda: soundbluster live 24 bit che se ho capito bene dovrebbe essere una nuova versione della live 5.1,la mia funziona con driver alsa ca106 la vecchia con l'emu10k1,
ho provato a installare il sorgente alsa e a configurarlo,ma niente la scheda funziona ma non escono le opzioni per duplicare i suoni sulle casse posteriori(me ne sono accorto perchè ho provato a configurare la scheda audio integrata e lì le opzioni escono ),per i dvd 5.1 non ho problemi li ascolto su tutte le casse invece per gli mp3 al massimo riesco ad ascoltare solole casse posteriori (senza quele anteriori)con xmms,spero riusciate a risolvere il problema perchè ne parlano anche sul forum inglese ma non ho trovato soluzioni
ciao
anche io ho la stessa scheda: soundbluster live 24 bit che se ho capito bene dovrebbe essere una nuova versione della live 5.1,la mia funziona con driver alsa ca106 la vecchia con l'emu10k1,
ho provato a installare il sorgente alsa e a configurarlo,ma niente la scheda funziona ma non escono le opzioni per duplicare i suoni sulle casse posteriori(me ne sono accorto perchè ho provato a configurare la scheda audio integrata e lì le opzioni escono ),per i dvd 5.1 non ho problemi li ascolto su tutte le casse invece per gli mp3 al massimo riesco ad ascoltare solole casse posteriori (senza quele anteriori)con xmms,spero riusciate a risolvere il problema perchè ne parlano anche sul forum inglese ma non ho trovato soluzioni
ciao
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 13 ospiti