[asterisk-bugs] [JIRA] (ASTERISK-14935) [regression] menuselect compilation failure on Solaris 10

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 28 12:01:53 CDT 2019


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

Asterisk Team updated ASTERISK-14935:
-------------------------------------

    Target Release Version/s: 17.0.0

> [regression] menuselect compilation failure on Solaris 10
> ---------------------------------------------------------
>
>                 Key: ASTERISK-14935
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-14935
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/Portability
>            Reporter: Samuel Owens
>            Severity: Minor
>      Target Release: 13.23.0, 15.6.0, 16.1.0, 17.0.0
>
>
> Unable to compile menuselect on Solaris due to compilation errors:
> # gmake
> gmake[1]: Entering directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for a BSD-compatible install... ./install-sh -c
> checking for ranlib... :
> checking for ar... /usr/bin/ar
> checking for cp... /usr/bin/cp
> checking for ln... /usr/bin/ln
> checking for mkdir... /usr/bin/mkdir
> checking for nroff... /usr/bin/nroff
> checking for rm... /usr/bin/rm
> checking for strdup... yes
> checking for vsnprintf... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating mxml.list
> config.status: creating mxml.pc
> config.status: creating config.h
> gmake[1]: Leaving directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> gmake[1]: Entering directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> gmake[2]: Entering directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -c -o menuselect.o menuselect.c
> menuselect.c: In function `process_deps':
> menuselect.c:482: warning: implicit declaration of function `strsep'
> menuselect.c: In function `process_prev_failed_deps':
> menuselect.c:793: warning: assignment makes pointer from integer without a cast
> menuselect.c:794: warning: assignment makes pointer from integer without a cast
> menuselect.c: In function `parse_existing_config':
> menuselect.c:858: warning: assignment makes pointer from integer without a cast
> menuselect.c:871: warning: assignment makes pointer from integer without a cast
> menuselect.c: In function `generate_makeopts_file':
> menuselect.c:1023: warning: assignment makes pointer from integer without a cast
> menuselect.c:1025: warning: assignment makes pointer from integer without a cast
> menuselect.c:1033: warning: assignment makes pointer from integer without a cast
> menuselect.c:1035: warning: assignment makes pointer from integer without a cast
> gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -c -o strcompat.o strcompat.c
> strcompat.c: In function `strcasestr':
> strcompat.c:107: warning: implicit declaration of function `alloca'
> strcompat.c: In function `strtoq':
> strcompat.c:278: warning: integer constant is too large for "long" type
> strcompat.c:278: warning: integer constant is too large for "long" type
> strcompat.c:278: warning: integer constant is too large for "long" type
> strcompat.c:278: warning: integer constant is too large for "long" type
> strcompat.c:301: warning: integer constant is too large for "long" type
> strcompat.c:301: warning: integer constant is too large for "long" type
> gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -c -o menuselect_curses.o menuselect_curses.c
> menuselect_curses.c: In function `show_help':
> menuselect_curses.c:110: warning: passing arg 2 of `waddstr' discards qualifiers from pointer target type
> menuselect_curses.c: In function `display_mem_info':
> menuselect_curses.c:195: warning: passing arg 2 of `waddstr' discards qualifiers from pointer target type
> menuselect_curses.c: In function `draw_title_window':
> menuselect_curses.c:432: warning: passing arg 2 of `waddstr' discards qualifiers from pointer target type
> gmake[3]: Entering directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect/mxml'
> gcc -O -Wall   -c mxml-attr.c
> gcc -O -Wall   -c mxml-entity.c
> gcc -O -Wall   -c mxml-file.c
> gcc -O -Wall   -c mxml-index.c
> gcc -O -Wall   -c mxml-node.c
> gcc -O -Wall   -c mxml-search.c
> gcc -O -Wall   -c mxml-set.c
> gcc -O -Wall   -c mxml-private.c
> gcc -O -Wall   -c mxml-string.c
> /usr/bin/rm -f libmxml.a
> /usr/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
> ar: writing libmxml.a
> : libmxml.a
> gmake[3]: Leaving directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/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 `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/datadisk/sowens/Asterisk/asterisk-1.4.26.2/menuselect'
> gmake: *** [menuselect/menuselect] Error 2



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



More information about the asterisk-bugs mailing list