lkml.org 
[lkml]   [1998]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.1.82 Compile Warnings, Patch for CS4232 sound
Well, someone has done a BEAUTY of a job with this one, there were so many
warnings when I compiled, I couldn't believe it when this thing actually
finished making properly. All of the warnings are attached below.

Also, there is a patch that needs to be included in the next kernel
release that makes the CS4232 sound drivers compile properly in the kernel
(someone forgot to have it link another file in, whichs is needed by the
CS4232). I am not sure if this fixes the module symbol problems, but I
know it makes my compiled-in CS4232 driver work properly (before the
kernel compile would die because of errors, which are at the bottom of
the message). I forget who wrote the patch to fix the CS4232, but I
should note that I did not write it.

-------2.1.82 compile warnings-------
In file included from /usr/src/linux/include/linux/sched.h:73,
from signal.c:10:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:73,
from /usr/src/linux/include/linux/blkdev.h:5,
from ksyms.c:16:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:48,
from ksyms.c:27:
/usr/src/linux/include/asm/hardirq.h:17: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:54: warning: this is the location of the previous definitrm -f kernel.o
make[1]: Leaving directory `/usr/src/linux/kernIn file included from /usr/src/linux/include/linux/sched.h:73,
from /usr/src/linux/include/linux/mm.h:4,
from ide.c:118:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:48,
from ide.c:119:
/usr/src/linux/include/asm/hardirq.h:17: rm -f block.a
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-proto
In file included from /usr/src/linux/include/linux/sched.h:73,
from selection.c:17:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_dgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -mIn file included from /usr/src/linux/include/linux/sched.h:73,
from seriarm -f char.a
ar rcs filesystems.a ext2In file included from /usr/src/linux/include/linux/sched.h:73,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/src/linux/include/linux/skbuff.h:140,
from firewall.c:11:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:73,
from af_netlink.c:20:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:48,
from /usr/src/linux/include/linux/netdevice.h:317,
from af_netlink.c:35:
/usr/src/linux/include/asm/hardirq.h:17: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:54: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:49,
from /usr/src/linux/include/linux/netdevice.h:317,
from af_netlink.c:35:
/usr/src/linux/include/asm/softirq.h:96: warning: `synchronize_bh' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:56: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:73,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/src/linux/include/linux/skbuff.h:140,
from /usr/src/linux/include/linux/netdevice.h:154,
from netsyms.c:14:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:48,
from /usr/src/linux/include/linux/netdevice.h:317,
from netsyms.c:14:
/usr/src/linux/include/asm/hardirq.h:17: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:54: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:49,
from /usr/src/linux/include/linux/netdevice.h:317,
from netsyms.c:14:
/usr/src/linux/include/asm/softirq.h:96: warning: `synchronize_bh' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:56: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:73,
from i386_ksyms.c:7:
/usr/src/linux/include/asm/processor.h:52: warning: `cpu_data' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:48: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:48,
from i386_ksyms.c:9:

/usr/src/linux/include/asm/hardirq.h:17: warning: `synchronize_irq' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:54: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:49,
from i386_ksyms.c:9:
/usr/src/linux/include/asm/softirq.h:96: warning: `synchronize_bh' redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:56: warning: this is the location of the previous definition
t'
------end------

------begin compile errors on CS4232 (stock)------
drivers/sound/sound.a(cs4232.o): In function `probe_cs4232':
cs4232.o(.text+0x7d): undefined reference to `ad1848_detect'
cs4232.o(.text+0x2c6): undefined reference to `ad1848_detect'
drivers/sound/sound.a(cs4232.o): In function `attach_cs4232':
cs4232.o(.text+0x370): undefined reference to `ad1848_init'
cs4232.o(.text+0x38a): undefined reference to `ad1848_control'
cs4232.o(.text+0x396): undefined reference to `ad1848_control'
cs4232.o(.text+0x3a2): undefined reference to `ad1848_control'
drivers/sound/sound.a(cs4232.o): In function `unload_cs4232':
cs4232.o(.text+0x3cf): undefined reference to `ad1848_unload'
make: *** [vmlinux] Error 1
------end------

------begin patch to fix sound for CS4232------
--- linux/drivers/sound/Makefile.old Thu Jan 22 12:09:43 1998
+++ linux/drivers/sound/Makefile Thu Jan 22 12:05:46 1998
@@ -183,10 +183,10 @@
endif

ifeq ($(CONFIG_CS4232),y)
-LX_OBJS += cs4232.o
+LX_OBJS += cs4232.o ad1848.o
else
ifeq ($(CONFIG_CS4232),m)
- MX_OBJS += cs4232.o
+ MX_OBJS += cs4232.o ad1848.o
endif
endif
------end------

robert g
-=| e-mail - gashalot (at) gnu (dot) net
-=| webmaster - gashalot.com gnu.net
-=| homepage - www.gashalot.com

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