[asterisk-bugs] [JIRA] Commented: (ASTERISK-20191) syntax error in VERSION script during make

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Aug 3 12:26:21 CDT 2012


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

Matt Jordan commented on ASTERISK-20191:
----------------------------------------

Ah, that makes sense.

In Asterisk 10.7, in order to resolve several issues regarding res_adsi loading, the way in which symbols for the res_adsi module are handled was changed.  You'll note in the ChangeLog that res_adsi.exports.in was removed completely.

Unfortunately, when upgrading, the 10.6 res_adsi.exports file, generated from the previous linking, is not removed during a 'make clean'.  This causes the linking to fail, as the global symbols specified in res_adsi.exports no longer exists.

Try deleting res_adsi.export and, then run 'make'.

> syntax error in VERSION script during make
> ------------------------------------------
>
>                 Key: ASTERISK-20191
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20191
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_adsi
>    Affects Versions: 10.7.0
>         Environment: Linux Debian Squeeze 2.6.32 amd64 kernel in KVM virtual machine
>            Reporter: tootai
>            Assignee: tootai
>
> When building the 10.7.0 version, during make:
>    [CC] res_adsi.c -> res_adsi.o
>    [LD] res_adsi.o -> res_adsi.so
> /usr/bin/ld:res_adsi.exports:1: syntax error in VERSION script
> collect2: ld returned 1 exit status
> make[1]: *** [res_adsi.so] Erreur 1
> make: *** [res] Erreur 2
> zone-s:/usr/src/asterisk-10.7.0# uname -a
> Linux zone-s 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list