Installing Swift on Asterisk 1.6.1.8

I’m currently using Asterisk 1.6.1.8 and I am encountering an error when I attempt to use swift. I used the installation instructions at nerdvittles.com/index.php?p=202 for a 1.6 install. However when I call the extension command “exten=> _.,n,Swift(Please enter your ID)” the console reports at verbose level 3:

The app_swift.so exits in /usr/lib/asterisk/modules but asterisk is not finding it or loading it. When I run module reload I get no indication of an error or acknowledgement of app_swift’s existence.

I looked online and found the app_swift code for 1.6.2 not 1.6.1.8. I either need to know what I can do to get app_swift working on 1.6.1.8 or I need to know how to upgrade 1.6.2.

Any help would be appreciated, thank you!

does swift show up if you do a “core show application swift”?

No it says [quote]Your application(s) is (are) not registered
Command ‘core show application swift’ failed.
[/quote]

I have had success using app_swift 2.0 [it comes in flavors supporting asterisk 1.6 and 1.8]. The 1.6 version can be downloaded from forge.asterisk.org/gf/project/ap … ckage_id=7

Other problems I have seen leading to the symptoms you are seeing in skipping this all important step after you installed Cepstral but before you make app_swift:

echo /opt/swift/lib > /etc/ld.so.conf.d/cepstral.conf

ldconfig

This is all neatly laid out in the instructions you referenced at Nerd Vittles. Try to follow those instructions and they will work if you have done every step properly in the right order. The key is to get app_swift to show up when you “core show application swift” [as those instructions tell you]. If it is not registered, obviously it is not going to be available to you in the dial plan.

No luck… for some reason the make can not complete on that file.

Here is the output. I’m using Fedore Core 12… If they call it core anymore, I think it is just fedora now.

usr/include/bits/mathcalls.h:208: error: declaration for parameter ‘dremf’ but no such parameter /usr/include/bits/mathcalls.h:205: error: declaration for parameter ‘finitef’ but no such parameter /usr/include/bits/mathcalls.h:202: error: declaration for parameter ‘isinff’ but no such parameter /usr/include/bits/mathcalls.h:196: error: declaration for parameter ‘__finitef’ but no such parameter /usr/include/bits/mathcalls.h:193: error: declaration for parameter ‘__isinff’ but no such parameter /usr/include/bits/mathcalls.h:188: error: declaration for parameter ‘__fmodf’ but no such parameter /usr/include/bits/mathcalls.h:188: error: declaration for parameter ‘fmodf’ but no such parameter /usr/include/bits/mathcalls.h:185: error: declaration for parameter ‘__floorf’ but no such parameter /usr/include/bits/mathcalls.h:185: error: declaration for parameter ‘floorf’ but no such parameter /usr/include/bits/mathcalls.h:182: error: declaration for parameter ‘__fabsf’ but no such parameter /usr/include/bits/mathcalls.h:182: error: declaration for parameter ‘fabsf’ but no such parameter /usr/include/bits/mathcalls.h:179: error: declaration for parameter ‘__ceilf’ but no such parameter /usr/include/bits/mathcalls.h:179: error: declaration for parameter ‘ceilf’ but no such parameter /usr/include/bits/mathcalls.h:170: error: declaration for parameter ‘__cbrtf’ but no such parameter /usr/include/bits/mathcalls.h:170: error: declaration for parameter ‘cbrtf’ but no such parameter /usr/include/bits/mathcalls.h:163: error: declaration for parameter ‘__hypotf’ but no such parameter /usr/include/bits/mathcalls.h:163: error: declaration for parameter ‘hypotf’ but no such parameter /usr/include/bits/mathcalls.h:157: error: declaration for parameter ‘__sqrtf’ but no such parameter /usr/include/bits/mathcalls.h:157: error: declaration for parameter ‘sqrtf’ but no such parameter /usr/include/bits/mathcalls.h:154: error: declaration for parameter ‘__powf’ but no such parameter /usr/include/bits/mathcalls.h:154: error: declaration for parameter ‘powf’ but no such parameter /usr/include/bits/mathcalls.h:145: error: declaration for parameter ‘__log2f’ but no such parameter /usr/include/bits/mathcalls.h:145: error: declaration for parameter ‘log2f’ but no such parameter /usr/include/bits/mathcalls.h:142: error: declaration for parameter ‘__exp2f’ but no such parameter /usr/include/bits/mathcalls.h:142: error: declaration for parameter ‘exp2f’ but no such parameter /usr/include/bits/mathcalls.h:135: error: declaration for parameter ‘__logbf’ but no such parameter /usr/include/bits/mathcalls.h:135: error: declaration for parameter ‘logbf’ but no such parameter /usr/include/bits/mathcalls.h:132: error: declaration for parameter ‘__log1pf’ but no such parameter /usr/include/bits/mathcalls.h:132: error: declaration for parameter ‘log1pf’ but no such parameter /usr/include/bits/mathcalls.h:129: error: declaration for parameter ‘__expm1f’ but no such parameter /usr/include/bits/mathcalls.h:129: error: declaration for parameter ‘expm1f’ but no such parameter /usr/include/bits/mathcalls.h:123: error: declaration for parameter ‘__pow10f’ but no such parameter /usr/include/bits/mathcalls.h:123: error: declaration for parameter ‘pow10f’ but no such parameter /usr/include/bits/mathcalls.h:121: error: declaration for parameter ‘__exp10f’ but no such parameter /usr/include/bits/mathcalls.h:121: error: declaration for parameter ‘exp10f’ but no such parameter /usr/include/bits/mathcalls.h:116: error: declaration for parameter ‘__modff’ but no such parameter /usr/include/bits/mathcalls.h:116: error: declaration for parameter ‘modff’ but no such parameter /usr/include/bits/mathcalls.h:113: error: declaration for parameter ‘__log10f’ but no such parameter /usr/include/bits/mathcalls.h:113: error: declaration for parameter ‘log10f’ but no such parameter /usr/include/bits/mathcalls.h:110: error: declaration for parameter ‘__logf’ but no such parameter /usr/include/bits/mathcalls.h:110: error: declaration for parameter ‘logf’ but no such parameter /usr/include/bits/mathcalls.h:107: error: declaration for parameter ‘__ldexpf’ but no such parameter /usr/include/bits/mathcalls.h:107: error: declaration for parameter ‘ldexpf’ but no such parameter /usr/include/bits/mathcalls.h:104: error: declaration for parameter ‘__frexpf’ but no such parameter /usr/include/bits/mathcalls.h:104: error: declaration for parameter ‘frexpf’ but no such parameter /usr/include/bits/mathcalls.h:101: error: declaration for parameter ‘__expf’ but no such parameter /usr/include/bits/mathcalls.h:101: error: declaration for parameter ‘expf’ but no such parameter /usr/include/bits/mathcalls.h:93: error: declaration for parameter ‘__atanhf’ but no such parameter /usr/include/bits/mathcalls.h:93: error: declaration for parameter ‘atanhf’ but no such parameter /usr/include/bits/mathcalls.h:91: error: declaration for parameter ‘__asinhf’ but no such parameter /usr/include/bits/mathcalls.h:91: error: declaration for parameter ‘asinhf’ but no such parameter /usr/include/bits/mathcalls.h:89: error: declaration for parameter ‘__acoshf’ but no such parameter /usr/include/bits/mathcalls.h:89: error: declaration for parameter ‘acoshf’ but no such parameter /usr/include/bits/mathcalls.h:83: error: declaration for parameter ‘__sincosf’ but no such parameter /usr/include/bits/mathcalls.h:83: error: declaration for parameter ‘sincosf’ but no such parameter /usr/include/bits/mathcalls.h:77: error: declaration for parameter ‘__tanhf’ but no such parameter /usr/include/bits/mathcalls.h:77: error: declaration for parameter ‘tanhf’ but no such parameter /usr/include/bits/mathcalls.h:75: error: declaration for parameter ‘__sinhf’ but no such parameter /usr/include/bits/mathcalls.h:75: error: declaration for parameter ‘sinhf’ but no such parameter /usr/include/bits/mathcalls.h:73: error: declaration for parameter ‘__coshf’ but no such parameter /usr/include/bits/mathcalls.h:73: error: declaration for parameter ‘coshf’ but no such parameter /usr/include/bits/mathcalls.h:68: error: declaration for parameter ‘__tanf’ but no such parameter /usr/include/bits/mathcalls.h:68: error: declaration for parameter ‘tanf’ but no such parameter /usr/include/bits/mathcalls.h:66: error: declaration for parameter ‘__sinf’ but no such parameter /usr/include/bits/mathcalls.h:66: error: declaration for parameter ‘sinf’ but no such parameter /usr/include/bits/mathcalls.h:64: error: declaration for parameter ‘__cosf’ but no such parameter /usr/include/bits/mathcalls.h:64: error: declaration for parameter ‘cosf’ but no such parameter /usr/include/bits/mathcalls.h:61: error: declaration for parameter ‘__atan2f’ but no such parameter /usr/include/bits/mathcalls.h:61: error: declaration for parameter ‘atan2f’ but no such parameter /usr/include/bits/mathcalls.h:59: error: declaration for parameter ‘__atanf’ but no such parameter /usr/include/bits/mathcalls.h:59: error: declaration for parameter ‘atanf’ but no such parameter /usr/include/bits/mathcalls.h:57: error: declaration for parameter ‘__asinf’ but no such parameter /usr/include/bits/mathcalls.h:57: error: declaration for parameter ‘asinf’ but no such parameter /usr/include/bits/mathcalls.h:55: error: declaration for parameter ‘__acosf’ but no such parameter /usr/include/bits/mathcalls.h:55: error: declaration for parameter ‘acosf’ but no such parameter /usr/include/bits/mathcalls.h:364: error: declaration for parameter ‘__scalb’ but no such parameter /usr/include/bits/mathcalls.h:364: error: declaration for parameter ‘scalb’ but no such parameter /usr/include/bits/mathcalls.h:355: error: declaration for parameter ‘__fma’ but no such parameter /usr/include/bits/mathcalls.h:355: error: declaration for parameter ‘fma’ but no such parameter /usr/include/bits/mathcalls.h:350: error: declaration for parameter ‘__signbit’ but no such parameter /usr/include/bits/mathcalls.h:346: error: declaration for parameter ‘__fpclassify’ but no such parameter /usr/include/bits/mathcalls.h:342: error: declaration for parameter ‘__fmin’ but no such parameter /usr/include/bits/mathcalls.h:342: error: declaration for parameter ‘fmin’ but no such parameter /usr/include/bits/mathcalls.h:339: error: declaration for parameter ‘__fmax’ but no such parameter /usr/include/bits/mathcalls.h:339: error: declaration for parameter ‘fmax’ but no such parameter /usr/include/bits/mathcalls.h:336: error: declaration for parameter ‘__fdim’ but no such parameter /usr/include/bits/mathcalls.h:336: error: declaration for parameter ‘fdim’ but no such parameter /usr/include/bits/mathcalls.h:332: error: declaration for parameter ‘__llround’ but no such parameter /usr/include/bits/mathcalls.h:332: error: declaration for parameter ‘llround’ but no such parameter /usr/include/bits/mathcalls.h:331: error: declaration for parameter ‘__lround’ but no such parameter /usr/include/bits/mathcalls.h:331: error: declaration for parameter ‘lround’ but no such parameter /usr/include/bits/mathcalls.h:327: error: declaration for parameter ‘__llrint’ but no such parameter /usr/include/bits/mathcalls.h:327: error: declaration for parameter ‘llrint’ but no such parameter /usr/include/bits/mathcalls.h:326: error: declaration for parameter ‘__lrint’ but no such parameter /usr/include/bits/mathcalls.h:326: error: declaration for parameter ‘lrint’ but no such parameter /usr/include/bits/mathcalls.h:319: error: declaration for parameter ‘__remquo’ but no such parameter /usr/include/bits/mathcalls.h:319: error: declaration for parameter ‘remquo’ but no such parameter /usr/include/bits/mathcalls.h:314: error: declaration for parameter ‘__trunc’ but no such parameter /usr/include/bits/mathcalls.h:314: error: declaration for parameter ‘trunc’ but no such parameter /usr/include/bits/mathcalls.h:310: error: declaration for parameter ‘__round’ but no such parameter /usr/include/bits/mathcalls.h:310: error: declaration for parameter ‘round’ but no such parameter /usr/include/bits/mathcalls.h:306: error: declaration for parameter ‘__nearbyint’ but no such parameter /usr/include/bits/mathcalls.h:306: error: declaration for parameter ‘nearbyint’ but no such parameter /usr/include/bits/mathcalls.h:302: error: declaration for parameter ‘__scalbln’ but no such parameter /usr/include/bits/mathcalls.h:302: error: declaration for parameter ‘scalbln’ but no such parameter /usr/include/bits/mathcalls.h:297: error: declaration for parameter ‘__ilogb’ but no such parameter /usr/include/bits/mathcalls.h:297: error: declaration for parameter ‘ilogb’ but no such parameter /usr/include/bits/mathcalls.h:293: error: declaration for parameter ‘__scalbn’ but no such parameter /usr/include/bits/mathcalls.h:293: error: declaration for parameter ‘scalbn’ but no such parameter /usr/include/bits/mathcalls.h:289: error: declaration for parameter ‘__remainder’ but no such parameter /usr/include/bits/mathcalls.h:289: error: declaration for parameter ‘remainder’ but no such parameter /usr/include/bits/mathcalls.h:285: error: declaration for parameter ‘__nexttoward’ but no such parameter /usr/include/bits/mathcalls.h:285: error: declaration for parameter ‘nexttoward’ but no such parameter /usr/include/bits/mathcalls.h:283: error: declaration for parameter ‘__nextafter’ but no such parameter /usr/include/bits/mathcalls.h:283: error: declaration for parameter ‘nextafter’ but no such parameter /usr/include/bits/mathcalls.h:280: error: declaration for parameter ‘__rint’ but no such parameter /usr/include/bits/mathcalls.h:280: error: declaration for parameter ‘rint’ but no such parameter /usr/include/bits/mathcalls.h:272: error: declaration for parameter ‘__lgamma_r’ but no such parameter /usr/include/bits/mathcalls.h:272: error: declaration for parameter ‘lgamma_r’ but no such parameter /usr/include/bits/mathcalls.h:265: error: declaration for parameter ‘__gamma’ but no such parameter /usr/include/bits/mathcalls.h:265: error: declaration for parameter ‘gamma’ but no such parameter /usr/include/bits/mathcalls.h:259: error: declaration for parameter ‘__tgamma’ but no such parameter /usr/include/bits/mathcalls.h:259: error: declaration for parameter ‘tgamma’ but no such parameter /usr/include/bits/mathcalls.h:252: error: declaration for parameter ‘__lgamma’ but no such parameter /usr/include/bits/mathcalls.h:252: error: declaration for parameter ‘lgamma’ but no such parameter /usr/include/bits/mathcalls.h:251: error: declaration for parameter ‘__erfc’ but no such parameter /usr/include/bits/mathcalls.h:251: error: declaration for parameter ‘erfc’ but no such parameter /usr/include/bits/mathcalls.h:250: error: declaration for parameter ‘__erf’ but no such parameter /usr/include/bits/mathcalls.h:250: error: declaration for parameter ‘erf’ but no such parameter /usr/include/bits/mathcalls.h:243: error: declaration for parameter ‘__yn’ but no such parameter /usr/include/bits/mathcalls.h:243: error: declaration for parameter ‘yn’ but no such parameter /usr/include/bits/mathcalls.h:242: error: declaration for parameter ‘__y1’ but no such parameter /usr/include/bits/mathcalls.h:242: error: declaration for parameter ‘y1’ but no such parameter /usr/include/bits/mathcalls.h:241: error: declaration for parameter ‘__y0’ but no such parameter /usr/include/bits/mathcalls.h:241: error: declaration for parameter ‘y0’ but no such parameter /usr/include/bits/mathcalls.h:240: error: declaration for parameter ‘__jn’ but no such parameter /usr/include/bits/mathcalls.h:240: error: declaration for parameter ‘jn’ but no such parameter /usr/include/bits/mathcalls.h:239: error: declaration for parameter ‘__j1’ but no such parameter /usr/include/bits/mathcalls.h:239: error: declaration for parameter ‘j1’ but no such parameter /usr/include/bits/mathcalls.h:238: error: declaration for parameter ‘__j0’ but no such parameter /usr/include/bits/mathcalls.h:238: error: declaration for parameter ‘j0’ but no such parameter /usr/include/bits/mathcalls.h:235: error: declaration for parameter ‘isnan’ but no such parameter /usr/include/bits/mathcalls.h:231: error: declaration for parameter ‘__isnan’ but no such parameter /usr/include/bits/mathcalls.h:225: error: declaration for parameter ‘__nan’ but no such parameter /usr/include/bits/mathcalls.h:225: error: declaration for parameter ‘nan’ but no such parameter /usr/include/bits/mathcalls.h:218: error: declaration for parameter ‘__copysign’ but no such parameter /usr/include/bits/mathcalls.h:218: error: declaration for parameter ‘copysign’ but no such parameter /usr/include/bits/mathcalls.h:212: error: declaration for parameter ‘__significand’ but no such parameter /usr/include/bits/mathcalls.h:212: error: declaration for parameter ‘significand’ but no such parameter /usr/include/bits/mathcalls.h:208: error: declaration for parameter ‘__drem’ but no such parameter /usr/include/bits/mathcalls.h:208: error: declaration for parameter ‘drem’ but no such parameter /usr/include/bits/mathcalls.h:205: error: declaration for parameter ‘finite’ but no such parameter /usr/include/bits/mathcalls.h:202: error: declaration for parameter ‘isinf’ but no such parameter /usr/include/bits/mathcalls.h:196: error: declaration for parameter ‘__finite’ but no such parameter /usr/include/bits/mathcalls.h:193: error: declaration for parameter ‘__isinf’ but no such parameter /usr/include/bits/mathcalls.h:188: error: declaration for parameter ‘__fmod’ but no such parameter /usr/include/bits/mathcalls.h:188: error: declaration for parameter ‘fmod’ but no such parameter /usr/include/bits/mathcalls.h:185: error: declaration for parameter ‘__floor’ but no such parameter /usr/include/bits/mathcalls.h:185: error: declaration for parameter ‘floor’ but no such parameter /usr/include/bits/mathcalls.h:182: error: declaration for parameter ‘__fabs’ but no such parameter /usr/include/bits/mathcalls.h:182: error: declaration for parameter ‘fabs’ but no such parameter /usr/include/bits/mathcalls.h:179: error: declaration for parameter ‘__ceil’ but no such parameter /usr/include/bits/mathcalls.h:179: error: declaration for parameter ‘ceil’ but no such parameter /usr/include/bits/mathcalls.h:170: error: declaration for parameter ‘__cbrt’ but no such parameter /usr/include/bits/mathcalls.h:170: error: declaration for parameter ‘cbrt’ but no such parameter /usr/include/bits/mathcalls.h:163: error: declaration for parameter ‘__hypot’ but no such parameter /usr/include/bits/mathcalls.h:163: error: declaration for parameter ‘hypot’ but no such parameter /usr/include/bits/mathcalls.h:157: error: declaration for parameter ‘__sqrt’ but no such parameter /usr/include/bits/mathcalls.h:157: error: declaration for parameter ‘sqrt’ but no such parameter /usr/include/bits/mathcalls.h:154: error: declaration for parameter ‘__pow’ but no such parameter /usr/include/bits/mathcalls.h:154: error: declaration for parameter ‘pow’ but no such parameter /usr/include/bits/mathcalls.h:145: error: declaration for parameter ‘__log2’ but no such parameter /usr/include/bits/mathcalls.h:145: error: declaration for parameter ‘log2’ but no such parameter /usr/include/bits/mathcalls.h:142: error: declaration for parameter ‘__exp2’ but no such parameter /usr/include/bits/mathcalls.h:142: error: declaration for parameter ‘exp2’ but no such parameter /usr/include/bits/mathcalls.h:135: error: declaration for parameter ‘__logb’ but no such parameter /usr/include/bits/mathcalls.h:135: error: declaration for parameter ‘logb’ but no such parameter /usr/include/bits/mathcalls.h:132: error: declaration for parameter ‘__log1p’ but no such parameter /usr/include/bits/mathcalls.h:132: error: declaration for parameter ‘log1p’ but no such parameter /usr/include/bits/mathcalls.h:129: error: declaration for parameter ‘__expm1’ but no such parameter /usr/include/bits/mathcalls.h:129: error: declaration for parameter ‘expm1’ but no such parameter /usr/include/bits/mathcalls.h:123: error: declaration for parameter ‘__pow10’ but no such parameter /usr/include/bits/mathcalls.h:123: error: declaration for parameter ‘pow10’ but no such parameter /usr/include/bits/mathcalls.h:121: error: declaration for parameter ‘__exp10’ but no such parameter /usr/include/bits/mathcalls.h:121: error: declaration for parameter ‘exp10’ but no such parameter /usr/include/bits/mathcalls.h:116: error: declaration for parameter ‘__modf’ but no such parameter /usr/include/bits/mathcalls.h:116: error: declaration for parameter ‘modf’ but no such parameter /usr/include/bits/mathcalls.h:113: error: declaration for parameter ‘__log10’ but no such parameter /usr/include/bits/mathcalls.h:113: error: declaration for parameter ‘log10’ but no such parameter /usr/include/bits/mathcalls.h:110: error: declaration for parameter ‘__log’ but no such parameter /usr/include/bits/mathcalls.h:110: error: declaration for parameter ‘log’ but no such parameter /usr/include/bits/mathcalls.h:107: error: declaration for parameter ‘__ldexp’ but no such parameter /usr/include/bits/mathcalls.h:107: error: declaration for parameter ‘ldexp’ but no such parameter /usr/include/bits/mathcalls.h:104: error: declaration for parameter ‘__frexp’ but no such parameter /usr/include/bits/mathcalls.h:104: error: declaration for parameter ‘frexp’ but no such parameter /usr/include/bits/mathcalls.h:101: error: declaration for parameter ‘__exp’ but no such parameter /usr/include/bits/mathcalls.h:101: error: declaration for parameter ‘exp’ but no such parameter /usr/include/bits/mathcalls.h:93: error: declaration for parameter ‘__atanh’ but no such parameter /usr/include/bits/mathcalls.h:93: error: declaration for parameter ‘atanh’ but no such parameter /usr/include/bits/mathcalls.h:91: error: declaration for parameter ‘__asinh’ but no such parameter /usr/include/bits/mathcalls.h:91: error: declaration for parameter ‘asinh’ but no such parameter /usr/include/bits/mathcalls.h:89: error: declaration for parameter ‘__acosh’ but no such parameter /usr/include/bits/mathcalls.h:89: error: declaration for parameter ‘acosh’ but no such parameter /usr/include/bits/mathcalls.h:82: error: declaration for parameter ‘__sincos’ but no such parameter /usr/include/bits/mathcalls.h:82: error: declaration for parameter ‘sincos’ but no such parameter /usr/include/bits/mathcalls.h:77: error: declaration for parameter ‘__tanh’ but no such parameter /usr/include/bits/mathcalls.h:77: error: declaration for parameter ‘tanh’ but no such parameter /usr/include/bits/mathcalls.h:75: error: declaration for parameter ‘__sinh’ but no such parameter /usr/include/bits/mathcalls.h:75: error: declaration for parameter ‘sinh’ but no such parameter /usr/include/bits/mathcalls.h:73: error: declaration for parameter ‘__cosh’ but no such parameter /usr/include/bits/mathcalls.h:73: error: declaration for parameter ‘cosh’ but no such parameter /usr/include/bits/mathcalls.h:68: error: declaration for parameter ‘__tan’ but no such parameter /usr/include/bits/mathcalls.h:68: error: declaration for parameter ‘tan’ but no such parameter /usr/include/bits/mathcalls.h:66: error: declaration for parameter ‘__sin’ but no such parameter /usr/include/bits/mathcalls.h:66: error: declaration for parameter ‘sin’ but no such parameter /usr/include/bits/mathcalls.h:64: error: declaration for parameter ‘__cos’ but no such parameter /usr/include/bits/mathcalls.h:64: error: declaration for parameter ‘cos’ but no such parameter /usr/include/bits/mathcalls.h:61: error: declaration for parameter ‘__atan2’ but no such parameter /usr/include/bits/mathcalls.h:61: error: declaration for parameter ‘atan2’ but no such parameter /usr/include/bits/mathcalls.h:59: error: declaration for parameter ‘__atan’ but no such parameter /usr/include/bits/mathcalls.h:59: error: declaration for parameter ‘atan’ but no such parameter /usr/include/bits/mathcalls.h:57: error: declaration for parameter ‘__asin’ but no such parameter /usr/include/bits/mathcalls.h:57: error: declaration for parameter ‘asin’ but no such parameter /usr/include/bits/mathcalls.h:55: error: declaration for parameter ‘__acos’ but no such parameter /usr/include/bits/mathcalls.h:55: error: declaration for parameter ‘acos’ but no such parameter /usr/include/bits/mathdef.h:38: error: declaration for parameter ‘double_t’ but no such parameter /usr/include/bits/mathdef.h:36: error: declaration for parameter ‘float_t’ but no such parameter /opt/swift/include/swift.h:35: error: declaration for parameter ‘swift_platform’ but no such parameter /opt/swift/include/swift.h:32: error: declaration for parameter ‘swift_date’ but no such parameter /opt/swift/include/swift.h:30: error: declaration for parameter ‘swift_version’ but no such parameter /opt/swift/include/swift.h:28: error: declaration for parameter ‘swift_engine_name’ but no such parameter /opt/swift/include/swift_params.h:224: error: declaration for parameter ‘swift_param_desc’ but no such parameter /opt/swift/include/swift_params.h:214: error: declaration for parameter ‘swift_param_type_t’ but no such parameter /opt/swift/include/swift_defs.h:100: error: declaration for parameter ‘swift_voice_retention_policy_t’ but no such parameter /opt/swift/include/swift_defs.h:93: error: declaration for parameter ‘swift_event_t’ but no such parameter /opt/swift/include/swift_defs.h:74: error: declaration for parameter ‘swift_status_t’ but no such parameter /opt/swift/include/swift_defs.h:65: error: declaration for parameter ‘swift_result_t’ but no such parameter /opt/swift/include/swift_defs.h:44: error: parameter ‘swift_event’ has incomplete type /opt/swift/include/swift_defs.h:44: error: declaration for parameter ‘swift_event’ but no such parameter /opt/swift/include/swift_defs.h:41: error: declaration for parameter ‘swift_background_t’ but no such parameter /opt/swift/include/swift_defs.h:38: error: parameter ‘swift_waveform’ has incomplete type /opt/swift/include/swift_defs.h:38: error: declaration for parameter ‘swift_waveform’ but no such parameter /opt/swift/include/swift_defs.h:35: error: parameter ‘swift_val’ has incomplete type /opt/swift/include/swift_defs.h:35: error: declaration for parameter ‘swift_val’ but no such parameter /opt/swift/include/swift_defs.h:32: error: parameter ‘swift_params’ has incomplete type /opt/swift/include/swift_defs.h:32: error: declaration for parameter ‘swift_params’ but no such parameter /opt/swift/include/swift_defs.h:29: error: parameter ‘swift_port’ has incomplete type /opt/swift/include/swift_defs.h:29: error: declaration for parameter ‘swift_port’ but no such parameter /opt/swift/include/swift_defs.h:26: error: parameter ‘swift_engine’ has incomplete type /opt/swift/include/swift_defs.h:26: error: declaration for parameter ‘swift_engine’ but no such parameter /opt/swift/include/swift_defs.h:23: error: parameter ‘swift_voice_list’ has incomplete type /opt/swift/include/swift_defs.h:23: error: declaration for parameter ‘swift_voice_list’ but no such parameter /opt/swift/include/swift_defs.h:20: error: parameter ‘swift_voice’ has incomplete type /opt/swift/include/swift_defs.h:20: error: declaration for parameter ‘swift_voice’ but no such parameter app_swift.c:547: error: expected ‘{’ at end of input make: *** [app_swift.o] Error 1

Much of my output got truncated.

I am having the exact same issue. I’m wondering if anyone has resolved this issue?
I am running AsteriskNow.
Asterisk=1.6.2.20
I downloaded the latest version of app_swift “app_swift-2.0_ast-1.6.tar” from AsteriskForge
And i got a ton of those compile errors.

I don’t have an asterisk.h in my /opt/swift/include directory.
And it looks like that is the first error that this thing throws.

I too followed the steps at nerdvittles.com/index.php?p=202

Any help would be greatly appreciated.
Thanks!

I had the same issue and was able to fix it by installing the asterisk-dev package.

yum install asterisk-devel

From there I was able to do a make and make install with no problems.