[Asterisk-Users] zaptel and kernel2.6.3

Isianto Istiadi isianto.istiadi at adirarental.com
Sun Mar 7 20:00:30 MST 2004


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




More information about the asterisk-users mailing list