alsa 1.0.11 compile on 4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jerry Geis wrote:
>Here is the error I get compiling alsa-drivers.
>sorry I did not include that in my earlier post.
>
<snip>
>/usr/src/alsa-driver-1.0.11/include/adriver.h:219: error: conflicting 
>types for 'gfp_t'
>include/linux/gfp.h:134: error: previous declaration of 'gfp_t' was here
<snip>

There are two changes you need to make to get this to compile.  One is to 
comment out the gfp_t definition in the alsa code (include/adriver.h).

The other is to fix a typo of a r/w lock type in the system headers:

/lib/modules/2.6.9-34.106.unsupportedsmp/build/include/linux/spinlock.h:#define
 DEFINE_RWLOCK(x)        rw_lock_t x = RW_LOCK_UNLOCKED

That needs to be "rwlock_t".  Then everything will compile nicely.

Dave Thompson
UW-Madison


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux