Project

General

Profile

Build from Source » History » Version 1

neels, 11/15/2016 02:06 PM

1 1 neels
{{>toc}}
2
3
h1. Build from Source
4
5
bq. *Before you consider building from source, be aware that there are [[Nightly Builds]]
6
available for Debian + Ubuntu platforms. These are recommended for normal users.*
7
8
Generally, Osmocom projects use autoconf/automake.
9
As you may know, the general pattern of building is:
10
11
<pre>
12
cd source-tree
13
autoreconf -fi
14
./configure
15
make
16
make check
17
make install
18
</pre>
19
20
The @./configure@ step may need further configuration options, see
21
details below. Also, @./configure@ will tell you which dependencies
22
are still missing, if any. See also below.
23
24
The @make@ step may generally be sped up by using multiple CPU cores:
25
26
<pre>
27
make -j 8
28
</pre>
29
30
We take care to make our builds parallelizable with @-j@, but in case
31
@make -j@ fails, issuing a simple @make@ could fix the problem (expecting
32
this only in libsmpp34).
33
34
35
h1. Dependencies
36
37
Which libraries are needed by various Osmocom programs is best resolved during
38
the @./configure@ step described below. This script checks for any missing
39
dependencies.
40
41
Here is a (probably incomplete) overview of dependencies between Osmocom
42
projects:
43
44
| _To build ..._ | _... you also need ..._ |
45
| osmo-bts | libosmocore, libosmo-abis, openbsc (source tree only), L1 headers depending on BTS model |
46
| osmo-pcu | libosmocore, L1 headers depending on BTS model |
47
| openbsc: osmo-nitb, osmo-bsc, osmo-sgsn, osmo-bsc_nat, osmo-bsc_mgcp | libosmocore, libosmo-abis, libosmo-netif, libosmo-sccp, libsmpp34 |
48
| openbsc: 3G osmo-cscn (branch sysmocom/iu) | libosmocore, libosmo-abis, libosmo-netif (branch sysmocom/sctp), libosmo-sccp (branch sysmocom/iu), asn1c, libasn1c, osmo-iuh |
49
| osmo-iuh | libosmocore, libosmo-netif, libosmo-sccp, asn1c, libasn1c |
50
51
h1. Download Sources
52
53
The latest Osmocom sources are obt
Add picture from clipboard (Maximum size: 48.8 MB)