[asterisk-bugs] [Asterisk 0016015]: [regression] menuselect compilation failure on Solaris 10
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 2 11:10:49 CST 2010
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=16015
======================================================================
Reported By: saumelw
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 16015
Category: Core/Portability
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Target Version: 1.4.30
Asterisk Version: SVN
JIRA: SWP-639
Regression: Yes
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: suspended
Fixed in Version:
======================================================================
Date Submitted: 2009-10-03 00:37 CDT
Last Modified: 2010-02-02 11:10 CST
======================================================================
Summary: [regression] menuselect compilation failure on
Solaris 10
Description:
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
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0016463 make menuselect fails due to undefined ...
has duplicate 0016176 OpenSolaris Build Problem with editline
======================================================================
----------------------------------------------------------------------
(0117533) qwell (administrator) - 2010-02-02 11:10
https://issues.asterisk.org/view.php?id=16015#c117533
----------------------------------------------------------------------
I'm going to close this out for now. If you are able to reproduce after
following my previous comment, we would be more than happy to look at this
further.
Issue History
Date Modified Username Field Change
======================================================================
2010-02-02 11:10 qwell Note Added: 0117533
2010-02-02 11:10 qwell Status feedback => resolved
2010-02-02 11:10 qwell Resolution open => suspended
2010-02-02 11:10 qwell Assigned To => qwell
======================================================================
More information about the asterisk-bugs
mailing list