Compilation errors on CentOS - pjsip-2.12

NS
Naveen Shivanna
Tue, Mar 15, 2022 8:18 AM

Hi Team,

I am seeing compilation errors while building pjsip-2.12 from scratch as below. Could you please check and let me know how to solve the same.

/root/pjproject-2.12/third_party/build/srtp/../../srtp/crypto/math/datatypes.c:161:(.text+0x198): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status
gmake[2]: *** [../bin/pjsua2-test-x86_64-unknown-linux-gnu] Error 1
gmake[2]: Leaving directory /root/pjproject-2.12/pjsip/build' gmake[1]: *** [pjsua2-test-x86_64-unknown-linux-gnu] Error 2 gmake[1]: Leaving directory /root/pjproject-2.12/pjsip/build'
gmake: *** [all] Error 1

Regards
Naveen.S


NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.

Hi Team, I am seeing compilation errors while building pjsip-2.12 from scratch as below. Could you please check and let me know how to solve the same. /root/pjproject-2.12/third_party/build/srtp/../../srtp/crypto/math/datatypes.c:161:(.text+0x198): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status gmake[2]: *** [../bin/pjsua2-test-x86_64-unknown-linux-gnu] Error 1 gmake[2]: Leaving directory `/root/pjproject-2.12/pjsip/build' gmake[1]: *** [pjsua2-test-x86_64-unknown-linux-gnu] Error 2 gmake[1]: Leaving directory `/root/pjproject-2.12/pjsip/build' gmake: *** [all] Error 1 Regards Naveen.S ________________________________ NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
VA
varun ahluwalia
Tue, Mar 15, 2022 11:15 PM

Hi Naveen,

pjsip-2.12 compile works with Centos7.
So, the issue maybe specific to your setup.

Can you please check the following:

  1. version of OS
  2. memory available
  3. check ./configure, if it offers any hints
  4. does VM have access to internet.

regards,
Varun

On Tue, Mar 15, 2022 at 4:18 AM Naveen Shivanna via pjsip <
pjsip@lists.pjsip.org> wrote:

Hi Team,

I am seeing compilation errors while building pjsip-2.12 from scratch as
below. Could you please check and let me know how to solve the same.

/root/pjproject-2.12/third_party/build/srtp/../../srtp/crypto/math/datatypes.c:161:(.text+0x198):
additional relocation overflows omitted from the output collect2: error: ld
returned 1 exit status

gmake[2]: *** [../bin/pjsua2-test-x86_64-unknown-linux-gnu] Error 1

gmake[2]: Leaving directory `/root/pjproject-2.12/pjsip/build'

gmake[1]: *** [pjsua2-test-x86_64-unknown-linux-gnu] Error 2

gmake[1]: Leaving directory `/root/pjproject-2.12/pjsip/build'

gmake: *** [all] Error 1

Regards

Naveen.S


NOTE: This e-mail (including any attachments) is for the sole use of the
intended recipient(s) and may contain information that is confidential
and/or protected by legal privilege. Any unauthorized review, use, copy,
disclosure or distribution of this e-mail is strictly prohibited. If you
are not the intended recipient, please notify Mitel immediately and destroy
all copies of this e-mail. Mitel does not accept any liability for breach
of security, error or virus that may result from the transmission of this
message.


Visit our blog: http://blog.pjsip.org

pjsip mailing list -- pjsip@lists.pjsip.org
To unsubscribe send an email to pjsip-leave@lists.pjsip.org

--
Varun.

Hi Naveen, pjsip-2.12 compile works with Centos7. So, the issue maybe specific to your setup. Can you please check the following: 1) version of OS 2) memory available 3) check ./configure, if it offers any hints 4) does VM have access to internet. regards, Varun On Tue, Mar 15, 2022 at 4:18 AM Naveen Shivanna via pjsip < pjsip@lists.pjsip.org> wrote: > Hi Team, > > > > I am seeing compilation errors while building pjsip-2.12 from scratch as > below. Could you please check and let me know how to solve the same. > > > > /root/pjproject-2.12/third_party/build/srtp/../../srtp/crypto/math/datatypes.c:161:(.text+0x198): > additional relocation overflows omitted from the output collect2: error: ld > returned 1 exit status > > gmake[2]: *** [../bin/pjsua2-test-x86_64-unknown-linux-gnu] Error 1 > > gmake[2]: Leaving directory `/root/pjproject-2.12/pjsip/build' > > gmake[1]: *** [pjsua2-test-x86_64-unknown-linux-gnu] Error 2 > > gmake[1]: Leaving directory `/root/pjproject-2.12/pjsip/build' > > gmake: *** [all] Error 1 > > > > Regards > > Naveen.S > > ------------------------------ > NOTE: This e-mail (including any attachments) is for the sole use of the > intended recipient(s) and may contain information that is confidential > and/or protected by legal privilege. Any unauthorized review, use, copy, > disclosure or distribution of this e-mail is strictly prohibited. If you > are not the intended recipient, please notify Mitel immediately and destroy > all copies of this e-mail. Mitel does not accept any liability for breach > of security, error or virus that may result from the transmission of this > message. > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list -- pjsip@lists.pjsip.org > To unsubscribe send an email to pjsip-leave@lists.pjsip.org > -- Varun.