[asterisk-bugs] Compiling asterisk-1.4.26.2 Solaris 10 x86

Samuel Owens owenssamuel at bellsouth.net
Wed Sep 30 20:20:58 CDT 2009


I have been trying to compile asterisk-1.4.26.2 on my Solaris 10 x86 for 
a week now. I looked thru the Archives and find the the problem but no 
solution. I am including the print out of the configuration and the 
gmake print out.

Thank you

Sam

# ./configure
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for uname... /usr/bin/uname
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for gawk... gawk
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for ranlib... no
checking for GNU make... make
checking for strip... no
checking for ar... /usr/bin/ar
checking for awk... /usr/bin/awk
checking for grep... (cached) /usr/xpg4/bin/grep
checking for find... /usr/bin/find
checking for compress... /usr/bin/compress
checking for basename... /usr/bin/basename
checking for id... /usr/bin/id
checking for dirname... /usr/bin/dirname
checking for sh... /bin/bash
checking for ln... /usr/bin/ln
checking for dot... :
checking for wget... /usr/bin/wget
checking for soxmix... no
checking whether pthreads work with -pthreads... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for error_at_line... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for strftime... yes
checking for working strnlen... no
checking for working strtod... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for asprintf... no
checking for atexit... yes
checking for bzero... yes
checking for dup2... yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... no
checking for gethostname... yes
checking for getloadavg... yes
checking for gettimeofday... yes
checking for inet_ntoa... no
checking for isascii... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... no
checking for putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for rint... no
checking for select... yes
checking for setenv... yes
checking for socket... no
checking for sqrt... no
checking for strcasecmp... yes
checking for strcasestr... no
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strndup... no
checking for strnlen... no
checking for strrchr... yes
checking for strsep... no
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoq... no
checking for unsetenv... yes
checking for utime... yes
checking for vasprintf... no
checking for ioperm... no
checking for timersub in time.h... no
checking for library containing gethostbyname_r... -lnsl
checking for gethostbyname_r with 6 arguments... no
checking for gethostbyname_r with 5 arguments... yes
checking for PTHREAD_RWLOCK_INITIALIZER... yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP... no
checking for pthread_rwlock_timedwrlock() in pthread.h... yes
checking for compiler atomic operations... no
checking for compiler 'attribute pure' support... yes
checking for compiler 'attribute malloc' support... yes
checking for compiler 'attribute const' support... yes
checking for compiler 'attribute unused' support... yes
checking for compiler 'attribute always_inline' support... yes
checking for compiler 'attribute deprecated' support... yes
checking for -ffunction-sections support... yes
checking for --gc-sections support... no
checking for -Wdeclaration-after-statement support... yes
checking for _FORTIFY_SOURCE support... yes
checking for -fno-strict-overflow... no
checking for library containing res_9_ninit... no
checking for res_ninit... no
checking for GLOB_NOMAGIC... no
checking for GLOB_BRACE... no
checking for IP_MTU_DISCOVER... no
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking size of int... 4
checking for snd_spcm_init in -lasound... no
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for DAHDI_CODE in dahdi/user.h... no
checking for getifaddrs() support... no
checking for gsm_create in -lgsm... no
checking for iks_start_sasl in -liksemel... no
checking for UW IMAP Toolkit c-client library... no
checking for system c-client library...... no
checking for lt_dlinit in -lltdl... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for crashHandler in -lkdecore... no
checking for mISDN_open in -lmISDN... no
checking for nbs_connect in -lnbs... no
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for net-snmp-config... no
checking for newtBell in -lnewt... no
checking for SQLConnect in -lodbc... no
checking for ogg_sync_init in -logg... yes
checking linux/soundcard.h usability... no
checking linux/soundcard.h presence... no
checking for linux/soundcard.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking for oss_ioctl_mixer in -lossaudio... no
checking for pg_config... /usr/bin/pg_config
checking for PQescapeStringConn in -lpq... yes
checking for poptStrerror in -lpopt... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for pri_keypad_facility in -lpri... no
checking for pri_get_version in -lpri... no
checking for pri_set_inbanddisconnect in -lpri... no
checking /home/sowens/pwlib/include/ptlib.h usability... no
checking /home/sowens/pwlib/include/ptlib.h presence... no
checking for /home/sowens/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... no
checking /usr/include/ptlib.h presence... no
checking for /usr/include/ptlib.h... no
checking for rc_read_config in -lradiusclient-ng... no
checking for speex_encode in -lspeex... no
checking for speex_preprocess_ctl in -lspeex... no
checking for speex_preprocess_ctl in -lspeexdsp... no
checking for sqlite_exec in -lsqlite... no
checking for ssl2_connect in -lssl... no
checking for tds_version in -ltds... no
checking for tgetent in -ltermcap... yes
checking for tgetent in -ltinfo... no
checking for tone_zone_find in -ltonezone... no
checking for usb_init in -lusb... no
checking for vorbis_info_init in -lvorbis... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking for vpb_open in -lvpb... no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h... no
checking h323.h usability... no
checking h323.h presence... no
checking for h323.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking for linux/ixjuser.h... no
checking for /sbin/launchd... no
checking for gtk-config... no
checking for pkg-config... pkg-config
checking for curl-config... no
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating channels/h323/Makefile
config.status: creating include/asterisk/autoconfig.h

               .$$$$$$$$$$$$$$$=..     
            .$7$7..          .7$$7:.   
          .$$:.                 ,$7.7  
        .$7.     7$$$$           .$$77 
     ..$$.       $$$$$            .$$$7
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$. 
$$$        $$$   7$$$7  .$$$    .$$$.  
$$$$             $$$$7         .$$$.   
7$$$7            7$$$$        7$$$     
 $$$$$                        $$$      
  $$$$7.                       $$  (TM)    
   $$$$$$$.           .7$$$$$$  $$     
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$     
       $$$$$$$$$$$$$$$$.               

configure: Package configured for:
configure: OS type  : solaris2.10
configure: Host CPU : i386
#
#
#
# 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
#



More information about the asterisk-bugs mailing list