[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more install problems



Richard Lyons wrote:
On Wednesday 30 July 2003 17:43, Antony Gelberg wrote:
[...]

Why can't you compile the driver?  Now you have the kernel headers,
it shouldn't be too difficult.  I thought you stopped trying when
you thought that 8139too might work.

If you decide to try, it might help to post actual error output.


I did, about three hours ago. Here it is again (below). I'd post the C code as well but it's 1675 lines and another 570 in the kern_compat.h that it's complaining about.

-------------------------------
segaccia:~/down# ls  gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O
O6 -c rtl8319.c -o realtek_cb.o
-I/usr/src/linux/include/ [1P [1P [1@1 [1@3
In file included from rtl8139.c:110:
/usr/src/linux/include/linux/malloc.h:4: warning: #warning
linux/malloc.h is deprecated, use linux/slab.h instead.
In file included from rtl8139.c:130:
kern_compat.h:463: warning: static declaration for `pci_find_capability'
follows non-static
rtl8139.c: In function `rtl8129_open':
rtl8139.c:714: structure has no member named `tbusy'
rtl8139.c:715: structure has no member named `interrupt'
rtl8139.c:716: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
[...]

I really cannot make much sense of the errors reported.


The cause of the errors was that linux/version.h was being included from a 2.2 kernel, but linux/netdevice.h was being include from a 2.4 kernel.

You said you installed kernel-headers-2.4.18-bf2.4 and symlinked it to /usr/src/linux, and that might fix the compile.

Make sure you do a "make clean" before you try again.
--
Andrew

Attachment: pgpo9OlzK5zAD.pgp
Description: PGP signature


Reply to: