[lkml]   [2002]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH]take2 2.4.18-pre1 sound/trident fix with newer binutils
Take 2.  Mistake in previous patch.  Sorry.
Hello Ollie,
Small problem.
I cannot build kernel with binutils-

Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E' AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
drivers/sound/trident.o(.data+0x154): undefined reference to `local symbols in discarded section .text.exit'

Please submit the attached patch to Marcelo and Linus
for 2.4 and 2.5 respectfully. This patch also works
with older binutils-2.11.2
--- trident.c.orig Wed Jan 2 06:36:12 2002
+++ trident.c Wed Jan 2 08:59:09 2002
@@ -4141,7 +4141,7 @@
goto out;

-static void __exit trident_remove(struct pci_dev *pci_dev)
+static void __devexit trident_remove(struct pci_dev *pci_dev)
int i;
struct trident_card *card = pci_get_drvdata(pci_dev);
@@ -4194,7 +4194,7 @@
id_table: trident_pci_tbl,
probe: trident_probe,
- remove: trident_remove,
+ remove: __devexit_p(trident_remove),
suspend: trident_suspend,
resume: trident_resume
@@ -4214,7 +4214,7 @@
return 0;

-static void __exit trident_cleanup_module (void)
+static void __devexit trident_cleanup_module (void)
Albert Cranford Deerfield Beach FL USA
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:15    [W:0.034 / U:0.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site