[Home]

Summary:ASTERISK-26437: Unable to compile on Centos 6.8 when selecting to use pjsip
Reporter:John Kiniston (johnkiniston)Labels:
Date Opened:2016-10-04 14:42:41Date Closed:2020-01-14 11:13:35.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:13.11.2 14.0.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS release 6.8 (Final) 2.6.32-642.3.1.el6.x86_64 configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu :Attachments:
Description:I've run ./contrib/scripts/install_prereq install

./configure --with-pjproject-bundled

make menuconfig and deselect channel drivers other than chan_bdirge_meida, chan_pjsip, and chan_rtp

Then I do a make and I get:

[root@pbxz asterisk-13.11.2]# make
Generating embedded module rules ...
  [CC] astcanary.c -> astcanary.o
  [LD] astcanary.o -> astcanary
  [CC] astdb2sqlite3.c -> astdb2sqlite3.o
  [CC] hash/hash.c -> hash/hash.o
  [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o
  [CC] hash/hash_buf.c -> hash/hash_buf.o
  [CC] hash/hash_func.c -> hash/hash_func.o
  [CC] hash/hash_log2.c -> hash/hash_log2.o
  [CC] hash/hash_page.c -> hash/hash_page.o
  [CC] hash/ndbm.c -> hash/ndbm.o
  [CC] btree/bt_close.c -> btree/bt_close.o
  [CC] btree/bt_conv.c -> btree/bt_conv.o
  [CC] btree/bt_debug.c -> btree/bt_debug.o
  [CC] btree/bt_delete.c -> btree/bt_delete.o
  [CC] btree/bt_get.c -> btree/bt_get.o
  [CC] btree/bt_open.c -> btree/bt_open.o
  [CC] btree/bt_overflow.c -> btree/bt_overflow.o
  [CC] btree/bt_page.c -> btree/bt_page.o
  [CC] btree/bt_put.c -> btree/bt_put.o
  [CC] btree/bt_search.c -> btree/bt_search.o
  [CC] btree/bt_seq.c -> btree/bt_seq.o
  [CC] btree/bt_split.c -> btree/bt_split.o
  [CC] btree/bt_utils.c -> btree/bt_utils.o
  [CC] db/db.c -> db/db.o
  [CC] mpool/mpool.c -> mpool/mpool.o
  [CC] recno/rec_close.c -> recno/rec_close.o
  [CC] recno/rec_delete.c -> recno/rec_delete.o
  [CC] recno/rec_get.c -> recno/rec_get.o
  [CC] recno/rec_open.c -> recno/rec_open.o
  [CC] recno/rec_put.c -> recno/rec_put.o
  [CC] recno/rec_search.c -> recno/rec_search.o
  [CC] recno/rec_seq.c -> recno/rec_seq.o
  [CC] recno/rec_utils.c -> recno/rec_utils.o
  [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a
  [LD] astdb2sqlite3.o db1-ast/libdb1.a -> astdb2sqlite3
  [CC] astdb2bdb.c -> astdb2bdb.o
  [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb
[pjproject]  Making dependencies
[pjproject]  Compiling libs
make[2]: *** [source/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a] Error 2
make[1]: *** [pjproject] Error 2
make: *** [third-party] Error 2

Comments:By: Asterisk Team (asteriskteam) 2016-10-04 14:42:42.451-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-10-05 06:10:49.013-0500

[~gjoseph] Can you take a gander at this please?

By: John Kiniston (johnkiniston) 2016-10-11 17:39:57.106-0500

It looks like this is also an issue on 14.0.2, Should I open a separate ticket or add to this one?

By: Richard Mudgett (rmudgett) 2016-10-11 17:46:44.357-0500

Add the versions to the "Affects versions" field above.

By: Asterisk Team (asteriskteam) 2016-10-26 12:00:00.750-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

By: Alexander Traud (traud) 2018-01-19 05:47:07.040-0600

{{./contrib/scripts/install_prereq}} installs/ed PJProject already, which was an error (see ASTERISK-27599). Do you get the same error when you remove that already installed package? {{sudo yum remove pjproject-devel}}