[dev] frr compiling with ospf support encountered a problem
sharpd at cumulusnetworks.com
Mon Nov 11 08:19:42 EST 2019
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.
On Mon, Nov 11, 2019 at 7:01 AM elahe jahani <elahe.jahani91 at gmail.com> wrote:
> 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 at lists.frrouting.org
More information about the dev