Open williamtu opened 3 years ago
cc -Ilib/libofproto.a.p -Ilib -I../lib -I. -I.. -Iinclude/openflow -I../include/openflow -Iinclude/openvswitch -I../include/openvswitch -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -fPIC -MD -MQ lib/libofproto.a.p/rtbsd.c.o -MF lib/libofproto.a.p/rtbsd.c.o.d -o lib/libofproto.a.p/rtbsd.c.o -c ../lib/rtbsd.c ../lib/rtbsd.c:44:46: warning: 'struct if_msghdr' declared inside parameter list will not be visible outside of this definition or declaration 44 | static void rtbsd_report_change(const struct if_msghdr *) | ^~~~~ ../lib/rtbsd.c: In function 'rtbsd_notifier_run': ../lib/rtbsd.c:108:22: error: storage size of 'msg' isn't known 108 | struct if_msghdr msg; | ^~~
looks like we don't need rdbsd
cc -Ilib/libofproto.a.p -Ilib -I../lib -I. -I.. -Iinclude/openflow -I../include/openflow -Iinclude/openvswitch -I../include/openvswitch -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -fPIC -MD -MQ lib/libofproto.a.p/rtbsd.c.o -MF lib/libofproto.a.p/rtbsd.c.o.d -o lib/libofproto.a.p/rtbsd.c.o -c ../lib/rtbsd.c ../lib/rtbsd.c:44:46: warning: 'struct if_msghdr' declared inside parameter list will not be visible outside of this definition or declaration 44 | static void rtbsd_report_change(const struct if_msghdr *) | ^
~~~~ ../lib/rtbsd.c: In function 'rtbsd_notifier_run': ../lib/rtbsd.c:108:22: error: storage size of 'msg' isn't known 108 | struct if_msghdr msg; | ^~~