Hello.
nik@abc:~/code/mstp-code$ uname -a Linux abc 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux nik@abc:~/code/mstp-code$ ls bridge_ctl.h brmon.c ctl_functions.h ctl_socket_client.h driver_deps.c epoll_loop.h lib LICENSE main.c mstp.c netif_utils.h bridge-stp brmon.o ctl_main.c ctl_socket_server.c driver.h epoll_loop.o libnetlink.c list.h main.o mstp.h packet.c bridge_track.c broadcom_xstrata ctl_socket_client.c ctl_socket_server.h epoll_loop.c hmac_md5.c libnetlink.h log.h Makefile netif_utils.c packet.h nik@abc:~/code/mstp-code$ make cc -O2 -D_REENTRANT -D__LINUX__ -DVERSION=0.03 -I. -D_GNU_SOURCE -D__LIBC_HAS_VERSIONSORT__ -Werror -c -o bridge_track.o bridge_track.c In file included from bridge_track.c:31:0: /usr/include/linux/if_bridge.h:184:20: error: field ‘ip6’ has incomplete type struct in6_addr ip6; ^ make: *** [bridge_track.o] Ошибка 1 nik@abc:~/code/mstp-code$
Should I ./configure make make install on it ? If yes, what should I do to compile this?
Does anybody know how to install it?
Solved. According to this https://patchwork.ozlabs.org/patch/253450/ and this https://bugzilla.redhat.com/show_bug.cgi?id=895141 we need to add #include <linux in6.h=""> to the header of /usr/include/linux/if_bridge.h P.S. There is a fork https://github.com/ocedo/mstpd
Log in to post a comment.
Hello.
Should I
./configure
make
make install
on it ?
If yes, what should I do to compile this?
Does anybody know how to install it?
Solved.
According to this https://patchwork.ozlabs.org/patch/253450/
and this https://bugzilla.redhat.com/show_bug.cgi?id=895141
we need to add #include <linux in6.h=""> to the header of /usr/include/linux/if_bridge.h
P.S.
There is a fork https://github.com/ocedo/mstpd