[asterisk-bugs] [JIRA] (ASTERISK-29719) I'm unable to compile Asterisk 18.8.0

Jon Westgate (JIRA) noreply at issues.asterisk.org
Fri Nov 5 11:55:49 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256783#comment-256783 ] 

Jon Westgate commented on ASTERISK-29719:
-----------------------------------------

No Idea what I must have done. 
I did rm -rf asterisk-18.8.0
tar zxvf asterisk-18-current.tar.gz
./configure --prefix=/usr
make menuselect
make -j4
make install
and job's a good one.

Who knows why that failed.
Feel free the close the ticket.
Sorry for wasting everyone's time.

Jon

> I'm unable to compile Asterisk 18.8.0
> -------------------------------------
>
>                 Key: ASTERISK-29719
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29719
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 18.8.0
>         Environment: Linux (Debian 11)
> gcc version 11.2.0 (Debian 11.2.0-10)
>            Reporter: Jon Westgate
>            Assignee: Jon Westgate
>            Severity: Major
>
> When compiling I get the following error:
> [LD] libasteriskpj.o -> libasteriskpj.so.2
> /usr/bin/ld:libasteriskpj.exports:1: ignoring invalid character `-' in script
> /usr/bin/ld:libasteriskpj.exports:2022: syntax error in VERSION script
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:295: libasteriskpj.so.2] Error 1
> make: *** [Makefile:388: main] Error 2
> I've build asterisk loads of times and never had an error like this before :(
> Steps to reproduce this:
> Download and unpack asterisk code. (18.8.0)
> Run ./contrib/scripts/install_prereq install
> ./configure --prefix=/usr
> make menuselect
> make -j4
> I'm not sure if I'm doing something wrong here.
> Asterisk 18.0.0 builds fine.



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



More information about the asterisk-bugs mailing list