Elahe - Looks like a new gcc warning being brought online, with gcc 9. Please file an issue and we'll get someone to look at it. donald On Mon, Nov 11, 2019 at 7:01 AM elahe jahani <elahe.jahani91@gmail.com> wrote:
Hi. ّ
I can't compile the frr service on freebsd 12.1.
My frr version is 1.1.
I would like enable ospfd on frr, Therefore, I added --enable-ospfd on Makefile.onestep.
I get the following error when compiling the frr source code:
ospfd/ospf_neighbor.c: In function 'ospf_nbr_lookup': ospfd/ospf_neighbor.c:410:45: error: taking address of packed member of 'struct ip' may result in an unaligned pointer value [-Werror=address-of-packed-member] 410 | return (ospf_nbr_lookup_by_addr(oi->nbrs, &iph->ip_src));
I searched a lot of, but found nothing.
Thank you for wasting time to help me.
_______________________________________________ dev mailing list dev@lists.frrouting.org https://lists.frrouting.org/listinfo/dev