configure error with alsa-driver-0.9.7a
Thank you Takashi,
With your advice I was able to run the configure script.
Now alas, make is giving me problems...
If it matters any this is an old 486 ISA (only) computer, (Dinosours still roam some parts of the planet....) and no PCI stuff was compiled into the kernel.
Thanks for any help,
Paul
Here is the tail end of stdout:
<snip>-----------------------------------------------------
/lib/modules/2.2.20alsa/build/include/linux/pci.h:1518:20: warning: pasting would not give a valid preprocessing tokenmemalloc.c: In function `preallocate_cards':
memalloc.c:827: `PCI_ANY_ID' undeclared (first use in this function) memalloc.c:827: (Each undeclared identifier is reported only once memalloc.c:827: for each function it appears in.) memalloc.c:838: warning: implicit declaration of function pci_set_dma_mask' memalloc.c:846: warning: implicit declaration of function snd_dma_device_pci'
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for .modinfo
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-driver-0.9.7a/acore'
make: *** [compile] Error 1
[root@FarNorth alsa-driver-0.9.7a]#
Quoted 6 lines
At Wed, 8 Oct 2003 01:33:17 -0800,
Quoted 4 lines · Paul Berry
Hello kind alsa developers:
I was attempting to upgrade the alsa-drivers in an old system, Redhat
7.0
Quoted 3 lines
Quoted 3 lines
(upgraded to a custom compiled 2.2.20 kernel) that is presently using alsa-driver-0.9.0rc6.
The system works fine, just wanted the latest drivers, but when I tried
to
Quoted 2 lines
Quoted 2 lines
upgrade to the 0.9.7a drivers the configure script stopped midway. I'm puzzled as I've compiled this kernel using the same gcc version (2.96)
that
Quoted 8 lines
Quoted 1 line
I am attempting to use on for the new drivers.
then,
$LINUXSRC/include/linux/compile.hwasn't regenerated by some reason. you can remove that file (better rename to others to be sure), and retry configure again.Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
At Thu, 9 Oct 2003 01:11:49 -0800,
Quoted 8 lines · Paul Berry
Thank you Takashi,
With your advice I was able to run the configure script.
Now alas, make is giving me problems...
If it matters any this is an old 486 ISA (only) computer, (Dinosours still roam some parts of the planet....) and no PCI stuff was compiled into the kernel.
please try the patch attached below. (it's already on cvs.)
ciao,
Takashi
Thank you for the patch Takashi and here is what came of it.
I'm kinda green at this so this is what I did with the patch. I copied it to the alsa-driver-0.9.7a/acore/ folder and ran:
patch -b --verbose memalloc.c <memalloc-nopci.dif
everything seemed to go fine so I restarted the make process and here is the tail of what followed (the memalloc.o file was created as well):
<snip>----------------------------------------------------------------------
---------/lib/modules/2.2.20alsa/build/include/linux/pci.h:1518:20: warning: pasting would not give a valid preprocessing token
In file included from memory_wrapper.c:18:pci_compat_22.c: In function `snd_pci_compat_match_device':
pci_compat_22.c:83: dereferencing pointer to incomplete type pci_compat_22.c:83: dereferencing pointer to incomplete type pci_compat_22.c:83: dereferencing pointer to incomplete type pci_compat_22.c:84: dereferencing pointer to incomplete type pci_compat_22.c:84: `PCI_ANY_ID' undeclared (first use in this function) pci_compat_22.c:84: (Each undeclared identifier is reported only once pci_compat_22.c:84: for each function it appears in.) pci_compat_22.c:84: dereferencing pointer to incomplete type pci_compat_22.c:85: dereferencing pointer to incomplete type pci_compat_22.c:85: dereferencing pointer to incomplete type pci_compat_22.c:86: dereferencing pointer to incomplete type pci_compat_22.c:86: dereferencing pointer to incomplete type pci_compat_22.c:87: dereferencing pointer to incomplete type pci_compat_22.c:87: dereferencing pointer to incomplete type pci_compat_22.c:88: dereferencing pointer to incomplete type pci_compat_22.c:88: dereferencing pointer to incomplete type pci_compat_22.c:90: increment of pointer to unknown structure pci_compat_22.c:90: arithmetic on pointer to an incomplete type pci_compat_22.c: In function `snd_pci_announce_device':
pci_compat_22.c:100: dereferencing pointer to incomplete type pci_compat_22.c:101: dereferencing pointer to incomplete type pci_compat_22.c:117: dereferencing pointer to incomplete type pci_compat_22.c: In function `snd_pci_compat_register_driver':
pci_compat_22.c:129: dereferencing pointer to incomplete type pci_compat_22.c:130: warning: implicit declaration of function `pci_for_each_dev'
pci_compat_22.c:130: parse error before `{'
pci_compat_22.c:132: map' undeclared (first use in this function) pci_compat_22.c:126: warning: dev' might be used uninitialized in this function
pci_compat_22.c:134: warning: control reaches end of non-void function pci_compat_22.c: At top level:
pci_compat_22.c:135: parse error before return' pci_compat_22.c: In function snd_pci_compat_unregister_driver':
pci_compat_22.c:142: dereferencing pointer to incomplete type pci_compat_22.c:143: parse error before `{'
pci_compat_22.c:145: `map' undeclared (first use in this function) pci_compat_22.c:146: dereferencing pointer to incomplete type pci_compat_22.c:147: dereferencing pointer to incomplete type pci_compat_22.c: At top level:
pci_compat_22.c:152: parse error before `}'pci_compat_22.c: In function `snd_pci_compat_set_power_state':
pci_compat_22.c:221: warning: implicit declaration of function `snd_pci_compat_find_capability'
make[1]: *** [memory_wrapper.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-driver-0.9.7a/acore'
make: *** [compile] Error 1
[root@FarNorth alsa-driver-0.9.7a]#
If this is an obscure bug that only occurs in my case then I don't want to waste your time tracking it down as the old drivers do work, but if all this is good for the cause then I'm game to see it through.
Thank you very much for your efforts.
Sincerely,
Paul
----- Original Message -----
From: "Takashi Iwai" <[email protected]>
To: "Paul Berry" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, October 09, 2003 2:22 AM
Subject: Re: [Alsa-devel] configure error with alsa-driver-0.9.7a
Quoted 7 lines
please try the patch attached below. (it's already on cvs.)
ciao,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
At Fri, 10 Oct 2003 01:54:25 -0800,
Quoted 9 lines · Paul Berry
Thank you for the patch Takashi and here is what came of it.
I'm kinda green at this so this is what I did with the patch. I copied it to the alsa-driver-0.9.7a/acore/ folder and ran:
patch -b --verbosememalloc.c<memalloc-nopci.difeverything seemed to go fine so I restarted the make process and here is the tail of what followed (the memalloc.o file was created as well):
does the attached patch solve the problem?
Takashi
Takashi:
Thanks for the linux22-nopci.dif patch. When it was applied and make was re-run the alsa-drivers successfully compiled and installed.
Thank you very much,
Paul
----- Original Message -----
From: "Takashi Iwai" <[email protected]>
To: "Paul Berry" <[email protected]>
Cc: <[email protected]>
Sent: Friday, October 10, 2003 7:23 AM
Subject: Re: [Alsa-devel] configure error with alsa-driver-0.9.7a
Quoted 6 lines
does the attached patch solve the problem?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php