Solaris 10 x86 compile problems

Hi,

I’ve started out by following the build instructions, am using gnu tools entirely from Blastwave and am getting the following error immediately when I run my compile.

Anyone have any suggestions that might get me going?

[root]# gmake
gmake[1]: Entering directory /home/asterisk/menuselect' gmake[2]: Entering directory/home/asterisk/menuselect’
gcc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
menuselect.c: In function process_deps': menuselect.c:301: warning: implicit declaration of functionstrsep’
menuselect.c: In function process_prev_failed_deps': menuselect.c:425: warning: assignment makes pointer from integer without a cast menuselect.c:426: warning: assignment makes pointer from integer without a cast menuselect.c: In functionparse_existing_config’:
menuselect.c:487: warning: assignment makes pointer from integer without a cast
menuselect.c:500: warning: assignment makes pointer from integer without a cast
menuselect.c: In function generate_makeopts_file': menuselect.c:613: warning: assignment makes pointer from integer without a cast menuselect.c:615: warning: assignment makes pointer from integer without a cast menuselect.c:623: warning: assignment makes pointer from integer without a cast menuselect.c:625: 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 functionshow_help’:
menuselect_curses.c:84: warning: passing arg 2 of waddstr' discards qualifiers from pointer target type menuselect_curses.c: In functiondisplay_mem_info’:
menuselect_curses.c:132: warning: passing arg 2 of waddstr' discards qualifiers from pointer target type menuselect_curses.c: In functiondraw_title_window’:
menuselect_curses.c:307: warning: passing arg 2 of waddstr' discards qualifiers from pointer target type gcc -Wall -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c strcompat.c: In functionstrcasestr’:
strcompat.c:106: warning: implicit declaration of function alloca' strcompat.c: At top level: strcompat.c:155: error: syntax error before "va_list" strcompat.c: In functionvasprintf’:
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: syntax error before "ap2" strcompat.c:161: error:strp’ undeclared (first use in this function)
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:163: error:fmt’ undeclared (first use in this function)
strcompat.c:164: warning: implicit declaration of function va_end' strcompat.c: In functionasprintf’:
strcompat.c:196: error: va_list' undeclared (first use in this function) strcompat.c:196: error: syntax error before "ap" strcompat.c:200: warning: implicit declaration of functionva_start’
strcompat.c:200: error: ap' undeclared (first use in this function) strcompat.c: In functionstrtoq’:
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
gmake[2]: *** [strcompat.o] Error 1
gmake[2]: Leaving directory /home/asterisk/menuselect' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory/home/asterisk/menuselect’
gmake: *** [menuselect/menuselect] Error 2