Skip to Content
Diameter
book

Diameter

by Hannes Tschofenig, Sébastien Decugis, Jean Mahoney, Jouni Korhonen
June 2019
Intermediate to advanced
248 pages
6h 51m
English
Wiley
Content preview from Diameter

Appendix BfreeDiameter from Sources

B.1 Introduction

This appendix provides more details on how to build freeDiameter. It is recommended for anyone interested in developing new features in Diameter or hacking in the existing freeDiameter code. As a prerequisite, the reader should be familiar with software development and the Linux environment.

The general steps to compile and then run freeDiameter are the following:

  1. 1. Install the required tools and dependencies.
  2. 2. Obtain the source code.
  3. 3. Set up your build environment.
  4. 4. Run make, which will in turn call the C compiler and other tools needed to compile freeDiameter.
  5. 5. Create a freeDiameter configuration file.
  6. 6. Run and test freeDiameter.

The following sections provide more details on these steps, which will create the environment covered in Appendix A.

B.2 Tools and Dependencies

As freeDiameter source code is not tied to any integrated development environment, almost any system can be used as a development machine. There are, however, a few dependencies that need to be matched. Use the latest stable release for your operating system when installing or updating dependencies.

Operating System

The freeDiameter code follows the programming interface specified by POSIX, so it can run on any UNIX® compliant system, and it has been tested successfully on several flavors of GNU/Linux, FreeBSD, and Mac OS X. See http://www.unix.org for details on the POSIX API.

Build System

freeDiameter uses CMake for configuring its build system. CMake is a command‐line ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

LTE-Advanced

LTE-Advanced

Sassan Ahmadi
RADIUS

RADIUS

Jonathan Hassell
Perfecting Your Thinking Skills

Perfecting Your Thinking Skills

MIT Sloan Management Review

Publisher Resources

ISBN: 9781118875902Purchase book