[Openswan Users] issue compiling with linux 2.6.34.1

Yannick Koehler yannick at koehler.name
Thu Jun 9 10:11:35 EDT 2011


I am attempting to compile OpenSwan with linux kernel 2.6.34.1 and get
undefined errors:

net/built-in.o: In function `ipsec_klips_init':
(.text+0xa5a28): undefined reference to `inet6_add_protocol'
net/built-in.o: In function `ipsec_klips_init':
(.text+0xa5acc): undefined reference to `inet6_del_protocol'
net/built-in.o: In function `ipsec_cleanup':
(.text+0xa5bec): undefined reference to `inet6_del_protocol'
net/built-in.o: In function `ipsec_cleanup':
(.text+0xa5d08): undefined reference to `inet6_del_protocol'
net/built-in.o: In function `ipsec_tunnel_SAlookup':
(.text+0xaf1dc): undefined reference to `ipv6_chk_addr'
net/built-in.o: In function `ipsec_xmit_sanity_check_skb':
(.text+0xaffa4): undefined reference to `icmpv6_send'
net/built-in.o: In function `ipsec_xmit_init1':
(.text+0xb2104): undefined reference to `icmpv6_send'
net/built-in.o: In function `ipsec_xmit_init2':
(.text+0xb3130): undefined reference to `icmpv6_send'
net/built-in.o: In function `ipsec_set_dst':
ipsec_xmit.c:(.text+0xb3df8): undefined reference to `ip6_route_output'
net/built-in.o: In function `pfkey_getspi_parse':
pfkey_v2_parser.c:(.text+0xbb924): undefined reference to `ipv6_chk_addr'
net/built-in.o: In function `pfkey_update_parse':
pfkey_v2_parser.c:(.text+0xbc040): undefined reference to `ipv6_chk_addr'
net/built-in.o: In function `pfkey_add_parse':
pfkey_v2_parser.c:(.text+0xbc658): undefined reference to `ipv6_chk_addr'
make: *** [vmlinux] Error 1

Was this broke by adding support to newer kernels?  Or is it something I did
wrong on my side.

-- 
Yannick Koehler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110609/3f0f0099/attachment.html 


More information about the Users mailing list