[1.4.2] Need help with installing chan_unitstim

I followed the directions from here: voip-info.org/wiki/view/Aste … M+channels.

[quote]For Asterisk 1.4.0 to 1.4.3 :
wget mlkj.net/UNISTIM/chan_unistim-1.0.0.5b.tar.bz2
tar xvjf chan_unistim-1.0.0.5b.tar.bz2 && cd chan_unistim-1.0.0.5b
make && make install && make config
[/quote]

I get this error after trying to run make

chan_unistim.c:4431: error: âstruct ast_channelâ has no member named âextenâ chan_unistim.c:4431: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4432: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:4432: error: âstruct unistim_lineâ has no member named âparentâ chan_unistim.c:4432: warning: incompatible implicit declaration of built-in function âstrcpyâ chan_unistim.c:4432: error: âstruct unistim_lineâ has no member named âparentâ chan_unistim.c:4432: warning: incompatible implicit declaration of built-in function âstrcpyâ chan_unistim.c:4432: error: âstruct unistim_lineâ has no member named âparentâ chan_unistim.c:4433: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4435: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4439: error: âstruct ast_channelâ has no member named âcidâ chan_unistim.c:4441: error: âstruct ast_channelâ has no member named âcidâ chan_unistim.c:4442: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:4445: error: âstruct ast_channelâ has no member named âpriorityâ chan_unistim.c: In function âdo_monitorâ: chan_unistim.c:4469: error: âPOLLINâ undeclared (first use in this function) chan_unistim.c:4477: error: âsessionlockâ undeclared (first use in this function) chan_unistim.c:4482: error: âstruct unistimsessionâ has no member named âtimeoutâ chan_unistim.c:4484: error: âstruct unistimsessionâ has no member named âtimeoutâ chan_unistim.c:4487: error: âstruct unistimsessionâ has no member named âlast_buf_availableâ chan_unistim.c:4498: error: âstruct unistimsessionâ has no member named âtimeoutâ chan_unistim.c:4499: error: âstruct unistimsessionâ has no member named âtimeoutâ chan_unistim.c:4501: error: âstruct unistimsessionâ has no member named âdeviceâ chan_unistim.c:4502: error: âstruct unistimsessionâ has no member named âdeviceâ chan_unistim.c:4503: error: âstruct unistimsessionâ has no member named âdeviceâ chan_unistim.c:4509: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c:4520: error: âunistim_reload_lockâ undeclared (first use in this function) chan_unistim.c: In function ârestart_monitorâ: chan_unistim.c:4537: error: âpthread_attr_tâ undeclared (first use in this function) chan_unistim.c:4537: error: expected â;â before âattrâ chan_unistim.c:4539: error: âmonitor_threadâ undeclared (first use in this function) chan_unistim.c:4539: error: âpthread_tâ undeclared (first use in this function) chan_unistim.c:4541: error: âmonlockâ undeclared (first use in this function) chan_unistim.c:4545: warning: implicit declaration of function âpthread_selfâ chan_unistim.c:4552: warning: implicit declaration of function âpthread_killâ chan_unistim.c:4552: error: âSIGURGâ undeclared (first use in this function) chan_unistim.c:4554: warning: implicit declaration of function âpthread_attr_initâ chan_unistim.c:4554: error: âattrâ undeclared (first use in this function) chan_unistim.c:4555: warning: implicit declaration of function âpthread_attr_setdetachstateâ chan_unistim.c:4555: error: âPTHREAD_CREATE_DETACHEDâ undeclared (first use in this function) chan_unistim.c: In function âunistim_requestâ: chan_unistim.c:4590: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4606: error: âstruct unistim_subchannelâ has no member named âownerâ chan_unistim.c:4612: error: âstruct unistim_subchannelâ has no member named âparentâ chan_unistim.c:4617: error: âstruct unistim_subchannelâ has no member named âownerâ chan_unistim.c: In function âunistim_infoâ: chan_unistim.c:4638: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:4638: error: âstruct unistim_deviceâ has no member named âhaâ chan_unistim.c:4638: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:4640: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:4644: error: âstruct unistim_lineâ has no member named ânameâ chan_unistim.c:4644: error: âstruct unistim_lineâ has no member named âfullnameâ chan_unistim.c:4644: error: âstruct unistim_lineâ has no member named âextenâ chan_unistim.c:4644: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4645: error: âstruct unistim_lineâ has no member named âcapabilityâ chan_unistim.c:4645: error: âstruct unistim_lineâ has no member named âparentâ chan_unistim.c:4647: error: âstruct unistim_lineâ has no member named âsubsâ chan_unistim.c:4650: error: âstruct unistim_subchannelâ has no member named âownerâ chan_unistim.c:4653: error: âstruct unistim_subchannelâ has no member named âownerâ chan_unistim.c:4654: error: âstruct unistim_subchannelâ has no member named âsubtypeâ chan_unistim.c:4656: error: âstruct unistim_subchannelâ has no member named âsubtypeâ chan_unistim.c:4659: error: âstruct unistim_subchannelâ has no member named âsubtypeâ chan_unistim.c:4659: error: âstruct unistim_subchannelâ has no member named âownerâ chan_unistim.c:4659: error: âstruct unistim_subchannelâ has no member named ârtpâ chan_unistim.c:4659: error: âstruct unistim_subchannelâ has no member named âparentâ chan_unistim.c:4660: error: âstruct unistim_subchannelâ has no member named âalreadygoneâ chan_unistim.c:4662: error: âstruct unistim_lineâ has no member named ânextâ chan_unistim.c:4664: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:4667: error: âsessionlockâ undeclared (first use in this function) chan_unistim.c:4672: error: âstruct unistimsessionâ has no member named âsinâ chan_unistim.c:4672: error: type of formal parameter 1 is incomplete chan_unistim.c:4672: error: âstruct unistimsessionâ has no member named âtimeoutâ chan_unistim.c:4672: error: âstruct unistimsessionâ has no member named âstateâ chan_unistim.c:4672: error: âstruct unistimsessionâ has no member named âmacaddrâ chan_unistim.c:4673: error: âstruct unistimsessionâ has no member named âdeviceâ chan_unistim.c:4674: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c: In function âunistim_spâ: chan_unistim.c:4689: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:4694: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4700: error: âstruct unistim_subchannelâ has no member named âparentâ chan_unistim.c:4704: error: âstruct unistim_subchannelâ has no member named âparentâ chan_unistim.c:4719: warning: incompatible implicit declaration of built-in function âmemcpyâ chan_unistim.c:4720: error: âstruct unistim_subchannelâ has no member named âparentâ chan_unistim.c: In function âunquoteâ: chan_unistim.c:4767: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:4777: warning: incompatible implicit declaration of built-in function âmemcpyâ chan_unistim.c:4780: warning: incompatible implicit declaration of built-in function âmemcpyâ chan_unistim.c: In function âParseBookmarkâ: chan_unistim.c:4791: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:4793: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4808: warning: incompatible implicit declaration of built-in function âmemmoveâ chan_unistim.c:4820: warning: incompatible implicit declaration of built-in function âstrchrâ chan_unistim.c:4849: warning: implicit declaration of function âstrncmpâ chan_unistim.c:4853: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4856: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4857: error: too many arguments to function âast_copy_stringâ chan_unistim.c: In function âFinishBookmarkâ: chan_unistim.c:4879: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:4886: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c: In function âbuild_deviceâ: chan_unistim.c:4902: error: âdevicelockâ undeclared (first use in this function) chan_unistim.c:4915: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:4918: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:4922: warning: assignment makes pointer from integer without a cast chan_unistim.c:4925: warning: assignment makes pointer from integer without a cast chan_unistim.c:4926: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:4929: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4931: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4952: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4954: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4956: error: âstruct unistim_deviceâ has no member named âhaâ chan_unistim.c:4956: error: âstruct unistim_deviceâ has no member named âhaâ chan_unistim.c:4958: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4987: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4989: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4989: error: âstruct unistim_lineâ has no member named âcid_numâ chan_unistim.c:4989: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4991: error: âstruct unistim_lineâ has no member named âlanguageâ chan_unistim.c:4991: error: âstruct unistim_lineâ has no member named âlanguageâ chan_unistim.c:4991: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4993: error: too many arguments to function âast_copy_stringâ chan_unistim.c:4995: error: âstruct unistim_lineâ has no member named âaccountcodeâ chan_unistim.c:4995: error: âstruct unistim_lineâ has no member named âaccountcodeâ chan_unistim.c:4995: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5003: error: âstruct unistim_lineâ has no member named âamaflagsâ chan_unistim.c:5005: error: âstruct unistim_lineâ has no member named âmusicclassâ chan_unistim.c:5005: error: âstruct unistim_lineâ has no member named âmusicclassâ chan_unistim.c:5005: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5007: error: âstruct unistim_lineâ has no member named âcallgroupâ chan_unistim.c:5009: error: âstruct unistim_lineâ has no member named âpickupgroupâ chan_unistim.c:5011: error: âstruct unistim_lineâ has no member named âmailboxâ chan_unistim.c:5011: error: âstruct unistim_lineâ has no member named âmailboxâ chan_unistim.c:5011: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5032: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:5038: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5044: error: âstruct unistim_lineâ has no member named âlockâ chan_unistim.c:5048: warning: incompatible implicit declaration of built-in function âmemsetâ chan_unistim.c:5054: error: âstruct unistim_lineâ has no member named ânameâ chan_unistim.c:5054: error: âstruct unistim_lineâ has no member named ânameâ chan_unistim.c:5054: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5055: warning: incompatible implicit declaration of built-in function âsnprintfâ chan_unistim.c:5055: error: âstruct unistim_lineâ has no member named âfullnameâ chan_unistim.c:5055: error: âstruct unistim_lineâ has no member named âfullnameâ chan_unistim.c:5055: error: âstruct unistim_lineâ has no member named ânameâ chan_unistim.c:5058: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5071: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5075: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5078: error: âstruct unistim_lineâ has no member named âcontextâ chan_unistim.c:5078: error: âstruct unistim_lineâ has no member named âcontextâ chan_unistim.c:5078: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5079: error: âstruct unistim_lineâ has no member named âmailboxâ chan_unistim.c:5082: error: âstruct unistim_lineâ has no member named âmailboxâ chan_unistim.c:5082: error: âstruct unistim_lineâ has no member named ânameâ chan_unistim.c:5085: error: âstruct unistim_lineâ has no member named âcapabilityâ chan_unistim.c:5086: error: âstruct unistim_lineâ has no member named âparentâ chan_unistim.c:5090: error: âstruct unistim_lineâ has no member named âlockâ chan_unistim.c:5091: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5095: error: âstruct unistim_lineâ has no member named ânextâ chan_unistim.c:5095: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5096: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5112: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5114: error: âstruct unistim_lineâ has no member named âlockâ chan_unistim.c:5115: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5126: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5131: error: âstruct unistim_lineâ has no member named âlockâ chan_unistim.c:5132: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5136: warning: incompatible implicit declaration of built-in function âstrcpyâ chan_unistim.c:5143: warning: incompatible implicit declaration of built-in function âstrcpyâ chan_unistim.c:5148: error: âtime_tâ undeclared (first use in this function) chan_unistim.c:5148: error: expected â;â before âcur_timeâ chan_unistim.c:5150: error: âcur_timeâ undeclared (first use in this function) chan_unistim.c:5150: warning: assignment makes pointer from integer without a cast chan_unistim.c:5152: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5154: warning: incompatible implicit declaration of built-in function âstrlenâ chan_unistim.c:5154: error: dereferencing pointer to incomplete type chan_unistim.c:5156: warning: incompatible implicit declaration of built-in function âstrcatâ chan_unistim.c:5156: error: dereferencing pointer to incomplete type chan_unistim.c:5157: error: dereferencing pointer to incomplete type chan_unistim.c:5159: warning: incompatible implicit declaration of built-in function âstrcatâ chan_unistim.c:5159: error: dereferencing pointer to incomplete type chan_unistim.c:5161: error: dereferencing pointer to incomplete type chan_unistim.c:5161: error: too many arguments to function âast_copy_stringâ chan_unistim.c:5167: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c: In function âreload_configâ: chan_unistim.c:5186: error: variable âbindaddrâ has initializer but incomplete type chan_unistim.c:5186: warning: excess elements in struct initializer chan_unistim.c:5186: warning: (near initialization for âbindaddrâ) chan_unistim.c:5186: error: storage size of âbindaddrâ isnât known chan_unistim.c:5224: warning: incompatible implicit declaration of built-in function âmemcpyâ chan_unistim.c:5224: error: invalid use of undefined type âstruct sockaddr_inâ chan_unistim.c:5224: error: dereferencing pointer to incomplete type chan_unistim.c:5224: error: invalid use of undefined type âstruct sockaddr_inâ chan_unistim.c:5225: error: invalid use of undefined type âstruct sockaddr_inâ chan_unistim.c:5225: error: âAF_INETâ undeclared (first use in this function) chan_unistim.c:5245: error: âdevicelockâ undeclared (first use in this function) chan_unistim.c:5250: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5269: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5273: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5278: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5282: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5285: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5286: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5286: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5288: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5296: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5299: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5300: error: âstruct unistim_deviceâ has no member named âlinesâ chan_unistim.c:5301: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5302: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5303: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5307: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c:5307: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5308: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c:5308: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5311: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c:5314: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5315: error: âstruct unistim_deviceâ has no member named âsessionâ chan_unistim.c:5318: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5322: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5323: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5323: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5326: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5333: error: âstruct unistim_deviceâ has no member named ânextâ chan_unistim.c:5338: error: âsessionlockâ undeclared (first use in this function) chan_unistim.c:5341: error: âstruct unistimsessionâ has no member named âdeviceâ chan_unistim.c:5343: error: âstruct unistimsessionâ has no member named ânextâ chan_unistim.c:5349: error: âINADDR_ANYâ undeclared (first use in this function) chan_unistim.c:5352: warning: implicit declaration of function âsocketâ chan_unistim.c:5352: error: âSOCK_DGRAMâ undeclared (first use in this function) chan_unistim.c:5354: error: âerrnoâ undeclared (first use in this function) chan_unistim.c:5354: warning: format â%sâ expects type âchar *â, but argument 6 has type âintâ chan_unistim.c:5360: warning: implicit declaration of function âsetsockoptâ chan_unistim.c:5360: error: âIPPROTO_IPâ undeclared (first use in this function) chan_unistim.c:5360: error: âIP_PKTINFOâ undeclared (first use in this function) chan_unistim.c:5371: error: âSOL_SOCKETâ undeclared (first use in this function) chan_unistim.c:5371: error: âSO_REUSEADDRâ undeclared (first use in this function) chan_unistim.c:5373: warning: implicit declaration of function âbindâ chan_unistim.c:5375: error: type of formal parameter 1 is incomplete chan_unistim.c:5376: warning: format â%sâ expects type âchar *â, but argument 8 has type âintâ chan_unistim.c:5377: warning: implicit declaration of function âcloseâ chan_unistim.c:5383: error: type of formal parameter 1 is incomplete chan_unistim.c:5186: warning: unused variable âbindaddrâ chan_unistim.c: In function âunistim_get_rtp_peerâ: chan_unistim.c:5403: error: âstruct unistim_subchannelâ has no member named ârtpâ chan_unistim.c:5404: error: âstruct unistim_subchannelâ has no member named ârtpâ chan_unistim.c: In function âunistim_reloadâ: chan_unistim.c:5440: error: âunistim_reload_lockâ undeclared (first use in this function) chan_unistim.c: In function âload_moduleâ: chan_unistim.c:5453: warning: assignment makes pointer from integer without a cast chan_unistim.c:5462: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c:5472: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c: In function â__unload_moduleâ: chan_unistim.c:5495: error: âmonlockâ undeclared (first use in this function) chan_unistim.c:5496: error: âmonitor_threadâ undeclared (first use in this function) chan_unistim.c:5496: error: âpthread_tâ undeclared (first use in this function) chan_unistim.c:5497: warning: implicit declaration of function âpthread_cancelâ chan_unistim.c:5498: error: âSIGURGâ undeclared (first use in this function) chan_unistim.c:5508: warning: incompatible implicit declaration of built-in function âfreeâ chan_unistim.c: In function âusecountâ: chan_unistim.c:5529: error: âusecnt_lockâ undeclared (first use in this function) make: *** [chan_unistim.o] Error 1

Any ideas?