<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>I've been trying to compile klips into RHEL 3 (2.4.21-27)
to no avail. I have added the patch but it seems to be refering to a
variable on a struct that doesn't exist.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>udp.c: In function
`udp_queue_rcv_skb':<BR>udp.c:1149: `tp' undeclared (first use in this
function)<BR>udp.c:1149: (Each undeclared identifier is reported only
once<BR>udp.c:1149: for each function it appears in.)<BR>udp.c:1164: structure
has no member named `protocol'<BR>udp.c:1165: structure has no member named
`next'<BR>make[3]: *** [udp.o] Error 1<BR>make[2]: *** [first_rule] Error
2<BR>make[1]: *** [_subdir_ipv4] Error 2<BR>make: *** [_dir_net] Error
2<BR>error: Bad exit status from /var/tmp/rpm-tmp.82623 (%build)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Afflictted code fragment is:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>+
for (esp = (struct inet_protocol *)inet_protos[IPPROTO_ESP &
(MAX_INET_PROTOS -
1)];<BR>+
(esp) && (esp->protocol !=
IPPROTO_ESP);<BR>+
esp = esp->next);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><A
href="http://www.openswan.org/download/openswan-2.3.0.kernel-2.4-klips.patch.gz"><FONT
face=Arial
size=2>http://www.openswan.org/download/openswan-2.3.0.kernel-2.4-klips.patch.gz</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The have checked the headers an there doesn't seem
to be an inet_protocol struct in there. Is there something missing from
the patch or my implementation of it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Gary Smith</FONT></DIV></BODY></HTML>