Bug 21062 - Kernel 2.6.34.7 doesn't build on Ubuntu Lucid Lynx for powerpc (error in oss driver change_bits)
Summary: Kernel 2.6.34.7 doesn't build on Ubuntu Lucid Lynx for powerpc (error in oss...
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-32 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_ppc-32
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-24 09:03 UTC by klapauzius
Modified: 2010-11-02 14:15 UTC (History)
0 users

See Also:
Kernel Version: 2.6.34.7
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

Description klapauzius 2010-10-24 09:03:28 UTC
When building the 2.6.34.7-kernel on a powerpc machine (mac mini G4) running Lucid Lynx i get a compile error due to conflicting definitions of function change_bits:

sound/oss/sb_mixer.c:235: error: conflicting types for ‘change_bits’
/usr/src/linux-2.6.34.7/arch/powerpc/include/asm/bitops.h:82: note: previous definition of ‘change_bits’ was here

The definitions are indeed different:

sound/oss/sb_mixer.c:

static void change_bits(sb_devc * devc, unsigned char *regval, int dev, int chn, int newval)

/usr/src/linux-2.6.34.7/arch/powerpc/include/asm/bitops.h

static __inline__ void change_bit(int nr, volatile unsigned long *addr)
Comment 1 klapauzius 2010-11-02 14:15:41 UTC
I compiled the kernel with a different config from www.ppcnux.com and it worked. Bug closed.

Note You need to log in before you can comment on or make changes to this bug.