Kernel Module on RedHat 7.2

Eddie Kohler kohler at icir.org
Tue Feb 4 11:46:39 EST 2003


Hi David,

> After fixing a few minor things that the build was 
> complaining about, I have come across a problem that I am not sure how 
> to get past.  This is the output from the make in 
> <CLICK_DISRTIBUTION>/linuxmodule/

The easiest fix is to disable AppleTalk networking in your kernel. (Do you
need AppleTalk networking?)
The other fix is to apply this patch, from our linux-2.4.20-patch:

diff -ru --exclude=.depend --exclude='*.o' --exclude='*.orig' --exclude='*.flags' ../linux-2.4.20-pure/include/linux/atalk.h ./include/linux/atalk.h
--- ../linux-2.4.20-pure/include/linux/atalk.h	2001-11-22 11:47:11.000000000 -0800
+++ ./include/linux/atalk.h	2003-01-27 15:57:46.000000000 -0800
@@ -163,7 +163,7 @@
 
 static inline struct atalk_iface *atalk_find_dev(struct net_device *dev)
 {
-	return dev->atalk_ptr;
+	return (struct atalk_iface *) dev->atalk_ptr;
 }
 
 extern struct at_addr *atalk_find_dev_addr(struct net_device *dev);

Let us know if anything else goes wrong!
Eddie






More information about the click mailing list