Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to disable bgpd compilation (compilation from source) #15754

Closed
2 tasks done
jeromeag opened this issue Apr 16, 2024 · 0 comments · Fixed by #15755
Closed
2 tasks done

Unable to disable bgpd compilation (compilation from source) #15754

jeromeag opened this issue Apr 16, 2024 · 0 comments · Fixed by #15755
Assignees

Comments

@jeromeag
Copy link

Description

./configure --disable-bgpd
make

fails with:

  CC       vtysh/vtysh.o
vtysh/vtysh.c: In function ‘vtysh_init_vty’:
vtysh/vtysh.c:5002:23: error: ‘rpki_vrf_node’ undeclared (first use in this function); did you mean ‘vrf_node’?
 5002 |         install_node(&rpki_vrf_node);
      |                       ^~~~~~~~~~~~~
      |                       vrf_node
vtysh/vtysh.c:5002:23: note: each undeclared identifier is reported only once for each function it appears in
In file included from vtysh/vtysh.c:29:
vtysh/vtysh.c:5003:36: error: ‘rpki_cmd’ undeclared (first use in this function)
 5003 |         install_element(VRF_NODE, &rpki_cmd);
      |                                    ^~~~~~~~
./lib/command.h:536:40: note: in definition of macro ‘install_element’
  536 |                         .cmd_element = cmd_element_,                           \
      |                                        ^~~~~~~~~~~~
vtysh/vtysh.c:5004:41: error: ‘rpki_exit_cmd’ undeclared (first use in this function)
 5004 |         install_element(RPKI_VRF_NODE, &rpki_exit_cmd);
      |                                         ^~~~~~~~~~~~~
./lib/command.h:536:40: note: in definition of macro ‘install_element’
  536 |                         .cmd_element = cmd_element_,                           \
      |                                        ^~~~~~~~~~~~
vtysh/vtysh.c:5005:41: error: ‘rpki_quit_cmd’ undeclared (first use in this function)
 5005 |         install_element(RPKI_VRF_NODE, &rpki_quit_cmd);
      |                                         ^~~~~~~~~~~~~
./lib/command.h:536:40: note: in definition of macro ‘install_element’
  536 |                         .cmd_element = cmd_element_,                           \
      |                                        ^~~~~~~~~~~~

Version

commit f26a44f8d

How to reproduce

git clone  https://github.com/FRRouting/frr.git
cd frr
./bootstrap.sh
./configure --disable-bgpd
make

Expected behavior

Succesfull compilation

Actual behavior

Failed compilation

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants