[Home]

Summary:ASTERISK-12382: menuselect compilation failure on Solaris 10 / gcc 3.4.3
Reporter:rleasure (rleasure)Labels:
Date Opened:2008-07-15 09:49:59Date Closed:2011-06-07 14:00:29
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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@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
Comments:By: snuffy (snuffy) 2008-07-31 19:33:44

Could you please upload your configure log..

Also what package cluster did you select in your solaris 10 install.. entire+OEM ?



By: snuffy (snuffy) 2008-11-18 18:39:35.000-0600

Is this still an issue for you? if you do no respond it will be closed out

By: Tilghman Lesher (tilghman) 2009-01-21 18:58:58.000-0600

No response from reporter.

By: Friendly Automation (friendly-automation) 2018-08-03 12:01:50.957-0500

Change 9772 merged by Jenkins2:
BuildSystem: Enable ncurses for menuselect in Solaris 11.

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

By: Friendly Automation (friendly-automation) 2018-08-03 13:29:59.990-0500

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

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

By: Friendly Automation (friendly-automation) 2018-08-03 13:30:28.394-0500

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

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

By: Friendly Automation (friendly-automation) 2018-08-03 13:30:36.907-0500

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

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