[asterisk-bugs] [JIRA] (ASTERISK-9107) menuselect compilation failure on Solaris 10/gcc-4.1.1
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Aug 28 12:01:53 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-9107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-9107:
------------------------------------
Target Release Version/s: 17.0.0
> menuselect compilation failure on Solaris 10/gcc-4.1.1
> ------------------------------------------------------
>
> Key: ASTERISK-9107
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-9107
> Project: Asterisk
> Issue Type: Bug
> Components: Core/General
> Reporter: Bob Atkins
> Severity: Blocker
> Target Release: 13.23.0, 15.6.0, 16.1.0, 17.0.0
>
>
> Unable to compile menuselect on Solaris due to compilation errors:
> make[1]: Entering directory `/home/bob/src/asterisk/asterisk-1.4.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... /staff/bob/bin/ginstall -c
> checking for ranlib... ranlib
> checking for ar... /usr/ccs/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
> make[2]: Entering directory `/home/bob/src/asterisk/asterisk-1.4.2/menuselect'
> make[3]: Entering directory `/home/bob/src/asterisk/asterisk-1.4.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/ccs/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
> ranlib libmxml.a
> make[3]: Leaving directory `/home/bob/src/asterisk/asterisk-1.4.2/menuselect/mxml'
> gcc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
> menuselect.c: In function 'process_deps':
> menuselect.c:472: warning: implicit declaration of function 'strsep'
> menuselect.c: In function 'process_prev_failed_deps':
> menuselect.c:747: warning: assignment makes pointer from integer without a cast
> menuselect.c:748: warning: assignment makes pointer from integer without a cast
> menuselect.c: In function 'parse_existing_config':
> menuselect.c:809: warning: assignment makes pointer from integer without a cast
> menuselect.c:822: warning: assignment makes pointer from integer without a cast
> menuselect.c: In function 'generate_makeopts_file':
> menuselect.c:935: warning: assignment makes pointer from integer without a cast
> menuselect.c:937: warning: assignment makes pointer from integer without a cast
> menuselect.c:945: warning: assignment makes pointer from integer without a cast
> menuselect.c:947: warning: assignment makes pointer from integer without a cast
> gcc -Wall -o menuselect_curses.o -g -c -D_GNU_SOURCE menuselect_curses.c
> menuselect_curses.c: In function 'show_help':
> menuselect_curses.c:103: warning: passing argument 2 of 'waddstr' discards qualifiers from pointer target type
> menuselect_curses.c: In function 'display_mem_info':
> menuselect_curses.c:188: warning: passing argument 2 of 'waddstr' discards qualifiers from pointer target type
> menuselect_curses.c: In function 'draw_title_window':
> menuselect_curses.c:383: warning: passing argument 2 of 'waddstr' discards qualifiers from pointer target type
> gcc -Wall -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
> strcompat.c: In function 'strcasestr':
> strcompat.c:106: warning: implicit declaration of function 'alloca'
> strcompat.c:106: warning: incompatible implicit declaration of built-in function 'alloca'
> strcompat.c: At top level:
> strcompat.c:155: error: expected declaration specifiers or '...' before 'va_list'
> strcompat.c: In function 'vasprintf':
> strcompat.c:158: error: 'va_list' undeclared (first use in this function)
> strcompat.c:158: error: (Each undeclared identifier is reported only once
> strcompat.c:158: error: for each function it appears in.)
> strcompat.c:158: error: expected ';' before 'ap2'
> strcompat.c:162: warning: implicit declaration of function 'va_copy'
> strcompat.c:162: error: 'ap2' undeclared (first use in this function)
> strcompat.c:162: error: 'ap' undeclared (first use in this function)
> strcompat.c:164: warning: implicit declaration of function 'va_end'
> strcompat.c: In function 'asprintf':
> strcompat.c:196: error: 'va_list' undeclared (first use in this function)
> strcompat.c:196: error: expected ';' before 'ap'
> strcompat.c:200: warning: implicit declaration of function 'va_start'
> strcompat.c:200: error: 'ap' undeclared (first use in this function)
> strcompat.c:201: error: too many arguments to function 'vasprintf'
> strcompat.c: In function 'strtoq':
> strcompat.c:277: warning: integer constant is too large for 'long' type
> strcompat.c:277: warning: integer constant is too large for 'long' type
> strcompat.c:277: warning: integer constant is too large for 'long' type
> strcompat.c:277: warning: integer constant is too large for 'long' type
> strcompat.c:300: warning: integer constant is too large for 'long' type
> strcompat.c:300: warning: integer constant is too large for 'long' type
> make[2]: *** [strcompat.o] Error 1
> make[2]: Leaving directory `/home/bob/src/asterisk/asterisk-1.4.2/menuselect'
> ****** ADDITIONAL INFORMATION ******
> There seems to be some conditional compilation checks in strcompat.c that may not be compatible with Solaris builds.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list