[realtek] problems compiling the driver

Fuzzy fuzzy@piglet.asarian.org
Sun, 12 Aug 2001 19:38:01 -0400 (EDT)


I'm running a 1.2.13 kernel with what started life as a slackware 3.0
distro, libc5, elf binarys. I recompiled the kernel source, but could
not find any reference to modules, other then one prompt,
"config-modversions". setting that prevents the kernel from compiling.
I understand that current kernels ask you Y/N/M during 'make config'
this one appears not to have that option. is there anyway to make the
driver part of a monolithic kernel? or, is there any other way to use
these cards? I have the driver for ne2K as part of the monolithic
kernel it works fine. 

I copyed the console log for the compile, (I tried both with the 
"-DMODVERSIONS" and without uit).

thank you...

					Fuzzy

++ [ -f /usr/include/linux/modversions.h ]
++ echo -DMODVERSIONS
+ gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c 
	-DMODVERSIONS
rtl8139.c: In function `rtl8129_probe1':
rtl8139.c:443: warning: implicit declaration of function `init_etherdev'
rtl8139.c:443: warning: assignment makes pointer from integer without a cast
rtl8139.c:529: warning: assignment from incompatible pointer type
rtl8139.c: In function `rtl8129_open':
rtl8139.c:697: `SA_SHIRQ' undeclared (first use this function)
rtl8139.c:697: (Each undeclared identifier is reported only once
rtl8139.c:697: for each function it appears in.)
rtl8139.c:697: warning: passing arg 2 of `request_irq' from incompatible 
	pointer type
rtl8139.c:697: too many arguments to function `request_irq'
rtl8139.c:750: warning: implicit declaration of function `virt_to_bus'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1178: warning: unsigned int format, u32 arg (arg 3)
rtl8139.c: In function `rtl8129_rx':
rtl8139.c:1227: warning: unsigned int format, u32 arg (arg 3)
rtl8139.c:1236: warning: unsigned int format, u32 arg (arg 3)
rtl8139.c:1243: warning: unsigned int format, u32 arg (arg 3)
rtl8139.c:1262: warning: implicit declaration of function `dev_alloc_skb'
rtl8139.c:1262: warning: assignment makes pointer from integer without a cast
rtl8139.c:1272: warning: implicit declaration of function `skb_reserve'
rtl8139.c:1276: warning: implicit declaration of function `skb_put'
rtl8139.c:1276: warning: passing arg 1 of `__constant_memcpy' makes 
	pointer from integer without a cast
rtl8139.c:1276: warning: passing arg 1 of `__memcpy' makes pointer from 
	integer without a cast
rtl8139.c:1278: warning: passing arg 1 of `__constant_memcpy' makes pointer 
	from integer without a cast
rtl8139.c:1278: warning: passing arg 1 of `__memcpy' makes pointer from 
	integer without a cast
rtl8139.c:1290: warning: implicit declaration of function `eth_copy_and_sum'
rtl8139.c:1298: structure has no member named `protocol'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1344: too many arguments to function `free_irq'