alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: The Source <thesourcehim@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Trouble compiling alsa-driver-1.0.23 on Fedora 13
Date: Wed, 02 Jun 2010 17:06:24 +0400	[thread overview]
Message-ID: <4C065750.7090103@gmail.com> (raw)
In-Reply-To: <s5hd3w9spvi.wl%tiwai@suse.de>

02.06.2010 14:14, Takashi Iwai пишет:
> At Wed, 2 Jun 2010 10:22:39 +0200,
> Uros Bizjak wrote:
>    
>> On Tue, Jun 1, 2010 at 9:30 PM, Mads Kiilerich<mads@kiilerich.com>  wrote:
>>
>>      
>>>> Trying to compile alsa-driver-1.0.23 on Fedora 13, I got following
>>>> failure:
>>>>
>>>> gmake -C /lib/modules/2.6.33.5-112.fc13.x86_64/source
>>>> SUBDIRS=/home/uros/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
>>>> gmake[1]: Entering directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
>>>> Makefile:535: /usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch//Makefile:
>>>> No such file or directory
>>>> gmake[1]: *** No rule to make target
>>>> `/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch//Makefile'.  Stop.
>>>> gmake[1]: Leaving directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
>>>> gmake: *** [compile] Error 2
>>>>
>>>> I have installed required kernel-devel package.
>>>>
>>>> Am I missing something else to successfully compile alsa-kernel drivers?
>>>>
>>>>          
>>> Uros, I don't think you are missing anything - it seems like there is a real
>>> problem with the Fedora kernels and the latest alsa drivers.
>>>
>>> alsa-compile.sh as described on
>>> http://www.alsa-project.org/main/index.php/Driver_Compilation used to work
>>> for me on Fedora 12 and check for all dependencies, but now I get the same
>>> error.
>>>
>>> The Makefile fails in line 535 because SRCARCH (and ARCH) is empty even
>>> though SUBARCH is correctly (on my machine) set to i386. I don't know why or
>>> how it usually works.
>>>        
>> Thanks!
>>
>> I have to note, that adding ARCH=x86 to make command also doesn't fly.
>> Also, I have found [1], where the same problem is reported.
>>
>> So, I guess I'll just lean back and wait for things to get resolved...
>>   I can provide further information on request, though.
>>
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=588350#c4
>>      
> Could you try the latest alsa-driver snapshot tarball below?
>      ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
>
>
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>    
Same error. If ARCH=x86 added then the error is the following:

make -C /lib/modules/2.6.33.5-112.fc13.x86_64/build 
SUBDIRS=/mnt/d/distr/alsa-driver  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
   CC [M]  /mnt/d/distr/alsa-driver/acore/memory_wrapper.o
In file included from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
/mnt/d/distr/alsa-driver/include/adriver.h:293:1: warning: "GFP_DMA32" 
redefined
In file included from include/linux/kmod.h:22,
                  from include/linux/module.h:13,
                  from /mnt/d/distr/alsa-driver/include/adriver.h:63,
                  from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
include/linux/gfp.h:116:1: warning: this is the location of the previous 
definition
In file included from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
/mnt/d/distr/alsa-driver/include/adriver.h:864: error: static 
declaration of ‘jiffies_to_msecs’ follows non-static declaration
include/linux/jiffies.h:296: note: previous declaration of 
‘jiffies_to_msecs’ was here
/mnt/d/distr/alsa-driver/include/adriver.h:883: error: static 
declaration of ‘msecs_to_jiffies’ follows non-static declaration
include/linux/jiffies.h:298: note: previous declaration of 
‘msecs_to_jiffies’ was here
In file included from /mnt/d/distr/alsa-driver/include/adriver.h:984,
                  from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
include/linux/pci.h:724: error: expected identifier or ‘(’ before 
numeric constant
In file included from 
/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch/x86/include/asm/pci.h:4,
                  from include/linux/pci.h:1145,
                  from /mnt/d/distr/alsa-driver/include/adriver.h:984,
                  from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
include/linux/mm.h:269: error: conflicting types for 
‘snd_compat_vmalloc_to_page’
/mnt/d/distr/alsa-driver/include/adriver.h:785: note: previous 
declaration of ‘snd_compat_vmalloc_to_page’ was here
In file included from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
/mnt/d/distr/alsa-driver/include/adriver.h: In function 
‘snd_pci_orig_save_state’:
/mnt/d/distr/alsa-driver/include/adriver.h:1233: error: too many 
arguments to function ‘pci_save_state’
/mnt/d/distr/alsa-driver/include/adriver.h: In function 
‘snd_pci_orig_restore_state’:
/mnt/d/distr/alsa-driver/include/adriver.h:1237: error: too many 
arguments to function ‘pci_restore_state’
In file included from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
/mnt/d/distr/alsa-driver/include/adriver.h:1638:1: warning: 
"page_to_pfn" redefined
In file included from 
/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch/x86/include/asm/page.h:58,
                  from 
/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch/x86/include/asm/processor.h:18,
                  from include/linux/prefetch.h:14,
                  from include/linux/list.h:6,
                  from include/linux/module.h:9,
                  from /mnt/d/distr/alsa-driver/include/adriver.h:63,
                  from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
include/asm-generic/memory_model.h:72:1: warning: this is the location 
of the previous definition
In file included from /mnt/d/distr/alsa-driver/acore/memory_wrapper.c:19:
/mnt/d/distr/alsa-driver/include/adriver.h: At top level:
/mnt/d/distr/alsa-driver/include/adriver.h:1805: error: static 
declaration of ‘pci_ioremap_bar’ follows non-static declaration
include/linux/pci.h:1292: note: previous declaration of 
‘pci_ioremap_bar’ was here
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c: In function 
‘snd_compat_vmalloc_to_page’:
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:38: error: implicit 
declaration of function ‘VMALLOC_VMADDR’
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:40: error: ‘init_mm’ 
undeclared (first use in this function)
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:40: error: (Each 
undeclared identifier is reported only once
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:40: error: for each 
function it appears in.)
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:43: warning: passing 
argument 1 of ‘pmd_offset’ from incompatible pointer type
/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch/x86/include/asm/pgtable.h:425: 
note: expected ‘struct pud_t *’ but argument is of type ‘struct pgd_t *’
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:44: error: implicit 
declaration of function ‘pte_offset’
/mnt/d/distr/alsa-driver/acore/memory_wrapper.c:44: warning: assignment 
makes pointer from integer without a cast
make[3]: *** [/mnt/d/distr/alsa-driver/acore/memory_wrapper.o] Error 1
make[2]: *** [/mnt/d/distr/alsa-driver/acore] Error 2
make[1]: *** [_module_/mnt/d/distr/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
make: *** [compile] Error 2

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2010-06-02 13:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 16:47 Trouble compiling alsa-driver-1.0.23 on Fedora 13 Uros Bizjak
2010-06-01 19:30 ` Mads Kiilerich
2010-06-02  8:22   ` Uros Bizjak
2010-06-02 10:14     ` Takashi Iwai
2010-06-02 13:06       ` The Source [this message]
2010-06-02 17:35       ` Uros Bizjak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C065750.7090103@gmail.com \
    --to=thesourcehim@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).