diff options
| author | 乐倚 <lwb406054@alibaba-inc.com> | 2023-08-23 08:42:33 +0000 |
|---|---|---|
| committer | 乐倚 <lwb406054@alibaba-inc.com> | 2023-08-23 08:43:28 +0000 |
| commit | 9fbab412121089e587803306c6219f8198c8026e (patch) | |
| tree | ab380223a7418fd0bbf2916673432f3fb043a4af /lib/imsg-buffer.c | |
| parent | 451fb24b17cb9272981d3809f755985d9ce52f79 (diff) | |
configure.ac: fix protobuf config
Bug description: frr_init load zebra_fpm.so error. Zebra can't
find function `zfpm_protobuf_encode_route` in symbol table.
Bug trigger condition ( CI have this set ):
./configure --enable-protobuf=no --enable-fpm=yes
/usr/lib/frr/zebra -M fpm
Cause: Macro `HAVE_PROTOBUF` and compile condition variable
`HAVE_PROTOBUF` in `configure.ac ` is not consistent. When
configure `disable-protobuf`, compile condition variable
`HAVE_PROTOBUF` is 0, but the macro is 1. It leads to zebra
load protobuf module, but protobuf module is not linked.
Fix: add a same condition statement to the macro define.
Signed-off-by: 乐倚 <lwb406054@alibaba-inc.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
