public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Lieverdink <peter@cc.com.au>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.2 PPC ALSA snd-powermac
Date: Thu, 12 Feb 2004 09:56:42 +1100	[thread overview]
Message-ID: <1076540202.13791.19.camel@kahlua> (raw)
In-Reply-To: <s5hr7x1bzvr.wl@alsa2.suse.de>

[-- Attachment #1: Type: text/plain, Size: 3341 bytes --]

On Wed, 2004-02-11 at 22:48, Takashi Iwai wrote:
> At Wed, 11 Feb 2004 18:11:48 +1100,
> Peter Lieverdink wrote:
> > 
> > [1  <text/plain (quoted-printable)>]
> > Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
> > me an option to enable i2c? It's supposed to be in Character Devices,
> > no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
> > snd-powermac' spews forth:
> 
> does the attached patch work?

Unfortunately:

cafuego@chocomel:/usr/src/linux-2.6.2$ make-kpkg clean; make-kpkg
--revision chocomel.1 kernel-image
[...]
LD      .tmp_vmlinux1
sound/built-in.o(.text+0x28770): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28788): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x287a4): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28834): In function `daca_set_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28aac): In function `daca_put_amp':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28ae8): In function `daca_resume':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28b0c): In function `daca_resume':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28bb0): In function `send_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28df0): In function
`tumbler_set_master_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28fd8): In function `tumbler_set_drc':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x290c0): In function `snapper_set_drc':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29328): In function `tumbler_set_mono_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29500): In function `snapper_set_mix_vol1':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29e04): In function `keywest_attach_adapter':
: undefined reference to `i2c_attach_client'
sound/built-in.o(.text+0x29e7c): In function `keywest_detach_client':
: undefined reference to `i2c_detach_client'
sound/built-in.o(.text+0x29ef0): In function `snd_pmac_keywest_cleanup':
: undefined reference to `i2c_del_driver'
sound/built-in.o(.init.text+0x2848): In function
`snd_pmac_keywest_init':
: undefined reference to `i2c_add_driver'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.2'
make: *** [stamp-build] Error 2
cafuego@chocomel:/usr/src/linux-2.6.2$

- Peter.
--

> --
> Takashi Iwai <tiwai@suse.de>		ALSA Developer - www.alsa-project.org
> 
> ______________________________________________________________________
> --- linux/sound/ppc/Kconfig	4 Nov 2002 08:43:16 -0000	1.1
> +++ linux/sound/ppc/Kconfig	11 Feb 2004 11:43:56 -0000
> @@ -5,7 +5,9 @@
>  
>  config SND_POWERMAC
>  	tristate "PowerMac (AWACS, DACA, Burgundy, Tumbler, Keywest)"
> -	depends on SND
> +	depends on SND && PPC_PMAC
> +        select I2C
> +        select I2C_KEYWEST
>  
>  endmenu

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-02-11 22:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11  7:11 2.6.2 PPC ALSA snd-powermac Peter Lieverdink
2004-02-11 11:48 ` Takashi Iwai
2004-02-11 22:56   ` Peter Lieverdink [this message]
2004-02-14 16:47     ` Adrian Bunk
     [not found]       ` <1076794515.30208.0.camel@kahlua>
2004-02-15 13:39         ` Adrian Bunk
2004-02-20  2:23           ` Peter Lieverdink
2004-02-11 13:57 ` Giuliano Pochini

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=1076540202.13791.19.camel@kahlua \
    --to=peter@cc.com.au \
    --cc=linux-kernel@vger.kernel.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