LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-31-2005, 11:49 AM   #16
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15

adrisayer did you download and install the alsa drivers? all the other files from the alsa source that you compile need those drivers (and other files that it installs) to run properly, ie: alsamixer. so id have to say give the alsa drivers from the site a try if you havent already.
 
Old 07-31-2005, 01:52 PM   #17
GreatBrak
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 15
I've downloaded the extra files you suggested. Try to compile the whole tutty and this is what I get from ./configure Sorry for this loooong list, but I am so fed-up at the moment that I could scream.


Quote:
root@HomePC:/usr/src/alsa/alsa-driver-1.0.9b # ./configure --with-oss=yes --with-cards=hda-intel
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.9b
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel version... 0.0.0
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... "no"
checking for existing ALSA module... "yes"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "yes"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
checking for kernel linux/dma-mapping.h... "yes"
checking for kernel asm/hw_irq.h... "no"
checking for kernel linux/device.h... "yes"
checking for kernel linux/jiffies.h... "yes"
checking for kernel linux/compat.h... "yes"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
checking for kernel linux/syscalls.h... "yes"
checking for kernel linux/firmware.h... "yes"
checking for exported symbol dump_stack... grep: /usr/src/linux/kernel/ksyms.c: No such file or directory
"no"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... module
checking for firmware loader... module
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for verbose printk... on
checking for debug level... none
checking for processor type... "unknown"
checking for SMP... "no"
checking for ISA PnP driver in kernel... no
checking for PnP driver in kernel... no
checking for ISA PnP support... yes
checking for strlcpy... "no"
checking for snprintf... "no"
checking for vsnprintf... "no"
checking for scnprintf... "no"
checking for sscanf... "no"
checking for vmalloc_to_page... "no"
checking for old kmod... "yes"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for pci_dev_present... "no"
checking for msleep... "no"
checking for tty->count is the atomic type... "no"
checking for io_remap_pfn_range... "no"
checking for new io_remap_page_range... "no"
checking for kcalloc... "no"
checking for saved_config_space in pci_dev... "no"
checking for old kill_fasync... "no"
checking for dma_addr_t... "no"
checking for MUTEX macros... "no"
checking for driver version... 1.0.9b
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for HPET support... "no"
checking for Procfs support... "yes"
checking for USB support... "yes"
checking for PC-Speaker hook... "no"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for parallel port support... "yes"
checking for which soundcards to compile driver for... hda-intel
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
I know too little to know what is right or wrong above, but I reckon this is the only wrong bit.

Quote:
checking for exported symbol dump_stack... grep: /usr/src/linux/kernel/ksyms.c: No such file or directory
"no"
Dunno about the yes and no's in the first part. PLEASE PLEASE PLEASE say you help?
 
Old 07-31-2005, 02:03 PM   #18
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
except for the kernel problem the configure did very well, that does help that you posted the configure output for me to see... if you could post the results of 'make' too that would be great (if its too long just start where it begins giving 'error:'). it looks like your really close though!
 
Old 07-31-2005, 02:17 PM   #19
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
also as a side note... my hard drive crashed on me so now im using a live cd to get online... so i cant test things like before but it made me think... you could give mepis pro a try it autoconfigures everything amazingly well and is based on debain so its core is the same as ubuntu, so if you have some time download and try the mepis live cd to see if that will have your sound working.
 
Old 07-31-2005, 02:27 PM   #20
GreatBrak
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Thanx for sticking with me. Here is the result of the make. As you can see the first errors start at the top. Sorry to hear about your HD. I have three in my system!!! Very wisely I learned long ago that a bunch of small baskets is better to carry eggs in than one large basket!!! (Had to gloat a little, makes me feel better....) I had to snip the below to fit in.


Quote:
root@HomePC:/usr/src/alsa/alsa-driver-1.0.9b # make
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9b/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.9b/include -I/usr/src/linux/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c memalloc.c
<command line>:138478059:560: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from memalloc.c:1:
memalloc.inc:1:26: linux/config.h: No such file or directory
memalloc.inc:4:40: missing binary operator before token "("
memalloc.inc:10:23: linux/pci.h: No such file or directory
In file included from memalloc.inc:12,
from memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:27:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:30:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:35:43: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:39:63: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:45:26: linux/module.h: No such file or directory
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:54:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:64:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:179:25: linux/types.h: No such file or directory
In file included from memalloc.inc:12,
from memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:181: error: syntax error before "__le16"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:181: warning: type defaults to `int' in declaration of `__le16'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:181: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:182: error: syntax error before "__be16"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:182: warning: type defaults to `int' in declaration of `__be16'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:182: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:183: error: syntax error before "__le32"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:183: warning: type defaults to `int' in declaration of `__le32'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:183: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:184: error: syntax error before "__be32"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:184: warning: type defaults to `int' in declaration of `__be32'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:184: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:187:24: linux/wait.h: No such file or directory
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:189:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:232:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:286: error: syntax error before "snd_compat_strlcpy"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:286: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:286: warning: type defaults to `int' in declaration of `snd_compat_strlcpy'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:286: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:286: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:288: error: syntax error before "snd_compat_strlcat"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:288: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:288: warning: type defaults to `int' in declaration of `snd_compat_strlcat'
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:288: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:288: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:293: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:293: warning: function declaration isn't a prototype
In file included from memalloc.inc:12,
from memalloc.c:1:
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:298: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:298: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:315:62: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:327:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:367:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:493:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:512:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:553:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:563:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:578:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:588:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:603:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:616:25: linux/delay.h: No such file or directory
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:624:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:628:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:638:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:650:42: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:701: error: syntax error before "n"
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:701: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:707:41: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:716:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:726:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:740:40: missing binary operator before token "("
/usr/src/alsa/alsa-driver-1.0.9b/include/adriver.h:796:41: missing binary operator before token "("
In file included from memalloc.c:1:
memalloc.inc:14:40: missing binary operator before token "("
memalloc.inc:29:40: missing binary operator before token "("
memalloc.c:25:26: linux/config.h: No such file or directory
memalloc.c:26:26: linux/module.h: No such file or directory
memalloc.c:27:27: linux/proc_fs.h: No such file or directory
memalloc.c:28:24: linux/init.h: No such file or directory
memalloc.c:29:23: linux/pci.h: No such file or directory
memalloc.c:30:24: linux/slab.h: No such file or directory
memalloc.c:31:22: linux/mm.h: No such file or directory
memalloc.c:34:27: asm/semaphore.h: No such file or directory
In file included from memalloc.c:35:
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:60: error: syntax error before "dma_addr_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:60: warning: no semicolon at end of struct or union
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:61: warning: type defaults to `int' in declaration of `bytes'
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:61: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:63: error: syntax error before '}' token
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:70: error: syntax error before "dma_addr_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:70: warning: no semicolon at end of struct or union
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:85: error: syntax error before "size"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:86: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h: In function `snd_sgbuf_aligned_pages':
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:87: error: `size' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:87: error: (Each undeclared identifier is reported only once
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:87: error: for each function it appears in.)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:87: error: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:87: error: `PAGE_SHIFT' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h: At top level:
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:93: error: syntax error before "snd_sgbuf_get_addr"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:93: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:94: warning: return type defaults to `int'
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:94: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h: In function `snd_sgbuf_get_addr':
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:95: error: `sgbuf' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:95: error: `offset' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:95: error: `PAGE_SHIFT' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:95: error: `PAGE_SIZE' undeclared (first use in this function)
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h: At top level:
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:100: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:101: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:102: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:103: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:110: error: syntax error before "snd_dma_get_reserved_buf"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:110: warning: type defaults to `int' in declaration of `snd_dma_get_reserved_buf'
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:110: warning: data definition has no type or storage class
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:114: error: syntax error before "size"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:114: warning: function declaration isn't a prototype
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:115: error: syntax error before "size_t"
/usr/src/alsa/alsa-driver-1.0.9b/include/sound/memalloc.h:115: warning: function declaration isn't a prototype
memalloc.c:41: error: syntax error before string constant
memalloc.c:41: warning: type defaults to `int' in declaration of `MODULE_AUTHOR'
memalloc.c:41: warning: function declaration isn't a prototype
memalloc.c:41: warning: data definition has no type or storage class
memalloc.c:42: error: syntax error before string constant
memalloc.c:42: warning: type defaults to `int' in declaration of `MODULE_DESCRIPTION'
memalloc.c:42: warning: function declaration isn't a prototype
memalloc.c:42: warning: data definition has no type or storage class
memalloc.c:43: error: syntax error before string constant
memalloc.c:43: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
memalloc.c:43: warning: function declaration isn't a prototype
memalloc.c:43: warning: data definition has no type or storage class
memalloc.c:61: error: syntax error before "size_t"
memalloc.c:62: warning: function declaration isn't a prototype
memalloc.c:68: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
memalloc.c:68: warning: parameter names (without types) in function declaration
memalloc.c:69: warning: type defaults to `int' in declaration of `LIST_HEAD'
memalloc.c:69: warning: parameter names (without types) in function declaration
memalloc.c:73: error: field `buffer' has incomplete type
memalloc.c:75: error: field `list' has incomplete type
memalloc.c:97:41: missing binary operator before token "("
memalloc.c:138:41: missing binary operator before token "("
memalloc.c: In function `mark_pages':
memalloc.c:247: error: invalid use of undefined type `struct page'
memalloc.c:249: warning: implicit declaration of function `SetPageReserved'
memalloc.c:249: error: increment of pointer to unknown structure
memalloc.c:249: error: arithmetic on pointer to an incomplete type
memalloc.c: In function `unmark_pages':
memalloc.c:254: error: invalid use of undefined type `struct page'
memalloc.c:256: warning: implicit declaration of function `ClearPageReserved'
memalloc.c:256: error: increment of pointer to unknown structure
memalloc.c:256: error: arithmetic on pointer to an incomplete type
memalloc.c: At top level:
memalloc.c:268: error: syntax error before "size"
memalloc.c:269: warning: function declaration isn't a prototype
memalloc.c: In function `snd_malloc_pages':
memalloc.c:275: warning: implicit declaration of function `get_order'
memalloc.c:275: error: `size' undeclared (first use in this function)
memalloc.c:276: warning: implicit declaration of function `__get_free_pages'
memalloc.c:276: error: `gfp_flags' undeclared (first use in this function)
memalloc.c:276: error: `NULL' undeclared (first use in this function)
memalloc.c:277: warning: implicit declaration of function `virt_to_page'
memalloc.c:277: warning: passing arg 1 of `mark_pages' makes pointer from integer without a cast
memalloc.c: At top level:
memalloc.c:290: error: syntax error before "size_t"
memalloc.c:291: warning: function declaration isn't a prototype
memalloc.c: In function `snd_free_pages':
memalloc.c:294: error: `ptr' undeclared (first use in this function)
memalloc.c:294: error: `NULL' undeclared (first use in this function)
memalloc.c:296: error: `size' undeclared (first use in this function)
memalloc.c:298: warning: passing arg 1 of `unmark_pages' makes pointer from integer without a cast
memalloc.c:299: warning: implicit declaration of function `free_pages'
memalloc.c: At top level:
memalloc.c:309: error: syntax error before "size_t"
memalloc.c:310: warning: function declaration isn't a prototype
memalloc.c: In function `snd_malloc_dev_pages':
memalloc.c:317: error: `size' undeclared (first use in this function)
memalloc.c:319: error: `GFP_KERNEL' undeclared (first use in this function)
memalloc.c:320: error: `__GFP_NORETRY' undeclared (first use in this function)
memalloc.c:320: error: `__GFP_NOWARN' undeclared (first use in this function)
memalloc.c:321: warning: implicit declaration of function `pci_alloc_consistent'
memalloc.c:321: error: `dev' undeclared (first use in this function)
memalloc.c:321: error: `PAGE_SIZE' undeclared (first use in this function)
memalloc.c:321: error: `dma' undeclared (first use in this function)
memalloc.c:321: warning: assignment makes pointer from integer without a cast
memalloc.c:322: error: `NULL' undeclared (first use in this function)
memalloc.c:324: warning: passing arg 1 of `mark_pages' makes pointer from integer without a cast

memalloc.c: In function `free_all_reserved_pages':
memalloc.c:569: error: `list_mutex' undeclared (first use in this function)
memalloc.c:570: warning: implicit declaration of function `list_empty'
memalloc.c:570: error: `mem_list_head' undeclared (first use in this function)
memalloc.c:572: warning: implicit declaration of function `list_entry'
memalloc.c:572: error: syntax error before "struct"
memalloc.c: At top level:
memalloc.c:700: error: syntax error before "snd_mem_init"
memalloc.c:701: warning: return type defaults to `int'
memalloc.c:709: error: syntax error before "snd_mem_exit"
memalloc.c:710: warning: return type defaults to `int'
memalloc.c: In function `snd_mem_exit':
memalloc.c:711: warning: implicit declaration of function `remove_proc_entry'
memalloc.c:711: error: `NULL' undeclared (first use in this function)
memalloc.c:714: error: `KERN_ERR' undeclared (first use in this function)
memalloc.c:714: error: syntax error before string constant
memalloc.c:714: warning: left-hand operand of comma expression has no effect
memalloc.c:714: error: syntax error before ')' token
memalloc.c: At top level:
memalloc.c:719: error: syntax error before "module_exit"
memalloc.c:725: error: syntax error before "EXPORT_SYMBOL"
memalloc.c:725: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:725: warning: parameter names (without types) in function declaration
memalloc.c:725: warning: data definition has no type or storage class
memalloc.c:726: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:726: warning: parameter names (without types) in function declaration
memalloc.c:726: warning: data definition has no type or storage class
memalloc.c:727: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:727: warning: parameter names (without types) in function declaration
memalloc.c:727: warning: data definition has no type or storage class
memalloc.c:729: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:729: warning: parameter names (without types) in function declaration
memalloc.c:729: warning: data definition has no type or storage class
memalloc.c:730: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:730: warning: parameter names (without types) in function declaration
memalloc.c:730: warning: data definition has no type or storage class
memalloc.c:732: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:732: warning: parameter names (without types) in function declaration
memalloc.c:732: warning: data definition has no type or storage class
memalloc.c:733: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.c:733: warning: parameter names (without types) in function declaration
memalloc.c:733: warning: data definition has no type or storage class
In file included from memalloc.c:735:
memalloc.inc1:2:40: missing binary operator before token "("
In file included from memalloc.c:735:
memalloc.inc1:31: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.inc1:31: warning: parameter names (without types) in function declaration
memalloc.inc1:31: warning: data definition has no type or storage class
memalloc.inc1:34: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.inc1:34: warning: parameter names (without types) in function declaration
memalloc.inc1:34: warning: data definition has no type or storage class
memalloc.inc1:37: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.inc1:37: warning: parameter names (without types) in function declaration
memalloc.inc1:37: warning: data definition has no type or storage class
memalloc.inc1:41: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL'
memalloc.inc1:41: warning: parameter names (without types) in function declaration
memalloc.inc1:41: warning: data definition has no type or storage class
memalloc.c:68: warning: `DECLARE_MUTEX' declared `static' but never defined
memalloc.c:69: warning: `LIST_HEAD' declared `static' but never defined
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9b/acore'
make: *** [compile] Error 1
 
Old 07-31-2005, 06:49 PM   #21
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
it looks like the error is with the linux source thats installed, its not finding it correctly.

try going in synaptic and reinstalling the linux source and linux header files, also move the folder that you currently have the alsa driver install files into your home folder /home/xyz and run it from there.

also whenever you use ./configure and make they should always be used as a regular user and not root

if it still wont get any futher in 'make'

then you will most likely have to go into your /usr/src and link to the right folder, remember this last part is if it fails after reinstall of the source only.

in /usr/src there should be a folder called linux-source-4.6.10 or something similar.... first copy and paste /usr/src/linux into a safe folder for later (backup the old file), then use 'sudo ln -s /usr/src/linux-source-xyz /usr/src/linux' where xyz is the folder that i was talking about before that contained the source code... the linux-source-4.6.10 or similar one. good luck yet again!

Last edited by racethesun; 07-31-2005 at 06:54 PM.
 
Old 08-01-2005, 01:41 AM   #22
GreatBrak
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 15
What source are you referring to below?

Quote:
try going in synaptic and reinstalling the linux source and linux header files, also move the folder that you currently have the alsa driver install files into your home folder /home/xyz and run it from there.

My /usr/src folder was blank when I started the installation. I often had a complain about the missing version.h file and its folder, so I copied the files to the specific place. The files that sits there now was extracted from alsa-driver. After I did that the installation at least go further, but now it seems it was not the correct method.


Quote:
also whenever you use ./configure and make they should always be used as a regular user and not root
Never knew this, why would it matter?


Quote:
in /usr/src there should be a folder called linux-source-4.6.10 or something similar.... first copy and paste /usr/src/linux into a safe folder for later (backup the old file), then use 'sudo ln -s /usr/src/linux-source-xyz /usr/src/linux' where xyz is the folder that i was talking about before that contained the source code... the linux-source-4.6.10 or similar one. good luck yet again!
As I've mentioned, my /usr/src was blank. Should I blank it again? And then, is the linux-source downloadable? I Downloaded some files with apt-get, one of them being linux source. Don't know what happened to the file though since apt-get install the files.

For interest sake. I found this link that have some info on the sound card as well.
Just to make sure I followed the instructions. Everything worked fine up to the last command.

https://wiki.ubuntu.com/HdaIntelSoundHowto

Adrislayer, you the same one posting in Ubuntuforums as well?
 
Old 08-01-2005, 05:57 AM   #23
adrislayer
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake
Posts: 16

Rep: Reputation: 0
yes, the same, since on ubuntu forum they sames to be asleep...

thanks racethesun for all your advices

I'm downloading mepis live cd and I will give it a try when it finish.

And I will try before the url from ubuntu howto too

but right now, i must confess, i'm in windows...

so right after the download, i will warn you if something good happend.

And for your errors, I haven't any of that

if you added backports to your apt-source-list it happend to me to install a bad file.

so I installed the linux-header file before to add any backports sources.

Code:
uname -r
this is to get the correct version of your linux kernel
Code:
sudo apt-get install linux-header-2-5-6-386
replace the numbers by what you get from uname -r

well, also, sorry to write so bad in english, I'm a native french-speaker so...
 
Old 08-01-2005, 08:12 AM   #24
adrislayer
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake
Posts: 16

Rep: Reputation: 0
hey hey!

I don't know why but since I rebooted on ubuntu I have some sound !

the last post I made following the intel readme must have worked but since I hadn't rebooted...

but it work ! And that's very fine.

You cannot describe how happy I am having sound !

Now it isn't perfect at all. I don't know if my 5.1 sound works fine and the sound seems to be a little weird.

But since I'm not sure how I made it work, I cannot tell you any more for the moment

I will try something different and make a clean installation to see if it continue to work
 
Old 08-01-2005, 09:01 AM   #25
adrislayer
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake
Posts: 16

Rep: Reputation: 0
I presume my last post here...

I have got the sound to work fine. for the 5.1 I'm not sure but it seems to go fine too.

I have followed the instruction from your link just above.

I have downloaded alsa-driver, alsa-lib, alsa-oss and alsa-utils

I have uncompressed them into a folder I named alsa

then

Quote:
1. The driver: "./configure --with-oss=yes --with-cards=hda-intel", then "make", and "sudo make install".
2. The library, oss-lib, and utils - simply "./configure" "make" "sudo make install"
3. Run "sudo alsaconf" and configure the sound card.
4. Reboot.
And now I have sound

I alsa have changed some things into alsamixer wich goes now fine.

At the end it wasn't so difficult to make it run correctly. I thing the most difficult part is to gather all the packages you need to compile...
 
Old 08-01-2005, 09:08 AM   #26
GreatBrak
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Well English is my second language too. Glad to hear you have sound although bad, at least you have something to keep you awake! My speakers is so old and crappy, I will hear only bad sound. Just the other day I fixed them since only one speaker was playing. I'm currently also in wishdows and at work. Maybe you can post Ubuntu as well, just to wake them up? Will try your suggestions, just a pity my advice works for others but not myself!!!
 
Old 08-01-2005, 01:08 PM   #27
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
for the linux source code.... when your in synaptic either search for packages with the word linux in them or go to development and look for it there... in the manager it should look something like linux-source-xyz.... if it is already installed then your going to have to do some searching for it and make a link like i said before
 
Old 08-01-2005, 01:55 PM   #28
adrislayer
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake
Posts: 16

Rep: Reputation: 0
if you want what I have done:

http://www.ubuntuforums.org/showthre...t=36870&page=3

I have sound work with that. Now I'm not on windows any more and I'm migrating little by little into linux.

I love it, I love to try things and solve some problems. Linux is perfect for me. But as I am now, I cannot do everthing I want

But, I will learn, next time I will be the one giving advices :d
 
Old 08-01-2005, 03:46 PM   #29
GreatBrak
LQ Newbie
 
Registered: Jul 2005
Posts: 29

Original Poster
Rep: Reputation: 15
I get this now with make:

Quote:
make[1]: Leaving directory `/Alsa_new/alsa-driver-1.0.9b'
make -C /usr/src/linux SUBDIRS=/Alsa_new/alsa-driver-1.0.9b modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
CC [M] /Alsa_new/alsa-driver-1.0.9b/acore/hpetimer.o
In file included from /Alsa_new/alsa-driver-1.0.9b/include/sound/driver.h:42,
from /Alsa_new/alsa-driver-1.0.9b/acore/hpetimer.c:22:
The list is longer but everything up to that point is there. The thing is I have a linux-source 2.6.10-5 folder and made a link to it. The problem is then that ./configure complains about the missing version.h file. I checked, its not in the linux-source folder. SO I made the link to linux-headers-2.6.10.5. (I've read about that somewhere, but I can't recall where or why.) Then ./configure run without errors. But make comes up with the above.

This is soooooo annoying, I am close to the point of sacking any onboard sound and go and buy a new sound card, but I don't have the money.

Another thing is that ./configure and make won't run when I'm using regular user. It simply gives a permission denied. So I have to sudo them as well.

I have everything you asked for, and a bunch of other things suggested to me, but alas, no sound at the end of the silence.
BTW I cannot download CD's, my GPRS is way too slow for that! I need about 20hrs+ for a cd!
 
Old 08-01-2005, 04:39 PM   #30
adrislayer
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake
Posts: 16

Rep: Reputation: 0
I sudgest you to do this:

remove with synaptics your linux header, go to apt source-list and remove all the backports, make it as clean as it was before. Normally you should have a backup version. Then, you type
Code:
sudo apt-get install linux-headers-2.6.10-5-386
now when you go into /usr/src/ you should have something like that:
Code:
adri@ubuntu:~$ ls /usr/src/
alsa  linux-headers-2.6.10-5  linux-headers-2.6.10-5-386  rpm
In the folder linux-headers-2.6.10-5-386 there are only links to the folder linux-headers-2.6.10-5.

And, it's normal you have to use root acount if you're working in the /usr/src/ directory. I have done everthing in the /home/username/ directory so you mustn't use sudo so often, but that doesn't mean that with sudo to everthing is bad either.

I'm quite sure it is only your linux-headers that are bad, so give it a try. It will only spend you 5 min.

PS: don't forget to make a "sudo apt-get update" after you removed the backports sources.
and also the "build-essential" that I have installed came from the cd of ubuntu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 537EP modem in Ubuntu (Hoary Hedgehog) PerfectB Linux - Newbie 3 11-15-2005 04:27 PM
sound blaster live 24-bit not recognized by ubuntu hoary hedgehog c-- Linux - Hardware 1 07-31-2005 07:01 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM
usrobitics in ubuntu hoary 5.04 unisol Debian 2 05-14-2005 11:06 AM
Ubuntu Hoary Live 3.5 Timothy Miller Linux - Distributions 0 01-28-2005 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration