…but… how did that get in there in the first place if the compiler whines about 
it?!

Chris.

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Wang
Sent: Tuesday, March 13, 2018 18:37
To: vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] vppsb's librtnl is broken with top of VPP tree

I just submitted a patch to fix it.

https://gerrit.fd.io/r/#/c/11127/

2018-03-13 18:35 GMT-04:00 Jon Loeliger 
<j...@netgate.com<mailto:j...@netgate.com>>:
Hey VPP-dev

Is it me?  It's me, isn't it.

jdl




librtnl/mapper.c: In function 'mapper_add_del_route':
librtnl/mapper.c:101:31: error: passing argument 10 of 
'fib_table_entry_path_add' from incompatible pointer type [-Werror]
                               FIB_ROUTE_PATH_FLAG_NONE);
                               ^
In file included from 
/work/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/install-vpp-native/vpp/include/vnet/fib/fib.h:647:0,
                 from librtnl/mapper.c:25:
work/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/install-vpp-native/vpp/include/vnet/fib/fib_table.h:332:25:
 note: expected 'struct fib_mpls_label_t *' but argument is of type 
'mpls_label_t *'
 extern fib_node_index_t fib_table_entry_path_add(u32 fib_index,
                         ^
librtnl/mapper.c:132:31: error: passing argument 10 of 
'fib_table_entry_path_add' from incompatible pointer type [-Werror]
                               FIB_ROUTE_PATH_FLAG_NONE);
                               ^
In file included from 
work/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/install-vpp-native/vpp/include/vnet/fib/fib.h:647:0,
                 from librtnl/mapper.c:25:
work/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/install-vpp-native/vpp/include/vnet/fib/fib_table.h:332:25:
 note: expected 'struct fib_mpls_label_t *' but argument is of type 
'mpls_label_t *'
 extern fib_node_index_t fib_table_entry_path_add(u32 fib_index,
                         ^
cc1: all warnings being treated as errors
make[3]: *** [librtnl/mapper.lo] Error 1
make[3]: Leaving directory 
`/vppsb/netlink/build-root/rpmbuild/BUILD/netlink-1.0.1-22~gd8e6dbc-dirty'
error: Bad exit status from /var/tmp/rpm-tmp.IlCmHt (%build)



Reply via email to