Can anyone advise what I am doing wrong here? Expression: EXP(1.0) Result: [19] '2.71828182845904524' Expression: EXP2(1.0) Result: [1] '2' Expression: LOG(10) Result: [19] '2.30258509299404568' Expression: LOG2(10) Result: [19] '3.32192809488736235' Expression: LOG10(10) Result: [1] '1' Expression: ATAN2(4,5) Result: [20] '0.674740942223552663' Expression: ACOS(12) Result: [3] 'nan' Expression: ASIN(1) Result: [19] '1.57079632679489662' Expression: ATAN(10) Result: [19] '1.47112767430373459' Expression: SQRT(2)*SQRT(2) Result: [1] '2' LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow Expression: ATAN(12) + TRUNC(2.4) *ASIN(14.3) *ACOS(1.2) Result: [3] 'nan' Expression: ATAN(.912) Result: [25] '5.16015028965208206e-4944' Expression: TRUNC(2.4) Result: [1] '2' Expression: ASIN(0.705) Result: [19] '0.78242314584342907' Expression: ACOS(.12) Result: [19] '1.57079632679489662' Expression: ATAN(.912) + TRUNC(2.4) - ASIN(0.705) + ACOS(.12) Result: [19] '2.78837318095146755' LOG: lev:4 file:ast_expr2.y line:1071 func: op_func Error! 'MATH' is not available in the standalone version! Expression: MATH(3*9) Result: [1] '0' Expression: ${GLOBAL(ULKOPREFIX)}9${x} Result: [26] '${GLOBAL(ULKOPREFIX)}9${x}' Expression: 512059${x} Result: [10] '512059${x}' [CC] smsq.c -> smsq.o [LD] smsq.o strcompat.o -> smsq [CC] stereorize.c -> stereorize.o [CC] frame.c -> frame.o [LD] stereorize.o frame.o -> stereorize [CC] streamplayer.c -> streamplayer.o [LD] streamplayer.o -> streamplayer [pjproject] Rebuilding [pjproject] Configuring with --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec --disable-bcg729 --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec --disable-g722-codec --disable-g7221-codec --disable-opencore-amr --disable-silk --disable-opus --disable-video --disable-v4l2 --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc --without-external-pa --without-external-srtp --disable-resample --disable-g711-codec --enable-epoll [pjproject] Compiling lib libpj-x86_64-unknown-linux-gnu.a make[2]: *** [/usr/src/asterisk-17.0.0-rc2/third-party/pjproject/source/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a] Error 2 make[1]: *** [pjproject] Error 2 make: *** [third-party] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190928/c4bbc802/attachment.html>
On Sat, Sep 28, 2019, at 10:32 PM, Voice user wrote:> Can anyone advise what I am doing wrong here? > > Expression: EXP(1.0) Result: [19] '2.71828182845904524' > Expression: EXP2(1.0) Result: [1] '2' > Expression: LOG(10) Result: [19] '2.30258509299404568' > Expression: LOG2(10) Result: [19] '3.32192809488736235' > Expression: LOG10(10) Result: [1] '1' > Expression: ATAN2(4,5) Result: [20] '0.674740942223552663' > Expression: ACOS(12) Result: [3] 'nan' > Expression: ASIN(1) Result: [19] '1.57079632679489662' > Expression: ATAN(10) Result: [19] '1.47112767430373459' > Expression: SQRT(2)*SQRT(2) Result: [1] '2' > LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow > LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow > Expression: ATAN(12) + TRUNC(2.4) *ASIN(14.3) *ACOS(1.2) Result: [3] > 'nan' > Expression: ATAN(.912) Result: [25] '5.16015028965208206e-4944' > Expression: TRUNC(2.4) Result: [1] '2' > Expression: ASIN(0.705) Result: [19] '0.78242314584342907' > Expression: ACOS(.12) Result: [19] '1.57079632679489662' > Expression: ATAN(.912) + TRUNC(2.4) - ASIN(0.705) + ACOS(.12) Result: > [19] '2.78837318095146755' > LOG: lev:4 file:ast_expr2.y line:1071 func: op_func Error! 'MATH' is > not available in the standalone version! > Expression: MATH(3*9) Result: [1] '0' > Expression: ${GLOBAL(ULKOPREFIX)}9${x} Result: [26] > '${GLOBAL(ULKOPREFIX)}9${x}' > Expression: 512059${x} Result: [10] '512059${x}' > [CC] smsq.c -> smsq.o > [LD] smsq.o strcompat.o -> smsq > [CC] stereorize.c -> stereorize.o > [CC] frame.c -> frame.o > [LD] stereorize.o frame.o -> stereorize > [CC] streamplayer.c -> streamplayer.o > [LD] streamplayer.o -> streamplayer > [pjproject] Rebuilding > [pjproject] Configuring with --prefix=/opt/pjproject > --disable-speex-codec --disable-speex-aec --disable-bcg729 > --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec > --disable-g722-codec --disable-g7221-codec --disable-opencore-amr > --disable-silk --disable-opus --disable-video --disable-v4l2 > --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv > --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc > --without-external-pa --without-external-srtp --disable-resample > --disable-g711-codec --enable-epoll > [pjproject] Compiling lib libpj-x86_64-unknown-linux-gnu.a > make[2]: *** > [/usr/src/asterisk-17.0.0-rc2/third-party/pjproject/source/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a] Error 2 > make[1]: *** [pjproject] Error 2 > make: *** [third-party] Error 2Please file an issue[1] and attach the config.log file, information about the platform (what distro), and whether rc1 worked for you. [1] https://issues.asterisk.org/jira -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
On Sat, Sep 28, 2019, at 10:32 PM, Voice user wrote:> Can anyone advise what I am doing wrong here? > > Expression: EXP(1.0) Result: [19] '2.71828182845904524' > Expression: EXP2(1.0) Result: [1] '2' > Expression: LOG(10) Result: [19] '2.30258509299404568' > Expression: LOG2(10) Result: [19] '3.32192809488736235' > Expression: LOG10(10) Result: [1] '1' > Expression: ATAN2(4,5) Result: [20] '0.674740942223552663' > Expression: ACOS(12) Result: [3] 'nan' > Expression: ASIN(1) Result: [19] '1.57079632679489662' > Expression: ATAN(10) Result: [19] '1.47112767430373459' > Expression: SQRT(2)*SQRT(2) Result: [1] '2' > LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow > LOG: lev:3 file:ast_expr2.y line:1468 func: op_times overflow > Expression: ATAN(12) + TRUNC(2.4) *ASIN(14.3) *ACOS(1.2) Result: [3] > 'nan' > Expression: ATAN(.912) Result: [25] '5.16015028965208206e-4944' > Expression: TRUNC(2.4) Result: [1] '2' > Expression: ASIN(0.705) Result: [19] '0.78242314584342907' > Expression: ACOS(.12) Result: [19] '1.57079632679489662' > Expression: ATAN(.912) + TRUNC(2.4) - ASIN(0.705) + ACOS(.12) Result: > [19] '2.78837318095146755' > LOG: lev:4 file:ast_expr2.y line:1071 func: op_func Error! 'MATH' is > not available in the standalone version! > Expression: MATH(3*9) Result: [1] '0' > Expression: ${GLOBAL(ULKOPREFIX)}9${x} Result: [26] > '${GLOBAL(ULKOPREFIX)}9${x}' > Expression: 512059${x} Result: [10] '512059${x}' > [CC] smsq.c -> smsq.o > [LD] smsq.o strcompat.o -> smsq > [CC] stereorize.c -> stereorize.o > [CC] frame.c -> frame.o > [LD] stereorize.o frame.o -> stereorize > [CC] streamplayer.c -> streamplayer.o > [LD] streamplayer.o -> streamplayer > [pjproject] Rebuilding > [pjproject] Configuring with --prefix=/opt/pjproject > --disable-speex-codec --disable-speex-aec --disable-bcg729 > --disable-gsm-codec --disable-ilbc-codec --disable-l16-codec > --disable-g722-codec --disable-g7221-codec --disable-opencore-amr > --disable-silk --disable-opus --disable-video --disable-v4l2 > --disable-sound --disable-ext-sound --disable-sdl --disable-libyuv > --disable-ffmpeg --disable-openh264 --disable-ipp --disable-libwebrtc > --without-external-pa --without-external-srtp --disable-resample > --disable-g711-codec --enable-epoll > [pjproject] Compiling lib libpj-x86_64-unknown-linux-gnu.a > make[2]: *** > [/usr/src/asterisk-17.0.0-rc2/third-party/pjproject/source/pjlib/lib/libpj-x86_64-unknown-linux-gnu.a] Error 2 > make[1]: *** [pjproject] Error 2 > make: *** [third-party] Error 2Upon release of the latest releases an individual ran into a build problem on an older distro with an old compiler. This issue is being tracked on the issue tracker[1]. [1] https://issues.asterisk.org/jira/browse/ASTERISK-28574 -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org