[asterisk-bugs] [JIRA] (ASTERISK-20687) make menuselect fails on asterisk 1.8 due to unreferenced linker lib -ltinfo

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Jan 2 08:37:40 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team closed ASTERISK-20687.
------------------------------------

    Resolution: Suspended

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

> make menuselect fails on asterisk 1.8 due to unreferenced linker lib -ltinfo
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-20687
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20687
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 1.8.18.0, 13.18.4
>            Reporter: Richard Hamnett
>            Assignee: Corey Farrell
>            Severity: Minor
>         Attachments: config.log
>
>
> {noformat}
> # make menuselect
> CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
> make[1]: Entering directory `/root/asterisk-1.8.18.0/menuselect'
> make[1]: `makeopts' is up to date.
> make[1]: Leaving directory `/root/asterisk-1.8.18.0/menuselect'
> CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
> make[1]: Entering directory `/root/asterisk-1.8.18.0/menuselect'
> gcc  -o cmenuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a -lncurses 
> /usr/bin/ld: menuselect_curses.o: undefined reference to symbol 'keypad'
> /usr/bin/ld: note: 'keypad' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line
> /lib64/libtinfo.so.5: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [cmenuselect] Error 1
> make[1]: Leaving directory `/root/asterisk-1.8.18.0/menuselect'
> make: *** [menuselect/cmenuselect] Error 2
> {noformat}
> To fix, I edited menuselect/Makefile and changed the line from
>   C_LIBS +=$(NCURSES_LIB)
> to 
>   C_LIBS +=$(NCURSES_LIB) -ltinfo
> I am on Amazon Linux AMI release 2012.09
> Seems that the configure does not correctly include the -ltinfo into the NCURSES_LIB variable.



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



More information about the asterisk-bugs mailing list