Kernel Module on RedHat 7.2

David Kallus (TBE) x-5469 dkallus at cfl.rr.com
Tue Feb 4 08:56:06 EST 2003


Hi,

I am trying to build the kernel module from CLICK 1.2.4 on RedHat Linux 
7.2 with kernel 2.4.7.  I could not find 2.4.9 so I patched the 2.4.7 
and it seemed to work, but I have run into many problems with  trying to 
build the kernel module.  I did not have any problems building the user 
level version.  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/

[root at foghorn linuxmodule]# make
g++ -w -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_H  
-I../include -I../include -I. -I.. 
-I/usr/src/linux-2.4.7-10-CLICK//include -MD -DCLICK_LINUXMODULE -O2 -c 
../lib/templatei.cc
In file included from /usr/src/linux-2.4.7-10-CLICK/include/net/sock.h:87,
                 from /usr/src/linux-2.4.7-10-CLICK/include/net/ip.h:39,
                 from 
/usr/src/linux-2.4.7-10-CLICK/include/net/checksum.h:31,
                 from ../include/clicknet/ip.h:8,
                 from ../include/click/ipaddress.hh:6,
                 from ../include/click/packet.hh:4,
                 from ../include/click/element.hh:7,
                 from ../include/click/router.hh:4,
                 from ../lib/templatei.cc:21:
/usr/src/linux-2.4.7-10-CLICK/include/linux/atalk.h: In function 
`atalk_iface *atalk_find_dev
(net_device *)':
/usr/src/linux-2.4.7-10-CLICK/include/linux/atalk.h:167: cannot convert 
`net_device' to `atalk_iface *'
in return
make: *** [templatei.o] Error 1
[root at foghorn linuxmodule]#


Any help that you can provide would be greatly appreciated.

-- 
David Kallus
Systems Administrator 

I sense much NT in you... 
NT leads to bluescreen... 
Bluescreen leads to downtime...
Downtime leads to suffering... 
NT is the path to the darkside... 
Powerful Unix is...








More information about the click mailing list