Skip to content

Instantly share code, notes, and snippets.

@sid137
Created September 13, 2013 02:51
Show Gist options
  • Save sid137/6546329 to your computer and use it in GitHub Desktop.
Save sid137/6546329 to your computer and use it in GitHub Desktop.
errors when compiling pyflac: https://github.com/dsully/pyflac Compile command: make && make install library versions: ii swig 2.0.8-1ubuntu3 amd64 Generate scripting interfaces to C/C++ code ii swig2.0 2.0.8-1ubuntu3 amd64 Generate scripting interfaces to C/C++ code ii libflac-dev:amd64 1.2.1-6build1 amd64 Free Lossless Audio Codec - C developm…
root@voice:/usr/local/src/pyflac# make && make install
swig -python -Wall flac/sw_metadata.i
swig -python -Wall flac/decoder.i
swig -python -Wall flac/encoder.i
./setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/flac
copying flac/metadata.py -> build/lib.linux-x86_64-2.7/flac
copying flac/decoder.py -> build/lib.linux-x86_64-2.7/flac
copying flac/__init__.py -> build/lib.linux-x86_64-2.7/flac
copying flac/encoder.py -> build/lib.linux-x86_64-2.7/flac
copying flac/sw_metadata.py -> build/lib.linux-x86_64-2.7/flac
running build_ext
building 'flac/_encoder' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/flac
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c flac/encoder_wrap.c -o build/temp.linux-x86_64-2.7/flac/encoder_wrap.o
flac/encoder_wrap.c:3069:40: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
flac/encoder_wrap.c: In function ‘new_FLAC__StreamEncoder’:
flac/encoder_wrap.c:3070:9: warning: return from incompatible pointer type [enabled by default]
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_verify’:
flac/encoder_wrap.c:3222:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_verify’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:743:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_streamable_subset’:
flac/encoder_wrap.c:3225:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_streamable_subset’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:761:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_do_mid_side_stereo’:
flac/encoder_wrap.c:3228:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_do_mid_side_stereo’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:893:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_loose_mid_side_stereo’:
flac/encoder_wrap.c:3231:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_loose_mid_side_stereo’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:909:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_channels’:
flac/encoder_wrap.c:3294:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_channels’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:773:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_bits_per_sample’:
flac/encoder_wrap.c:3297:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_bits_per_sample’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:789:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_sample_rate’:
flac/encoder_wrap.c:3300:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_sample_rate’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:801:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_compression_level’:
flac/encoder_wrap.c:3303:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_compression_level’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:864:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_blocksize’:
flac/encoder_wrap.c:3306:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_blocksize’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:879:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_max_lpc_order’:
flac/encoder_wrap.c:3309:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_max_lpc_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:966:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_qlp_coeff_precision’:
flac/encoder_wrap.c:3312:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_qlp_coeff_precision’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:984:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_do_qlp_coeff_prec_search’:
flac/encoder_wrap.c:3315:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_do_qlp_coeff_prec_search’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:998:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_do_escape_coding’:
flac/encoder_wrap.c:3318:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_do_escape_coding’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1010:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_do_exhaustive_model_search’:
flac/encoder_wrap.c:3321:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_do_exhaustive_model_search’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1024:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_min_residual_partition_order’:
flac/encoder_wrap.c:3324:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_min_residual_partition_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1047:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_max_residual_partition_order’:
flac/encoder_wrap.c:3327:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_max_residual_partition_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1070:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_rice_parameter_search_dist’:
flac/encoder_wrap.c:3330:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_rice_parameter_search_dist’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1082:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_total_samples_estimate’:
flac/encoder_wrap.c:3370:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_total_samples_estimate’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1098:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_set_metadata’:
flac/encoder_wrap.c:3373:9: warning: passing argument 1 of ‘FLAC__stream_encoder_set_metadata’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1181:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_state’:
flac/encoder_wrap.c:3376:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_state’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1191:35: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_verify_decoder_state’:
flac/encoder_wrap.c:3379:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_verify_decoder_state’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1203:35: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_resolved_state_string’:
flac/encoder_wrap.c:3382:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_resolved_state_string’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1216:22: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_verify_decoder_error_stats’:
flac/encoder_wrap.c:3426:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_verify_decoder_error_stats’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1235:15: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_verify’:
flac/encoder_wrap.c:3429:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_verify’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1245:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_streamable_subset’:
flac/encoder_wrap.c:3432:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_streamable_subset’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1255:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_do_mid_side_stereo’:
flac/encoder_wrap.c:3435:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_do_mid_side_stereo’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1305:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_loose_mid_side_stereo’:
flac/encoder_wrap.c:3438:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_loose_mid_side_stereo’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1315:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_channels’:
flac/encoder_wrap.c:3441:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_channels’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1265:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_bits_per_sample’:
flac/encoder_wrap.c:3451:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_bits_per_sample’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1275:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_sample_rate’:
flac/encoder_wrap.c:3454:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_sample_rate’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1285:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_blocksize’:
flac/encoder_wrap.c:3457:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_blocksize’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1295:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_max_lpc_order’:
flac/encoder_wrap.c:3460:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_max_lpc_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1325:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_qlp_coeff_precision’:
flac/encoder_wrap.c:3463:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_qlp_coeff_precision’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1335:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_do_qlp_coeff_prec_search’:
flac/encoder_wrap.c:3466:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_do_qlp_coeff_prec_search’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1345:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_do_escape_coding’:
flac/encoder_wrap.c:3469:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_do_escape_coding’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1355:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_do_exhaustive_model_search’:
flac/encoder_wrap.c:3472:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_do_exhaustive_model_search’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1365:21: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_min_residual_partition_order’:
flac/encoder_wrap.c:3475:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_min_residual_partition_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1375:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_max_residual_partition_order’:
flac/encoder_wrap.c:3478:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_max_residual_partition_order’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1385:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_rice_parameter_search_dist’:
flac/encoder_wrap.c:3481:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_rice_parameter_search_dist’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1395:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_get_total_samples_estimate’:
flac/encoder_wrap.c:3484:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_total_samples_estimate’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1408:23: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_init_file’:
flac/encoder_wrap.c:3587:9: warning: passing argument 1 of ‘FLAC__stream_encoder_init_file’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1641:40: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_init_stream’:
flac/encoder_wrap.c:3592:9: warning: passing argument 1 of ‘FLAC__stream_encoder_init_stream’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1471:40: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_finish’:
flac/encoder_wrap.c:3595:9: warning: passing argument 1 of ‘FLAC__stream_encoder_finish’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1701:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_process’:
flac/encoder_wrap.c:3600:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_channels’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1265:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c:3601:9: warning: passing argument 1 of ‘FLAC__stream_encoder_get_bits_per_sample’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1275:19: note: expected ‘const struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c:3637:9: warning: passing argument 1 of ‘FLAC__stream_encoder_process_interleaved’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1760:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘FLAC__StreamEncoder_process_interleaved’:
flac/encoder_wrap.c:3642:9: warning: passing argument 1 of ‘FLAC__stream_encoder_process_interleaved’ from incompatible pointer type [enabled by default]
In file included from flac/encoder_wrap.c:3004:0:
/usr/include/FLAC/stream_encoder.h:1760:21: note: expected ‘struct FLAC__StreamEncoder *’ but argument is of type ‘struct FLAC__StreamEncoder *’
flac/encoder_wrap.c: In function ‘_wrap_StreamDecoder_protected__set’:
flac/encoder_wrap.c:3772:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamDecoder_protected__get’:
flac/encoder_wrap.c:3794:59: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamDecoder_private__set’:
flac/encoder_wrap.c:3824:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamDecoder_private__get’:
flac/encoder_wrap.c:3846:57: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_StreamDecoder’:
flac/encoder_wrap.c:3859:59: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamDecoder’
flac/encoder_wrap.c: In function ‘_wrap_StreamEncoder_protected__set’:
flac/encoder_wrap.c:3917:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamEncoder_protected__get’:
flac/encoder_wrap.c:3939:59: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamEncoder_private__set’:
flac/encoder_wrap.c:3969:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamEncoder_private__get’:
flac/encoder_wrap.c:3991:57: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_type_set’:
flac/encoder_wrap.c:5368:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_type_get’:
flac/encoder_wrap.c:5390:40: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_is_last_set’:
flac/encoder_wrap.c:5420:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_is_last_get’:
flac/encoder_wrap.c:5442:32: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_length_set’:
flac/encoder_wrap.c:5472:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_length_get’:
flac/encoder_wrap.c:5494:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Metadata_data_get’:
flac/encoder_wrap.c:5516:50: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_Metadata’:
flac/encoder_wrap.c:5529:60: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata’
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_min_blocksize_set’:
flac/encoder_wrap.c:6050:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_min_blocksize_get’:
flac/encoder_wrap.c:6072:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_max_blocksize_set’:
flac/encoder_wrap.c:6102:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_max_blocksize_get’:
flac/encoder_wrap.c:6124:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_min_framesize_set’:
flac/encoder_wrap.c:6154:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_min_framesize_get’:
flac/encoder_wrap.c:6176:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_max_framesize_set’:
flac/encoder_wrap.c:6206:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_max_framesize_get’:
flac/encoder_wrap.c:6228:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_sample_rate_set’:
flac/encoder_wrap.c:6258:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_sample_rate_get’:
flac/encoder_wrap.c:6280:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_channels_set’:
flac/encoder_wrap.c:6310:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_channels_get’:
flac/encoder_wrap.c:6332:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_bits_per_sample_set’:
flac/encoder_wrap.c:6362:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_bits_per_sample_get’:
flac/encoder_wrap.c:6384:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_total_samples_set’:
flac/encoder_wrap.c:6414:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_total_samples_get’:
flac/encoder_wrap.c:6436:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_md5sum_set’:
flac/encoder_wrap.c:6469:41: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_StreamInfo_md5sum_get’:
flac/encoder_wrap.c:6495:48: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_StreamInfo’:
flac/encoder_wrap.c:6508:71: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_StreamInfo’
flac/encoder_wrap.c: In function ‘_wrap_Padding_dummy_set’:
flac/encoder_wrap.c:6566:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Padding_dummy_get’:
flac/encoder_wrap.c:6588:25: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_Padding’:
flac/encoder_wrap.c:6601:68: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_Padding’
flac/encoder_wrap.c: In function ‘_wrap_Application_id_set’:
flac/encoder_wrap.c:6662:40: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Application_id_get’:
flac/encoder_wrap.c:6688:48: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Application_data_set’:
flac/encoder_wrap.c:6718:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Application_data_get’:
flac/encoder_wrap.c:6740:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_Application’:
flac/encoder_wrap.c:6753:72: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_Application’
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_sample_number_set’:
flac/encoder_wrap.c:6811:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_sample_number_get’:
flac/encoder_wrap.c:6833:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_stream_offset_set’:
flac/encoder_wrap.c:6863:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_stream_offset_get’:
flac/encoder_wrap.c:6885:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_frame_samples_set’:
flac/encoder_wrap.c:6915:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekPoint_frame_samples_get’:
flac/encoder_wrap.c:6937:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_SeekPoint’:
flac/encoder_wrap.c:6950:70: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_SeekPoint’
flac/encoder_wrap.c: In function ‘_wrap_SeekTable_num_points_set’:
flac/encoder_wrap.c:7008:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekTable_num_points_get’:
flac/encoder_wrap.c:7030:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekTable_points_set’:
flac/encoder_wrap.c:7060:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_SeekTable_points_get’:
flac/encoder_wrap.c:7082:54: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_SeekTable’:
flac/encoder_wrap.c:7095:70: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_SeekTable’
flac/encoder_wrap.c: In function ‘_wrap_VorbisCommentEntry_length_set’:
flac/encoder_wrap.c:7153:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisCommentEntry_length_get’:
flac/encoder_wrap.c:7175:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisCommentEntry_entry_set’:
flac/encoder_wrap.c:7205:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisCommentEntry_entry_get’:
flac/encoder_wrap.c:7227:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_VorbisCommentEntry’:
flac/encoder_wrap.c:7240:80: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_VorbisComment_Entry’
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_vendor_string_set’:
flac/encoder_wrap.c:7298:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_vendor_string_get’:
flac/encoder_wrap.c:7320:65: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_num_comments_set’:
flac/encoder_wrap.c:7352:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_num_comments_get’:
flac/encoder_wrap.c:7374:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_comments_set’:
flac/encoder_wrap.c:7404:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_VorbisComment_comments_get’:
flac/encoder_wrap.c:7426:64: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_VorbisComment’:
flac/encoder_wrap.c:7439:74: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_VorbisComment’
flac/encoder_wrap.c: In function ‘_wrap_CueSheetIndex_offset_set’:
flac/encoder_wrap.c:7497:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetIndex_offset_get’:
flac/encoder_wrap.c:7519:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetIndex_number_set’:
flac/encoder_wrap.c:7549:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetIndex_number_get’:
flac/encoder_wrap.c:7571:32: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_CueSheetIndex’:
flac/encoder_wrap.c:7584:75: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_CueSheet_Index’
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_offset_set’:
flac/encoder_wrap.c:7642:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_offset_get’:
flac/encoder_wrap.c:7664:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_number_set’:
flac/encoder_wrap.c:7694:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_number_get’:
flac/encoder_wrap.c:7716:32: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_isrc_set’:
flac/encoder_wrap.c:7746:24: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c:7747:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_isrc_get’:
flac/encoder_wrap.c:7769:36: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_type_set’:
flac/encoder_wrap.c:7805:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_type_get’:
flac/encoder_wrap.c:7827:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_pre_emphasis_set’:
flac/encoder_wrap.c:7857:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_pre_emphasis_get’:
flac/encoder_wrap.c:7879:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_num_indices_set’:
flac/encoder_wrap.c:7909:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_num_indices_get’:
flac/encoder_wrap.c:7931:32: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_indices_set’:
flac/encoder_wrap.c:7961:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheetTrack_indices_get’:
flac/encoder_wrap.c:7983:59: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_CueSheetTrack’:
flac/encoder_wrap.c:7996:75: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_CueSheet_Track’
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_media_catalog_number_set’:
flac/encoder_wrap.c:8054:24: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c:8055:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_media_catalog_number_get’:
flac/encoder_wrap.c:8077:36: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_lead_in_set’:
flac/encoder_wrap.c:8113:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_lead_in_get’:
flac/encoder_wrap.c:8135:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_is_cd_set’:
flac/encoder_wrap.c:8165:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_is_cd_get’:
flac/encoder_wrap.c:8187:32: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_num_tracks_set’:
flac/encoder_wrap.c:8217:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_num_tracks_get’:
flac/encoder_wrap.c:8239:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_tracks_set’:
flac/encoder_wrap.c:8269:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_CueSheet_tracks_get’:
flac/encoder_wrap.c:8291:59: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_CueSheet’:
flac/encoder_wrap.c:8304:69: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_CueSheet’
flac/encoder_wrap.c: In function ‘_wrap_Unknown_data_set’:
flac/encoder_wrap.c:8362:19: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_Unknown_data_get’:
flac/encoder_wrap.c:8384:34: error: dereferencing pointer to incomplete type
flac/encoder_wrap.c: In function ‘_wrap_new_Unknown’:
flac/encoder_wrap.c:8397:68: error: invalid application of ‘sizeof’ to incomplete type ‘struct FLAC__StreamMetadata_Unknown’
flac/encoder_wrap.c: In function ‘SWIG_InitializeModule’:
flac/encoder_wrap.c:8851:3: warning: statement with no effect [-Wunused-value]
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment