Project

General

Profile

Actions

Bug #2317

closed

not able to install Synway TEJ801e PRI card driver

Added by kuldeep patel over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Bugs
Target version:
-
Start date:
11/19/2015
Due date:
% Done:

0%

Estimated time:

Description

[root@go opt]# cp -rf /opt/SynAST-2.0.0.0_en/dahdi/srcs/fxm/fxm8apci /opt/dahdi-linux-complete-2.10.0.1+2.10.0.1
[root@go opt]# cd dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/
[root@go fxm8apci]# make
2.6.18-238.9.1.el5.goPAE
make -C /lib/modules/`uname -r`/build SUBDIRS=/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci modules
make1: Entering directory `/usr/src/kernels/2.6.18-238.9.1.el5.go-PAE-i686'
CC [M] /opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.o
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:10:26: error: dahdi/kernel.h: No such file or directory
In file included from /opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:14:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.h:237: error: field ‘span’ has incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.h:348: error: array type has incomplete element type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:18:2: error: #error DAHDI version in Kbuild file should be explicit defined.
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘kernel_write’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:359: error: implicit declaration of function ‘get_fs’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:359: error: incompatible types in assignment
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:360: error: implicit declaration of function ‘set_fs’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:360: error: implicit declaration of function ‘get_ds’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:369:41: error: missing binary operator before token "("
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_fxo_ringcheck’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:617: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:617: error: (Each undeclared identifier is reported only once
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:617: error: for each function it appears in.)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:623: error: implicit declaration of function ‘dahdi_hooksig’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:623: error: ‘DAHDI_RXSIG_RING’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:638: error: ‘DAHDI_RXSIG_OFFHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:668: error: ‘DAHDI_RXSIG_ONHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:724: error: implicit declaration of function ‘dahdi_alarm_channel’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:724: error: ‘DAHDI_ALARM_RED’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:724: error: ‘DAHDI_ALARM_NONE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_fxs_hookcheck’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:769: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:779: error: ‘DAHDI_RXSIG_OFFHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:789: error: ‘DAHDI_RXSIG_ONHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘do_tone_detect’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:954: error: ‘DAHDI_LAW_ALAW’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_receiveprep’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1102: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1170: error: implicit declaration of function ‘dahdi_receive’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_transmitprep’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1244: error: implicit declaration of function ‘dahdi_transmit’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1252: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘do_interrupts’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1422: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: At top level:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1468: warning: return type defaults to ‘int’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1468: warning: function declaration isn’t a prototype
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘DAHDI_IRQ_HANDLER’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1472: error: ‘dev_id’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_ioctl’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1980: error: ‘DAHDI_ONHOOKTRANSFER’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:1982: error: ‘DAHDI_SETPOLARITY’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: At top level:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2006: warning: ‘enum dahdi_txsig’ declared inside parameter list
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2006: warning: its scope is only this definition or declaration, which is probab ly not what you want
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2006: error: parameter 2 (‘txsig’) has incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_hooksig’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2008: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2011: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2016: error: ‘DAHDI_TXSIG_START’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2017: error: ‘DAHDI_TXSIG_OFFHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2018: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2019: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2021: error: ‘DAHDI_TXSIG_ONHOOK’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2022: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2023: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2035: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2037: error: ‘DAHDI_SIG_EM’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2038: error: ‘DAHDI_SIG_FXOKS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2039: error: ‘DAHDI_SIG_FXOLS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2040: error: ‘DAHDI_SIG_FXOGS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2041: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2042: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2047: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2050: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2051: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2054: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2055: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2060: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2061: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2063: error: ‘DAHDI_TXSIG_KEWL’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_close’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2128: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_open’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2142: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2144: error: dereferencing pointer to incomplete type
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_post_initialize’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2552: error: ‘DAHDI_SIG_FXSKS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2552: error: ‘DAHDI_SIG_FXSLS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2552: error: ‘DAHDI_SIG_SF’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2552: error: ‘DAHDI_SIG_CLEAR’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2555: error: ‘DAHDI_SIG_FXOKS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2555: error: ‘DAHDI_SIG_FXOLS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2555: error: ‘DAHDI_SIG_FXOGS’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:2555: error: ‘DAHDI_SIG_EM’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_init_readandwrite_chunk’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3035: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘detect_buffer_init’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3072: error: ‘DAHDI_CHUNKSIZE’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_init_one’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3346: error: implicit declaration of function ‘shfxm_init_span’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3360: error: ‘shfxm_interrupt’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3360: error: ‘DAHDI_IRQ_SHARED_DISABLED’ undeclared (first use in this function)
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3401:41: error: missing binary operator before token "("
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: In function ‘shfxm_init’:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3525: error: implicit declaration of function ‘dahdi_pci_module’
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3552:40: error: missing binary operator before token "("
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c: At top level:
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3555: error: initializer element is not constant
/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.c:3555: error: (near initialization for ‘__param_arr_card_list_order.num’)
make2: * [/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci/fxm8apci.o] Error 1
make1:
[_module_/opt/dahdi-linux-complete-2.10.0.1+2.10.0.1/fxm8apci] Error 2
make1: Leaving directory `/usr/src/kernels/2.6.18-238.9.1.el5.go-PAE-i686'
make: *
* [linux26] Error 2

Actions #1

Updated by kuldeep patel over 8 years ago

that is the manual provide by synway
#cd /opt # enter the directory to the package of SynAST source codes
#tar –zxvf SynAST-2.0.1.0.tar.gz # decompress the source codes
#cp –rf /opt/SynAST-2.0.1.0/dahdi/srcs/fxm/fxm8apci /opt/dahdi_driver/drivers/dahdi # copy the fxm8apci driver to the dahdi_driver directory.
#cd /opt/dahdi/linux/drivers/dahdi/fxm8apci
  1. enter the directory to SynAST source codes in dahdi
    #make # compile the driver
    #insmod fxm8apci.ko # load the driver

#cd /opt/dahdi_tools # enter the directory to dahdi tools
#./configure
#make # compile dahdi_tools
#make install # install dahdi_tools

Actions #2

Updated by kuldeep patel over 8 years ago

that is the manual provide by synway
#cd /opt # enter the directory to the package of SynAST source codes
#tar –zxvf SynAST-2.0.1.0.tar.gz # decompress the source codes
#cp –rf /opt/SynAST-2.0.1.0/dahdi/srcs/fxm/fxm8apci /opt/dahdi_driver/drivers/dahdi # copy the fxm8apci driver to the dahdi_driver directory.
#cd /opt/dahdi/linux/drivers/dahdi/fxm8apci
  1. enter the directory to SynAST source codes in dahdi
    #make # compile the driver
    #insmod fxm8apci.ko # load the driver

#cd /opt/dahdi_tools # enter the directory to dahdi tools
#./configure
#make # compile dahdi_tools
#make install # install dahdi_tools

Actions #3

Updated by Regie Irupang almost 8 years ago

  • Status changed from New to Closed

Hello

This issue/bug tracker is meant for bugs, feature request and issues related to the GOautodial CE ISO, system installation and the GOautodial applications (GOadmin, GOreports and GOagent). To get help from the community, please post your concerns in our forum board at http://www.goautodial.org/projects/goautodialce/boards/3.

Regards,
GoAutoDial Support Team
http://goautodial.com

Actions

Also available in: Atom PDF

Go to top