[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: *** [udp.o] Error 1
make: *** [first_rule] Error 2
make: *** [_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);
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users