[asterisk-users] Unable to build DAHDI

Bruce Ferrell bferrell at baywinds.org
Fri Jan 4 14:56:29 CST 2013


Hi all,

I'm attempting to install dahdi-linux-complete-2.6.1+2.6.1 on an OpenSUSE system running kernel 3.7.1-17

The build is failing like this:

ct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c 
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c oct612x/apilib/bt/octapi_bt0.c oct612x/apilib/largmath/octapi_largmath.c oct612x/apilib/llman/octapi_llman.c
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In function ‘Oct6100ApiBridgeEventRemove’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3870:47: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3870:47: note: each undeclared identifier is reported only once for each function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function ‘Oct6100EventGetToneDef’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32: note: each undeclared identifier is reported only once for each function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function ‘Oct6100BufferPlayoutTransferEvents’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1116:126: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function ‘Oct6100BufferPlayoutCheckForSpecificEvent’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1287:29: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c: In function ‘Oct6100ApiStrStr’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38: note: each undeclared identifier is reported only once for each function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In function ‘Oct6100BufferPlayoutStopDef’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43: note: each undeclared identifier is reported only once for each function it appears in
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In function ‘Oct6100ApiInvalidateChanPlayoutStructs’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:2844:51: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In function ‘Oct6100ApiReserveTsst’:
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:401:29: error: ‘NULL’ undeclared (first use in this function)
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:401:29: note: each undeclared identifier is reported only once for each function it appears in
oct612x/apilib/bt/octapi_bt0.c: In function ‘OctApiBt0Init’:
oct612x/apilib/bt/octapi_bt0.c:63:12: error: ‘NULL’ undeclared (first use in this function)
oct612x/apilib/bt/octapi_bt0.c:63:12: note: each undeclared identifier is reported only once for each function it appears in
oct612x/apilib/llman/octapi_llman.c: In function ‘OctapiLlmAllocInit’:
oct612x/apilib/llman/octapi_llman.c:88:12: error: ‘NULL’ undeclared (first use in this function)
oct612x/apilib/llman/octapi_llman.c:88:12: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [oct6100_adpcm_chan.o] Error 1
make[3]: Leaving directory `/usr/local/src/asterisk/dahdi-linux-complete-2.6.1+2.6.1/tools/xpp'
make[2]: *** [utils-subdirs] Error 2
make[2]: Leaving directory `/usr/local/src/asterisk/dahdi-linux-complete-2.6.1+2.6.1/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/asterisk/dahdi-linux-complete-2.6.1+2.6.1/tools'
make: *** [all] Error 2


Any suggestions are welcome





More information about the asterisk-users mailing list