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

Problems to compile libbgpstream-2.1.0 #212

Open
estcarisimo opened this issue Apr 11, 2021 · 1 comment
Open

Problems to compile libbgpstream-2.1.0 #212

estcarisimo opened this issue Apr 11, 2021 · 1 comment

Comments

@estcarisimo
Copy link

estcarisimo commented Apr 11, 2021

Hi folks,

I am trying to upgrade libbgpstream (on Apple's OSX) but the makefile raises this error. Do you know what I could do to fix it?

parsebgp_bgp.c:48:17: error: no member named 'marker_omitted' in 'struct
      parsebgp_bgp_opts'
  if (opts->bgp.marker_omitted == 0) {
      ~~~~~~~~~ ^
parsebgp_bgp.c:52:19: error: no member named 'marker_copy' in 'struct
      parsebgp_bgp_opts'
    if (opts->bgp.marker_copy != 0) {
        ~~~~~~~~~ ^
2 errors generated.
make[8]: *** [parsebgp_bgp.lo] Error 1
make[7]: *** [all-recursive] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
@alistairking
Copy link
Member

I suspect this has something to do with it including an older version of an installed header.
I'd suggest removing any of these header files: /usr/local/include/parsebgp*.h, and to be safe, /usr/local/lib/libparsebgp.* and then trying again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants