Asterisk in Solaris 10 Sunblade 2000: zaptel installation

Hello. I hope you could help us on this. we are trying to install asterisk in Solaris 10 Sunblade 2000

  1. We installed
    Dependencies:
  • CSWslang
  • Svnewt
  • CSWcurl
  • CSWmpg123
  • CSWlibvorbis
  • CSWlibogg

NO ERRORS ENCOUNTERED

  1. Installed
    svn co svn.sunlabs.com/svn/solaris-ast … aris/trunk zaptel-solaris
    Instead of using svn co, we used gmake
    zaptel-solaris-svn148.tar
    We did not use svn co because our server is not connected to the internet

ERRORS ENCOUNTERED

#################################
bash-3.00# gmake
gcc -g -DDEBUG -DSOLARIS -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -DECHO_CAN_MARK2 -I. -mcpu=v9 -m64 -mcmodel=medlow -mno-fpu -fno-pic -fno-strict-aliasing -ffreestanding -nodefaultlibs -D__BIG_ENDIAN -c zaptel.c -o zaptel.o
In file included from zaptel.c:89:
zaptel.h:980: error: syntax error before ‘->’ token
zaptel.h:980: warning: no semicolon at end of struct or union
zaptel.h:1092: error: syntax error before ‘}’ token
zaptel.h: In function zt_txtone_nextsample': zaptel.h:1374: error: dereferencing pointer to incomplete type zaptel.h:1374: error: dereferencing pointer to incomplete type zaptel.h:1375: error: dereferencing pointer to incomplete type zaptel.h:1375: error: dereferencing pointer to incomplete type zaptel.h:1376: error: dereferencing pointer to incomplete type zaptel.h:1376: error: dereferencing pointer to incomplete type zaptel.h:1376: error: dereferencing pointer to incomplete type zaptel.h:1376: error: dereferencing pointer to incomplete type zaptel.h:1377: error: dereferencing pointer to incomplete type zaptel.c: In functionchan_unlock’:
zaptel.c:306: error: dereferencing pointer to incomplete type
zaptel.c: In function `zt_q_sig’:
##################################