[Openswan Users] Patch compile problem with KLIPS
Gary W. Smith
gary at primeexalia.com
Fri Feb 4 17:55:41 CET 2005
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.
udp.c: In function `udp_queue_rcv_skb':
udp.c:1149: `tp' undeclared (first use in this function)
udp.c:1149: (Each undeclared identifier is reported only once
udp.c:1149: for each function it appears in.)
udp.c:1164: structure has no member named `protocol'
udp.c:1165: structure has no member named `next'
make[3]: *** [udp.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_ipv4] Error 2
make: *** [_dir_net] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.82623 (%build)
Afflictted code fragment is:
+ for (esp = (struct inet_protocol *)inet_protos[IPPROTO_ESP & (MAX_INET_PROTOS - 1)];
+ (esp) && (esp->protocol != IPPROTO_ESP);
+ esp = esp->next);
http://www.openswan.org/download/openswan-2.3.0.kernel-2.4-klips.patch.gz <http://www.openswan.org/download/openswan-2.3.0.kernel-2.4-klips.patch.gz>
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?
Gary Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20050204/4a51db96/attachment-0001.htm
More information about the Users
mailing list