Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Boros <andrei@srr.ro>
To: alsa-devel@lists.sourceforge.net, tiwai@suse.de
Subject: snd-isapnp still not compiled in latest cvs
Date: Thu, 13 Mar 2003 13:39:02 +0200	[thread overview]
Message-ID: <3E706DD6.8907ECA2@srr.ro> (raw)


 I think I found out why it doesn't compile the snd-isapnp module

in alsa-driver/Makefile :

ifeq (n,$(CONFIG_ISAPNP_KERNEL))
ifeq (y,$(CONFIG_ISAPNP))
ifeq (y,$(CONFIG_ISA))
SUBDIRS  += support
endif
endif
endif

That should be changed to :
ifdef CONFIG_ISAPNP_KERNEL
else
ifeq (y,$(CONFIG_ISAPNP))
ifeq (y,$(CONFIG_ISA))
SUBDIRS  += support
endif
endif
endif

(just the way Takashi Iwai changed alsa-driver/support/Makefile for the
same purpose)

However, after this, compilation of snd-isapnp is attempted, with the
following errors:

ld  -r -o snd-isapnp.o isapnp.o isapnp_proc.o isapnp_quirks.o
isapnp_proc.o(.bss+0x4): multiple definition of
`isapnp_devices_Rfc7fa7cf'
isapnp.o(.data+0x104): first defined here
isapnp_proc.o(.bss+0x0): multiple definition of `isapnp_cards_R2eb552c2'
isapnp.o(.data+0x100): first defined here
make[1]: *** [snd-isapnp.o] Error 1
make[1]: Leaving directory `/serve/install/alsa-cvs/alsa-driver/support'
make: *** [compile] Error 1

Then, in alsa-driver/support/isapnp_proc.c line 53 I changed to :

extern struct isapnp_card *isapnp_cards;
extern struct isapnp_dev *isapnp_devices;

compilation works. 
Still unresolved symbols with sequencer, but I'll look into it later. 


-- 
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

             reply	other threads:[~2003-03-13 11:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 11:39 Andrei Boros [this message]
2003-03-13 13:56 ` snd-isapnp still not compiled in latest cvs Takashi Iwai

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=3E706DD6.8907ECA2@srr.ro \
    --to=andrei@srr.ro \
    --cc=alsa-devel@lists.sourceforge.net \
    --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