Commit Graph

7 Commits

Author SHA1 Message Date
Luca Ceresoli
781ce19d74 libpjsip: disable parallel build
The libpjsip package has build issues on the autobuilders that look
like parallel build issues. These issues seem to be extremely hard to
reproduce, so let's disable parallel build and see if this fixes the
issue.

The suspect error message is:
  ...-ld: cannot find -lpjsua
  collect2: error: ld returned 1 exit status

Some of the failures:
  http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
  http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
  http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
  http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
  http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-12 15:46:14 +02:00
Luca Ceresoli
9db9a6d2b3 libpjsip: disable all bundled third party libraries
libpjsip bundles several third party libraries. In Buildroot we prefer
either not to build them or to depend on a proper package for each of
them. The current recipe disables most of them, but not all, so
disable the remaining ones.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-17 14:30:04 +01:00
Luca Ceresoli
43895e97ad libpjsip: really disable gsm
--disable-gsm does not exist, the option is called --disable-gsm-codec.

Fixes:
  http://autobuild.buildroot.org/results/f8c/f8c41f35ab56fac86f2877b09a60924256f57028/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-17 14:29:30 +01:00
Luca Ceresoli
4507e261c0 libpjsip: fix musl build
Fix two different build issues when building against musl.

Fixes:
  http://autobuild.buildroot.net/results/e5c/e5c85272b5561549dfc478264ee6507bb9ad8c9f/

Based on an Alpine Linux patch [0] as suggested by Thomas [1].

[0] http://git.alpinelinux.org/cgit/aports/plain/main/pjproject/musl-fixes.patch
[1] http://lists.busybox.net/pipermail/buildroot/2016-March/155056.html

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-15 20:58:36 +01:00
Luca Ceresoli
a0997f4cb7 libpjsip: depend on libsrtp
libpjsip needs libsrtp to build, but it bundles a libsrtp version in
case one is not found during the configure step. The Buildroot policy
in such cases is to force using the external package, so forcibly
depend on libsrtp.

Adding --with-external-srtp also fixes libpjsip not correctly the
libsrtp installed in staging, which shows up with the symptom:

  .../libpjmedia.so: undefined reference to `srtp_deinit'
  collect2: error: ld returned 1 exit status

Fixes:
  http://autobuild.buildroot.org/results/305/305fdc8442cd2e8f51b90485be0dca83ffa36603/
  http://autobuild.buildroot.org/results/a2f/a2f407c1361ac5c24af122445e84645e9aee309d/
  ...and many other similar autobuild failures.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-09 07:31:27 +01:00
Luca Ceresoli
0c449a7d11 libpjsip: needs threads
Builds without thread support fail with the following error:

  ../src/pj/os_core_unix.c:45:21: fatal error: pthread.h: No such file or directory
   #include <pthread.h>
                       ^
  compilation terminated.

Fixes:
  http://autobuild.buildroot.org/results/744/744431e1b47d22222c4d0b48d5d20649dfeed929/
  http://autobuild.buildroot.org/results/a10/a10aca9139054502e055cb61f3925637fc515e12/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-08 21:14:20 +01:00
Bernd Kuhls
0f157eeb5e libpjsip: new package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-05 15:06:09 +01:00