[asterisk-bugs] [JIRA] (ASTERISK-25873) Bundled pjproject: compile error, cannot find -lasteriskpj

Hans van Eijsden (JIRA) noreply at issues.asterisk.org
Tue Mar 29 19:01:56 CDT 2016


Hans van Eijsden created ASTERISK-25873:
-------------------------------------------

             Summary: Bundled pjproject: compile error, cannot find -lasteriskpj
                 Key: ASTERISK-25873
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25873
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.8.0
         Environment: Linux vps 4.4.0-0.bpo.1-amd64 #1 SMP Debian 4.4.6-1~bpo8+1 (2016-03-20) x86_64 GNU/Linux
gcc version 4.9.2 (Debian 4.9.2-10)

            Reporter: Hans van Eijsden


While building Asterisk 13.8.0 with the new --pjproject-bundled option, Asterisk doesn't build.
While linking, it stops at this error:
/usr/bin/ld.bfd.real: cannot find -lasteriskpj
collect2: error: ld returned 1 exit status
The complete log is on Pastebin (http://pastebin.com/ikXAsjMF), attached to this report.

TL;DR:
$ contrib/scripts/get_mp3_source.sh
$ ./bootstrap.sh
$ ./configure CFLAGS="-DPJ_HAS_IPV6=1 -fPIC -O3 -march=native" CXXFLAGS="-fPIC -O3 -march=native" --with-pjproject-bundled --with-srtp --with-ssl --with-crypto
$ make menuselect
$ make
[...]
/usr/bin/ld.bfd.real: cannot find -lasteriskpj
collect2: error: ld returned 1 exit status
Makefile:334: recept voor doel 'asterisk' is mislukt
make[1]: *** [asterisk] Fout 1
Makefile:398: recept voor doel 'main' is mislukt
make: *** [main] Fout 2

Just let me know if you need more info. Thanks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list