All of lore.kernel.org
 help / color / mirror / Atom feed
* ALSA .text.exit compile errors in 2.5.14-dj2
@ 2002-05-09 11:26 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2002-05-09 11:26 UTC (permalink / raw)
  To: alsa-devel; +Cc: Linux Kernel

Hi,

while trying to compile a non-modular 2.5.14-dj2 kernel I got the
following ALSA-related .text.exit errors at the final linking:


<--  snip  -->

...
sound/sound.o: In function `snd_card_es968_probe':
sound/sound.o(.text.init+0x22222): undefined reference to `local symbols
in discarded section .text.exit'
sound/sound.o: In function `alsa_rme9652_mem_init':
sound/sound.o(.text.init+0x2b78a): undefined reference to `local symbols
in discarded section .text.exit'
sound/sound.o(.data+0x36fd4): undefined reference to `local symbols in
discarded section .text.exit'
...

<--  snip  -->

The problems are

In sound/isa/sb/es968.c:
snd_card_es968_probe isn't __exit (more exactly it's __init) but it calls
snd_card_es968_free that is __exit

In sound/pci/rme9652/rme9652_mem.c:
alsa_rme9652_mem_init isn't __exit (more exactly it's __init) but it calls
rme9652_free_buffers that is __exit


I'm not sure whether removing the __exit is the right solution or whether
there's a better solution.


cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

^ permalink raw reply	[flat|nested] 2+ messages in thread
* ALSA .text.exit compile errors in 2.5.14-dj2
@ 2002-05-09 11:26 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2002-05-09 11:26 UTC (permalink / raw)
  To: alsa-devel; +Cc: Linux Kernel

Hi,

while trying to compile a non-modular 2.5.14-dj2 kernel I got the
following ALSA-related .text.exit errors at the final linking:


<--  snip  -->

...
sound/sound.o: In function `snd_card_es968_probe':
sound/sound.o(.text.init+0x22222): undefined reference to `local symbols
in discarded section .text.exit'
sound/sound.o: In function `alsa_rme9652_mem_init':
sound/sound.o(.text.init+0x2b78a): undefined reference to `local symbols
in discarded section .text.exit'
sound/sound.o(.data+0x36fd4): undefined reference to `local symbols in
discarded section .text.exit'
...

<--  snip  -->

The problems are

In sound/isa/sb/es968.c:
snd_card_es968_probe isn't __exit (more exactly it's __init) but it calls
snd_card_es968_free that is __exit

In sound/pci/rme9652/rme9652_mem.c:
alsa_rme9652_mem_init isn't __exit (more exactly it's __init) but it calls
rme9652_free_buffers that is __exit


I'm not sure whether removing the __exit is the right solution or whether
there's a better solution.


cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-09 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-09 11:26 ALSA .text.exit compile errors in 2.5.14-dj2 Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2002-05-09 11:26 Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.