We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm i discordjs/opus doesnt install opus and throws errors
~/Music-bot $ npm i @discordjs/opus > @discordjs/[email protected] install > node-pre-gyp install --fallback-to-build node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@0.4.5 node-pre-gyp info using node@22.8.0 | android | arm (node:9391) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) node-pre-gyp info check checked for "/data/data/com.termux/files/home/Music-bot/node_modules/@discordjs/opus/prebuild/node-v127-napi-v3-android-arm-unknown-unknown/opus.node" (not found) node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v127-napi-v3-android-arm-unknown-unknown.tar.gz node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v127-napi-v3-android-arm-unknown-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not installable for @discordjs/[email protected] and [email protected] (node-v127 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v127-napi-v3-android-arm-unknown-unknown.tar.gz gyp info it worked if it ends with ok gyp info using node-gyp@10.1.0 gyp info using node@22.8.0 | android | arm gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@10.1.0 gyp info using node@22.8.0 | android | arm gyp info find Python using Python version 3.11.10 found at "/data/data/com.termux/files/usr/bin/python3" gyp info spawn /data/data/com.termux/files/usr/bin/python3 gyp info spawn args [ gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/data/data/com.termux/files/home/Music-bot/node_modules/@discordjs/opus/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/data/data/com.termux/files/home/.cache/node-gyp/22.8.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/data/data/com.termux/files/home/.cache/node-gyp/22.8.0', gyp info spawn args '-Dnode_gyp_dir=/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/data/data/com.termux/files/home/.cache/node-gyp/22.8.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/data/data/com.termux/files/home/Music-bot/node_modules/@discordjs/opus', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] Using overrides found in /data/data/com.termux/files/home/.gyp/include.gypi gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@10.1.0 gyp info using node@22.8.0 | android | arm gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/data/data/com.termux/files/home/Music-bot/node_modules/@discordjs/opus/build' CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_projection_encoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/analysis.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/mlp_data.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream_encoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_projection_decoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/mapping_matrix.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_compare.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/mlp.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream_decoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_decoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/repacketizer.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/src/opus_encoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_frame.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/inner_product_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/scale_vector_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_pred_coefs_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/schur_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/warped_autocorrelation_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/burg_modified_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_LPC_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/LPC_inv_pred_gain_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/scale_copy_vector_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/noise_shape_analysis_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/pitch_analysis_core_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/bwexpander_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/LTP_analysis_filter_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/LTP_scale_ctrl_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/corrMatrix_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/encode_frame_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/sort_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_pitch_lags_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/residual_energy_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/LPC_analysis_filter_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/autocorrelation_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/k2a_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/regularize_correlations_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/find_LTP_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/energy_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/apply_sine_window_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/wrappers_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/float/process_gains_FLP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_quant_pred.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/LPC_inv_pred_gain.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/process_NLSFs.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NSQ.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/check_control_input.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_del_dec_quant.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/LPC_analysis_filter.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/dec_API.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/sort.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/VAD.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_AR2.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/LPC_fit.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/control_SNR.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_parameters.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/pitch_est_tables.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/warped_autocorrelation_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/apply_sine_window_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy16_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/schur64_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/residual_energy_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/noise_shape_analysis_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/encode_frame_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/schur_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/autocorr_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] ../deps/opus/silk/fixed/autocorr_FIX.c:47:29: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 47 | *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); | ^~~~~~~~~ ../deps/opus/celt/celt_lpc.h:63:38: note: passing argument to parameter 'x' here 63 | int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, | ^ ../deps/opus/silk/fixed/autocorr_FIX.c:47:40: warning: incompatible pointer types passing 'opus_int32 *' (aka 'int *') to parameter of type 'opus_val32 *' (aka 'float *') [-Wincompatible-pointer-types] 47 | *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); | ^~~~~~~ ../deps/opus/celt/celt_lpc.h:63:53: note: passing argument to parameter 'ac' here 63 | int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, | ^ 3 warnings generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/burg_modified_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] ../deps/opus/silk/fixed/burg_modified_FIX.c:98:30: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 98 | celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D, arch ); | ^~~~~ ../deps/opus/celt/pitch.h:185:38: note: passing argument to parameter '_x' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/burg_modified_FIX.c:98:37: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 98 | celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D, arch ); | ^~~~~~~~~ ../deps/opus/celt/pitch.h:185:60: note: passing argument to parameter '_y' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/burg_modified_FIX.c:98:48: warning: incompatible pointer types passing 'opus_int32[24]' (aka 'int[24]') to parameter of type 'opus_val32 *' (aka 'float *') [-Wincompatible-pointer-types] 98 | celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D, arch ); | ^~~~~ ../deps/opus/celt/pitch.h:186:19: note: passing argument to parameter 'xcorr' here 186 | opus_val32 *xcorr, int len, int max_pitch, int arch); | ^ 4 warnings generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/pitch_analysis_core_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:200:27: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 200 | celt_pitch_xcorr( target_ptr, target_ptr - MAX_LAG_4KHZ, xcorr32, SF_LENGTH_8KHZ, MAX_LAG_4KHZ - MIN_LAG_4KHZ + 1, arch ); | ^~~~~~~~~~ ../deps/opus/celt/pitch.h:185:38: note: passing argument to parameter '_x' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:200:39: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 200 | celt_pitch_xcorr( target_ptr, target_ptr - MAX_LAG_4KHZ, xcorr32, SF_LENGTH_8KHZ, MAX_LAG_4KHZ - MIN_LAG_4KHZ + 1, arch ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/opus/celt/pitch.h:185:60: note: passing argument to parameter '_y' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:200:66: warning: incompatible pointer types passing 'opus_int32[65]' (aka 'int[65]') to parameter of type 'opus_val32 *' (aka 'float *') [-Wincompatible-pointer-types] 200 | celt_pitch_xcorr( target_ptr, target_ptr - MAX_LAG_4KHZ, xcorr32, SF_LENGTH_8KHZ, MAX_LAG_4KHZ - MIN_LAG_4KHZ + 1, arch ); | ^~~~~~~ ../deps/opus/celt/pitch.h:186:19: note: passing argument to parameter 'xcorr' here 186 | opus_val32 *xcorr, int len, int max_pitch, int arch); | ^ ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:616:27: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 616 | celt_pitch_xcorr( target_ptr, target_ptr - start_lag - lag_high, xcorr32, sf_length, lag_high - lag_low + 1, arch ); | ^~~~~~~~~~ ../deps/opus/celt/pitch.h:185:38: note: passing argument to parameter '_x' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:616:39: warning: incompatible pointer types passing 'const opus_int16 *' (aka 'const short *') to parameter of type 'const opus_val16 *' (aka 'const float *') [-Wincompatible-pointer-types] 616 | celt_pitch_xcorr( target_ptr, target_ptr - start_lag - lag_high, xcorr32, sf_length, lag_high - lag_low + 1, arch ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/opus/celt/pitch.h:185:60: note: passing argument to parameter '_y' here 185 | celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, | ^ ../deps/opus/silk/fixed/pitch_analysis_core_FIX.c:616:74: warning: incompatible pointer types passing 'opus_int32[22]' (aka 'int[22]') to parameter of type 'opus_val32 *' (aka 'float *') [-Wincompatible-pointer-types] 616 | celt_pitch_xcorr( target_ptr, target_ptr - start_lag - lag_high, xcorr32, sf_length, lag_high - lag_low + 1, arch ); | ^~~~~~~ ../deps/opus/celt/pitch.h:186:19: note: passing argument to parameter 'xcorr' here 186 | opus_val32 *xcorr, int len, int max_pitch, int arch); | ^ 7 warnings generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/find_LTP_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/find_LPC_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/corrMatrix_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/k2a_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/LTP_scale_ctrl_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/process_gains_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/k2a_Q16_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/regularize_correlations_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/LTP_analysis_filter_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/vector_ops_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/find_pitch_lags_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/fixed/find_pred_coefs_FIX.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/control_audio_bandwidth.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decoder_set_fs.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_unpack.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/bwexpander.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_rom.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/shell_coder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_pulses.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/bwexpander_32.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_core.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/PLC.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_NLSF_CB_WB.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/table_LSF_cos.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_pulses_per_block.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_gain.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/inner_prod_aligned.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_down2_3.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NSQ_del_dec.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_pitch.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_VQ_weights_laroia.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/interpolate.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/debug.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_other.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/LP_variable_cutoff.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_decode.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/encode_pulses.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/control_codec.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_LR_to_MS.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/HP_variable_cutoff.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/encode_indices.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/init_decoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_encode_pred.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_VQ.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/init_encoder.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_IIR_FIR.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_up2_HQ.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/sigm_Q15.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/sum_sqr_shift.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_LTP.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_down2.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/code_signs.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_NLSF_CB_NB_MB.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/gain_quant.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/tables_pitch_lag.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_stabilize.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_find_predictor.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/A2NLSF.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF2A.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/VQ_WMat_EC.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/NLSF_encode.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/log2lin.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_decode_pred.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/lin2log.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/CNG.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/enc_API.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/biquad_alt.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/quant_LTP_gains.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/resampler_private_down_FIR.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/ana_filt_bank_1.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/stereo_MS_to_LR.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/silk/decode_indices.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/celt/rate.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/celt/entdec.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. CC(target) Release/obj.target/libopus/deps/opus/celt/modes.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] ^Cmake: *** [deps/libopus.target.mk:300: Release/obj.target/libopus/deps/opus/celt/modes.o] Interrupt
Android 11 ~ Termux via SSH. Node.js 22.8.0
Low (slightly annoying)
The text was updated successfully, but these errors were encountered:
PS- I had all the packages required for the installed. Tweaked some things for termux and waited and it installed itself.
Sorry, something went wrong.
No branches or pull requests
Issue description
npm i discordjs/opus doesnt install opus and throws errors
Code sample
Versions
Android 11 ~ Termux via SSH.
Node.js 22.8.0
Issue priority
Low (slightly annoying)
The text was updated successfully, but these errors were encountered: