Open subsecond opened 7 years ago
This patch/change will get you past this problem .. while a cleaner fix is put in
diff --git a/src/Makefile.in b/src/Makefile.in index b2e69a4..e3d4d9b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -221,7 +221,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ PTMD_VERSION = "2.0" AM_CPPFLAGS = -I../lib -Igraph -Ihash -AM_CFLAGS = -Wno-enum-compare -std=gnu99 -Wall -Werror -g -O0 -DPTMD_VERSION=\"$PTMD_VERSION\" +AM_CFLAGS = -Wno-enum-compare -std=gnu99 -Wall -g -O0 -DPTMD_VERSION=\"$PTMD_VERSION\" AM_LDFLAGS = -L../lib -llldpctl -lcgraph -lrt -lcdt sbin_SCRIPTS = ptmctl ptmd_LDADD = ../lib/libptmdep.a
Thanks, that actually worked while still producing the same warnings.
However, PTM does not seem to run on Ubuntu 16.04 without making further code changes. I found the following instructions for 14.04 that show how much customization needs to be done in order to get PTM working: https://getsatisfaction.cumulusnetworks.com/cumulus/topics/has-anyone-used-bfd-with-an-ubuntu-machine#reply_16261077
Are there any plans to officially support Ubuntu as well? Currently, the only way to get BFD running in combination with FRR (frrouting.org) seems to be by using PTM.
What errors did you see ? There is no official support for the github project at this point, but if you do get this working and it needs patches we will be happy to take them.
The 14.04 issues are due to older lldp and ptm library dependencies. Should not happen on 16.04, can you paste the actual issue you saw ? also a dpkg -l would be useful
I am trying to run BFD on FRR under Ubuntu 16.04 and apparently need PTM in order to get it to work. However,
make
fails with the following error:Is that something that can be fixed easily or should we look for a different implementation of BFD?