Skip to content

Building the OpenBFDD project

JakeMont edited this page Mar 7, 2013 · 3 revisions

Building OpenBFDD

Developers

If you are a developer wishing to work on the OpenBFDD project instead of simply building and running a supplied distribution package, then use the build instructions on the Developers page.

Basic Installation From Distribution Package

The preferred way to get OpenBFDD is to download one of the distribution packages from the downloads page. If you wish to build directly from the code in the open source repository, then please see the Developers page.

If you are building OpenBFDD from a distribution package, the following should build and install the package, if run from the directory containing the package source code:

./configure --enable-silent-rules; make ; make install

This will build and install bfdd-beacon, bfdd-control and their man pages. Note that the --enable-silent-rules flag is optional, but will produce much cleaner output.

Configuration Options

The standard configuration options are available. Run ./configure --help for a list of these.

In addition the --enable-debug option will enable additional runtime checking and asserts. Be aware that, by default, these asserts will halt execution of the bfdd-beacon. This build is for testing only and is not recommended for production systems.

Troubleshooting

The project builds in in c++, using the 'g++' tool, which must be installed.

The software was originally developed on FreeBSD. It has been built, and tested on some additional platforms. See Platforms for a list of compatible platforms.

Currently platform IPv6 socket support is required to build the project. It would be a relatively easy task to detect non-IPv6 aware platforms and and conditionally disable the IPv6 code. Feel free to make such modifications and submit them to http://github.com/dyninc/OpenBFDD/ for inclusion in future releases.

Clone this wiki locally