[Asterisk-Users] zaptel and kernel2.6.3
Matteo Brancaleoni
mbrancaleoni at espia.it
Mon Mar 8 05:55:25 MST 2004
did you make:
"make linux26" in zaptel src dir, instead of simple "make" ?
Matteo.
Il lun, 2004-03-08 alle 04:00, Isianto Istiadi ha scritto:
> Dear all,
> I have 2 questions:
>
> 1)
> I've downloaded the zaptel CVS today (8 April 2004)
> I've made sym link from /usr/src/linux-2.6.3 to /usr/src/linux-2.6
>
> make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules
> make[1]: Entering directory `/usr/src/linux-2.6.3-patch'
> *** Warning: Overriding SUBDIRS on the command line can cause
> *** inconsistencies
> make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
> CHK include/asm-i386/asm_offsets.h
> CC [M] /usr/src/zaptel/zaptel.o
> In file included from /usr/src/zaptel/zaptel.c:82:
> /usr/src/zaptel/zaptel.h:1071: syntax error before "devfs_handle_t"
> /usr/src/zaptel/zaptel.h:1071: warning: no semicolon at end of struct or union
> /usr/src/zaptel/zaptel.h:1072: warning: type defaults to `int' in declaration of `fhandle_symlink'
> /usr/src/zaptel/zaptel.h:1072: warning: data definition has no type or storage class
> /usr/src/zaptel/zaptel.h:1201: syntax error before "devfs_handle_t"
> /usr/src/zaptel/zaptel.h:1201: warning: no semicolon at end of struct or union
> /usr/src/zaptel/zaptel.h:1210: syntax error before '}' token
> /usr/src/zaptel/zaptel.h: In function `zt_txtone_nextsample':
> /usr/src/zaptel/zaptel.h:1358: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1358: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1359: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1359: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1360: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1360: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1360: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1360: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.h:1361: dereferencing pointer to incomplete type
> /usr/src/zaptel/zaptel.c: At top level:
> /usr/src/zaptel/zaptel.c:140: syntax error before "zaptel_devfs_dir"
> /usr/src/zaptel/zaptel.c:140: warning: type defaults to `int' in declaration of `zaptel_devfs_dir'
> /usr/src/zaptel/zaptel.c:140: warning: data definition has no type or storage class
> /usr/src/zaptel/zaptel.c:141: syntax error before "channel"
> /usr/src/zaptel/zaptel.c:141: warning: type defaults to `int' in declaration of `channel'
> /usr/src/zaptel/zaptel.c:141: warning: data definition has no type or storage class
> /usr/src/zaptel/zaptel.c:142: syntax error before "pseudo"
> /usr/src/zaptel/zaptel.c:142: warning: type defaults to `int' in declaration of `pseudo'
> /usr/src/zaptel/zaptel.c:142: warning: data definition has no type or storage class
> /usr/src/zaptel/zaptel.c:143: syntax error before "ctl"
> /usr/src/zaptel/zaptel.c:143: warning: type defaults to `int' in declaration of `ctl'
> /usr/src/zaptel/zaptel.c:143: warning: data definition has no type or storage class
> /usr/src/zaptel/zaptel.c:144: syntax error before "timer"
> /usr/src/zaptel/zaptel.c:144: warning: type defaults to `int' in declaration of `timer'
> /usr/src/zaptel/zaptel.c:144: warning: data definition has no type or storage class
>
> and go on....
> What did I do wrong?
>
> 2)
> I fall back to kernel 2.4.22 and use the same zaptel, asterisk and asterisk-addon (8 April 2004), I try to configure the CDR Mysql. What should I do to make CDR Mysql works? ( I have downloaded and installed the newest version of Mysql, create the table from readme.cdr_mysql, downloaded the newest unixodbc (do I need to download the mysql driver for odbc, or not?)
>
> Thanks
>
>
>
> Isianto Istiadi
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Matteo Brancaleoni
Espia System Administrator
Email : mbrancaleoni at espia.it
Web : http://www.espia.it
Phone : +39 02 70633354 - ext 201
IAX(2): guest at 213.140.14.155 - ext 201
Iaxtel: 1-700-56-62458 - ext 201
More information about the asterisk-users
mailing list