[asterisk-bugs] [JIRA] (ASTERISK-12382) menuselect compilation failure on Solaris 10 / gcc 3.4.3

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Aug 3 13:31:55 CDT 2018


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

Friendly Automation commented on ASTERISK-12382:
------------------------------------------------

Change 9770 merged by Kevin Harwell:
BuildSystem: Enable ncurses for menuselect in Solaris 11.

[https://gerrit.asterisk.org/9770|https://gerrit.asterisk.org/9770]

> menuselect compilation failure on Solaris 10 / gcc 3.4.3
> --------------------------------------------------------
>
>                 Key: ASTERISK-12382
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-12382
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/General
>            Reporter: rleasure
>            Severity: Blocker
>
> I am unable to compile Asterisk on Solaris 10 x86 server:
> uname -a
> SunOS ifs2 5.10 Generic_120012-14 i86pc i386 i86pc
> During compilation, I get to the following point:
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating mxml.list
> config.status: creating mxml.pc
> config.status: creating config.h
> touch config.h
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-attr.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-entity.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-file.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-index.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-node.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-search.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-set.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-private.c
> gcc -O -Wall -O -Wall -O -Wall     -c mxml-string.c
> /usr/xpg4/bin/rm -f libmxml.a
> /usr/xpg4/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
> a - mxml-attr.o
> a - mxml-entity.o
> a - mxml-file.o
> a - mxml-index.o
> a - mxml-node.o
> a - mxml-search.o
> a - mxml-set.o
> a - mxml-private.o
> a - mxml-string.o
> : libmxml.a
> gmake[3]: Leaving directory `/opt/asterisk/asterisk-1.4.21.1/menuselect/mxml'
> gcc -o menuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a mxml/libmxml.a -lncurses 
> Undefined                       first referenced
>  symbol                             in file
> initscr32                           menuselect_curses.o
> w32addch                            menuselect_curses.o
> ld: fatal: Symbol referencing errors. No output written to menuselect
> collect2: ld returned 1 exit status
> gmake[2]: *** [menuselect] Error 1
> gmake[2]: Leaving directory `/opt/asterisk/asterisk-1.4.21.1/menuselect'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/opt/asterisk/asterisk-1.4.21.1/menuselect'
> gmake: *** [menuselect/menuselect] Error 2
> root at ifs2:/opt/asterisk/asterisk-1.4.21.1# exit
> I captured my entire compilation output if you need it.  Also I looked at ticket  0009381 and made sure that I had #include <stdarg.h>  in my ./main/strcompat.c and ./menuselect/strcompat.c



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



More information about the asterisk-bugs mailing list