[Olsr-dev] Build break in master branch

Kees-Jan Hermans (spam-protected)
Mon Sep 3 19:26:07 CEST 2012


Thanks, Frank.

On Mon, 2012-09-03 at 13:43 +0200, Frank de Brabander wrote:
> Submitted the fix, hope this will resolve the problems. Sorry for the
> inconvenience.
>
> Greetings,
> Frank
>
> On 03-09-12 13:30, "Frank de Brabander" <(spam-protected)> wrote:
>
> >It was indeed intended as an optional feature that can be activated with
> >build options. I've made some mistake with that and will submit a fix
> >soon.
> >
> >It was already mentioned on some earlier mailing list discussion; but it
> >would be great if OLSR would be using autotools for easier build
> >management.
> >
> >On 03-09-12 13:13, "Teco Boot" <(spam-protected)> wrote:
> >
> >>The nl80211 is somewhat experimental. I want this in our repository (no
> >>dead end), maybe activated with compiler options. OK to keep it in
> >>master, and fix the issue ASAP?
> >>
> >>Teco
> >>
> >>Op 3 sep. 2012, om 10:20 heeft Henning Rogge het volgende geschreven:
> >>
> >>> Hi,
> >>>
> >>> Jenkins informed me that we have a build break for Android with the new
> >>>nl80211 metric code.
> >>>
> >>> Can you have a look at it?
> >>>
> >>> Henning Rogge
> >>>
> >>>
> >>> [...truncated 56 lines...]
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/scheduler.c:44:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_plugin_default_ffeth.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/lq_plugin_default_ffeth.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/build_msg.c
> >>> In file included from src/build_msg.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/two_hop_neighbor_table.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/two_hop_neighbor_table.h:47,
> >>>                 from src/two_hop_neighbor_table.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/tc_set.c
> >>> In file included from src/tc_set.c:44:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/main.c
> >>> In file included from src/main.c:47:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/hashing.c
> >>> [CC] src/process_package.c
> >>> In file included from src/process_package.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_plugin_default_ff.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/lq_plugin_default_ff.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/interfaces.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/routing_table.h:52,
> >>>                 from src/process_routes.h:45,
> >>>                 from src/net_olsr.h:47,
> >>>                 from src/interfaces.c:50:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_packet.c
> >>> In file included from src/lq_packet.c:44:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/gateway.c
> >>> In file included from src/gateway.c:12:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/rebuild_packet.c
> >>> In file included from src/rebuild_packet.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/olsr.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/olsr.c:48:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/hysteresis.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/hysteresis.h:44,
> >>>                 from src/hysteresis.c:46:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_plugin_default_fpm.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/lq_plugin_default_fpm.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/link_set.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/link_set.c:48:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/mpr_selector_set.c
> >>> In file included from src/mpr_selector_set.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/packet.c
> >>> In file included from src/packet.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/print_packet.c
> >>> In file included from src/print_packet.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/olsr_niit.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/routing_table.h:52,
> >>>                 from src/kernel_routes.h:46,
> >>>                 from src/olsr_niit.c:9:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_plugin_default_float.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/lq_plugin_default_float.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/generate_msg.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/generate_msg.c:57:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/hna_set.c
> >>> In file included from src/hna_set.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/ipc_frontend.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/ipc_frontend.c:50:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/mantissa.c
> >>> [CC] src/olsr_spf.c
> >>> In file included from src/olsr_spf.c:54:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/olsr_cookie.c
> >>> [CC] src/process_routes.c
> >>> In file included from src/process_routes.c:46:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/fpm.c
> >>> [CC] src/duplicate_handler.c
> >>> In file included from src/duplicate_handler.c:10:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/neighbor_table.c
> >>> In file included from src/neighbor_table.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/gateway_default_handler.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/gateway_default_handler.c:13:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/net_olsr.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/routing_table.h:52,
> >>>                 from src/process_routes.h:45,
> >>>                 from src/net_olsr.h:47,
> >>>                 from src/net_olsr.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/duplicate_set.c
> >>> In file included from src/duplicate_set.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/mid_set.c
> >>> In file included from src/mid_set.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/lq_plugin.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/lq_plugin.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/plugin_util.c
> >>> [CC] src/mpr.c
> >>> In file included from src/mpr.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/unix/log.c
> >>> [CC] src/unix/misc.c
> >>> [CC] src/unix/ifnet.c
> >>> In file included from src/unix/ifnet.c:47:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/linux/net.c
> >>> In file included from src/linux/net.c:49:
> >>> src/linux/../ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/linux/../ipcalc.h:166: warning: dereferencing type-punned pointer
> >>>will break strict-aliasing rules
> >>> [CC] src/linux/link_layer.c
> >>> [CC] src/linux/kernel_routes_nl.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/routing_table.h:52,
> >>>                 from src/kernel_routes.h:46,
> >>>                 from src/linux/kernel_routes_nl.c:42:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/linux/kernel_tunnel.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/routing_table.h:52,
> >>>                 from src/kernel_routes.h:46,
> >>>                 from src/linux/kernel_tunnel.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/linux/apm.c
> >>> [CC] src/linux/lq_plugin_ffeth_nl80211.c
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/linux/lq_plugin_ffeth_nl80211.h:47,
> >>>                 from src/linux/lq_plugin_ffeth_nl80211.c:43:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> [CC] src/linux/nl80211_link_info.c
> >>> src/linux/nl80211_link_info.c:48:27: error: linux/nl80211.h: No such
> >>>file or directory
> >>> src/linux/nl80211_link_info.c:51:29: error: netlink/netlink.h: No such
> >>>file or directory
> >>> src/linux/nl80211_link_info.c:52:31: error: netlink/genl/genl.h: No
> >>>such file or directory
> >>> src/linux/nl80211_link_info.c:53:31: error: netlink/genl/ctrl.h: No
> >>>such file or directory
> >>> src/linux/nl80211_link_info.c:54:32: error: netlink/route/addr.h: No
> >>>such file or directory
> >>> src/linux/nl80211_link_info.c:55:37: error: netlink/route/neighbour.h:
> >>>No such file or directory
> >>> In file included from src/lq_packet.h:48,
> >>>                 from src/lq_plugin.h:48,
> >>>                 from src/link_set.h:49,
> >>>                 from src/linux/nl80211_link_info.h:46,
> >>>                 from src/linux/nl80211_link_info.c:57:
> >>> src/ipcalc.h: In function 'is_prefix_niit_ipv6':
> >>> src/ipcalc.h:166: warning: dereferencing type-punned pointer will break
> >>>strict-aliasing rules
> >>> make: *** [src/linux/nl80211_link_info.o] Error 1
> >>>
> >>> --
> >>> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut fr
> >>> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> >>> Kommunikationssysteme (KOM)
> >>> Neuenahrer Strae 20, 53343 Wachtberg, Germany
> >>> Telefon +49 228 9435-961,   Fax +49 228 9435 685
> >>> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> >>> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
> >>>
> >>> --
> >>> Olsr-dev mailing list
> >>> (spam-protected)
> >>> https://lists.olsr.org/mailman/listinfo/olsr-dev
> >>
> >>
> >>--
> >>Olsr-dev mailing list
> >>(spam-protected)
> >>https://lists.olsr.org/mailman/listinfo/olsr-dev
> >
> >
> >--
> >Olsr-dev mailing list
> >(spam-protected)
> >https://lists.olsr.org/mailman/listinfo/olsr-dev
>
>



More information about the Olsr-dev mailing list