Administrator TOOTAI
2006-Aug-08 08:37 UTC
[asterisk-users] Zaptel trunk failed to compile - Still but another error
Morning everybody, After having a zaptel compile error in zttranscode.c with trunk version of 28/07/2006 I updated with todays trunk branch. The error disappears but get now another one. Asterisk core still compile fine as well as SVN 1.2 branch. It's a Debian SARGE running on 2.4.27 kernel. With gcc-3.4 wct4xxp_base.c: In function `oct_get_reg': wct4xxp_base.c:1070: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-3.4/README.Bugs>. make[1]: *** [wct4xxp_base.o] Error 1 make[1]: Leaving directory `/usr/src/zaptel-trunk' make: *** [all] Error 2 With gcc-3.3 I have this: [<lots of errors in vpm450m.c>] vpm450m.c:28175: error: `cOCT6100_ERR_FATAL_54' undeclared (first use in this function) In file included from vpm450m.c:28215: octapi_llman_private.h:36:20: octdef.h: No such file or directory In file included from vpm450m.c:28215: octapi_llman_private.h: At top level: octapi_llman_private.h:52: error: syntax error before "UINT32" [<lots of errors in octapi_llman_private.h>] [<lots of errors in vpm450m.c>] vpm450m.c: In function `release_vpm450m': vpm450m.c:29638: error: `UINT32' undeclared (first use in this function) vpm450m.c:29638: error: syntax error before "ulResult" vpm450m.c:29639: error: `tOCT6100_CHIP_CLOSE' undeclared (first use in this function) vpm450m.c:29640: error: `ChipClose' undeclared (first use in this function) vpm450m.c:29641: error: dereferencing pointer to incomplete type vpm450m.c:29642: error: `cOCT6100_ERR_OK' undeclared (first use in this function) vpm450m.c:29645: error: dereferencing pointer to incomplete type make[1]: *** [vpm450m.o] Error 1 make[1]: Leaving directory `/usr/src/zaptel-trunk' make: *** [all] Error 2 With gcc-2.95 it ended [<lots of errors>] In file included from vpm450m.c:28215: octapi_llman_private.h:36: octdef.h: No such file or directory vpm450m.c:28216: apilib/octapi_llman.h: No such file or directory vpm450m.c:28217: apilib/octapi_largmath.h: No such file or directory vpm450m.c:28459: apilib/octapi_bt0.h: No such file or directory In file included from vpm450m.c:28460: octapi_bt0_private.h:36: octdef.h: No such file or directory vpm450m.c:29149: apilib/octapi_largmath.h: No such file or directory vpm450m.c:29160: oct6100_api.h: No such file or directory make[1]: *** [vpm450m.o] Error 1 make[1]: Leaving directory `/usr/src/zaptel-trunk' make: *** [all] Error 2 Thanks for any advise. -- Daniel