The build took 00h 00m 49s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
4,453 |
ansic |
4,453 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/SOURCES --> /sysroot/SOURCES
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/COPYING --> /sysroot/COPYING
/toolchain_root/COPYING3 --> /sysroot/COPYING3
/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: wavegain 1.3.1-2 (Tue Apr 4 21:59:30 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
cc1: error: no include path in which to search for stdc-predef.h
audio.c:29:20: error: no include path in which to search for stdlib.h
#include
^
audio.c:30:19: error: no include path in which to search for stdio.h
#include
^
audio.c:31:20: error: no include path in which to search for string.h
#include
^
audio.c:32:23: error: no include path in which to search for sys/types.h
#include
^
audio.c:33:18: error: no include path in which to search for math.h
#include
^
audio.c:39:22: error: no include path in which to search for sys/io.h
# include
^
audio.c:43:19: error: no include path in which to search for fcntl.h
#include
^
audio.c:46:20: error: no include path in which to search for malloc.h
#include
^
In file included from audio.c:53:0:
audio.h:32:19: error: no include path in which to search for stdio.h
#include
^
In file included from audio.c:53:0:
audio.h:81:2: error: unknown type name 'FILE'
FILE *out;
^
audio.h:89:20: error: unknown type name 'FILE'
int (*open_func)(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:111:2: error: unknown type name 'FILE'
FILE *f;
^
audio.h:126:31: error: unknown type name 'FILE'
input_format *open_audio_file(FILE *in, wavegain_opt *opt);
^
audio.h:128:14: error: unknown type name 'FILE'
int raw_open(FILE *in, wavegain_opt *opt);
^
audio.h:129:14: error: unknown type name 'FILE'
int wav_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:130:15: error: unknown type name 'FILE'
int aiff_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:154:2: error: unknown type name 'FILE'
FILE *sndfile;
^
audio.h:165:23: error: unknown type name 'FILE'
void close_audio_file(FILE *in, audio_file *aufile, wavegain_opt *opt);
^
audio.c:94:15: error: 'wav_open' undeclared here (not in a function)
{wav_id, 12, wav_open, wav_close, "wav", N_("WAV file reader")},
^
audio.c:94:2: warning: initialization from incompatible pointer type [enabled by default]
{wav_id, 12, wav_open, wav_close, "wav", N_("WAV file reader")},
^
audio.c:94:2: warning: (near initialization for 'formats[0].format') [enabled by default]
audio.c:94:2: warning: excess elements in struct initializer [enabled by default]
audio.c:94:2: warning: (near initialization for 'formats[0]') [enabled by default]
audio.c:95:16: error: 'aiff_open' undeclared here (not in a function)
{aiff_id, 12, aiff_open, wav_close, "aiff", N_("AIFF/AIFC file reader")},
^
audio.c:95:2: warning: initialization from incompatible pointer type [enabled by default]
{aiff_id, 12, aiff_open, wav_close, "aiff", N_("AIFF/AIFC file reader")},
^
audio.c:95:2: warning: (near initialization for 'formats[1].format') [enabled by default]
audio.c:95:2: warning: excess elements in struct initializer [enabled by default]
audio.c:95:2: warning: (near initialization for 'formats[1]') [enabled by default]
audio.c:96:3: error: 'NULL' undeclared here (not in a function)
{NULL, 0, NULL, NULL, NULL, NULL}
^
audio.c:96:2: warning: excess elements in struct initializer [enabled by default]
{NULL, 0, NULL, NULL, NULL, NULL}
^
audio.c:96:2: warning: (near initialization for 'formats[2]') [enabled by default]
audio.c: In function 'write_d64_be':
audio.c:225:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset (out, 0, sizeof (double));
^
audio.c:235:7: warning: incompatible implicit declaration of built-in function 'frexp' [enabled by default]
in = frexp (in, &exponent);
^
audio.c:243:20: warning: incompatible implicit declaration of built-in function 'floor' [enabled by default]
mantissa = lrint (floor (in));
^
audio.c:250:7: warning: incompatible implicit declaration of built-in function 'fmod' [enabled by default]
in = fmod (in, 1.0);
^
audio.c: In function 'write_d64_le':
audio.c:265:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset (out, 0, sizeof (double));
^
audio.c:275:7: warning: incompatible implicit declaration of built-in function 'frexp' [enabled by default]
in = frexp (in, &exponent);
^
audio.c:283:20: warning: incompatible implicit declaration of built-in function 'floor' [enabled by default]
mantissa = lrint (floor (in));
^
audio.c:290:7: warning: incompatible implicit declaration of built-in function 'fmod' [enabled by default]
in = fmod (in, 1.0);
^
audio.c: At top level:
audio.c:301:31: error: unknown type name 'FILE'
input_format *open_audio_file(FILE *in, wavegain_opt *opt)
^
audio.c:341:25: error: unknown type name 'FILE'
static int seek_forward(FILE *in, Int64_t length)
^
audio.c:359:27: error: unknown type name 'FILE'
static int find_wav_chunk(FILE *in, char *type, Int64_t *len)
^
audio.c:385:28: error: unknown type name 'FILE'
static int find_gain_chunk(FILE *in, Int64_t *len)
^
audio.c:404:28: error: unknown type name 'FILE'
static int find_aiff_chunk(FILE *in, char *type, unsigned int *len)
^
audio.c: In function 'read_IEEE80':
audio.c:441:11: error: 'HUGE_VAL' undeclared (first use in this function)
return HUGE_VAL; /* Really NaN, but this won't happen in reality */
^
audio.c:441:11: note: each undeclared identifier is reported only once for each function it appears in
audio.c:441:4: error: incompatible types when returning type 'struct input_format *' but 'double' was expected
return HUGE_VAL; /* Really NaN, but this won't happen in reality */
^
audio.c:444:12: error: wrong type argument to unary minus
return -HUGE_VAL;
^
audio.c:444:5: error: incompatible types when returning type 'struct input_format *' but 'double' was expected
return -HUGE_VAL;
^
audio.c:446:5: error: incompatible types when returning type 'struct input_format *' but 'double' was expected
return HUGE_VAL;
^
audio.c:450:6: warning: incompatible implicit declaration of built-in function 'ldexp' [enabled by default]
f = ldexp(f, 32);
^
audio.c: At top level:
audio.c:476:15: error: unknown type name 'FILE'
int aiff_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen)
^
audio.c:605:14: error: unknown type name 'FILE'
int wav_open(FILE *in, wavegain_opt *opt, unsigned char *oldbuf, int buflen)
^
audio.c: In function 'wav_read':
audio.c:783:21: warning: incompatible implicit declaration of built-in function 'alloca' [enabled by default]
signed char *buf = alloca(samples*sampbyte*f->channels);
^
audio.c:791:24: error: 'SEEK_SET' undeclared (first use in this function)
FSEEK64(f->f, chunk, SEEK_SET);
^
audio.c:845:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Big endian 24 bit PCM data is not currently "
^
audio.c:845:12: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Big endian 24 bit PCM data is not currently "
^
audio.c:866:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Big endian 32 bit PCM data is not currently "
^
audio.c:872:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Internal error: attempt to read unsupported "
^
audio.c: In function 'wav_ieee_read':
audio.c:883:15: warning: incompatible implicit declaration of built-in function 'alloca' [enabled by default]
float *buf = alloca(samples * 4 * f->channels); /* de-interleave buffer */
^
audio.c:891:24: error: 'SEEK_SET' undeclared (first use in this function)
FSEEK64(f->f, chunk, SEEK_SET);
^
audio.c: In function 'wav_close':
audio.c:913:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(f);
^
audio.c: At top level:
audio.c:916:14: error: unknown type name 'FILE'
int raw_open(FILE *in, wavegain_opt *opt)
^
audio.c: In function 'open_output_audio_file':
audio.c:947:23: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
audio_file *aufile = malloc(sizeof(audio_file));
^
audio.c:958:21: error: 'stdout' undeclared (first use in this function)
aufile->sndfile = stdout;
^
audio.c:958:19: warning: assignment from incompatible pointer type [enabled by default]
aufile->sndfile = stdout;
^
audio.c:964:19: warning: assignment makes pointer from integer without a cast [enabled by default]
aufile->sndfile = fopen(infile, "wb");
^
audio.c:966:22: warning: comparison of distinct pointer types lacks a cast [enabled by default]
if (aufile->sndfile == NULL) {
^
audio.c:968:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(aufile);
^
audio.c:969:3: warning: return from incompatible pointer type [enabled by default]
return NULL;
^
audio.c: At top level:
audio.c:1011:24: error: unknown type name 'FILE'
void close_audio_file( FILE *in, audio_file *aufile, wavegain_opt *opt)
^
audio.c: In function 'write_wav_header':
audio.c:1145:12: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
if ((q = malloc(sizeof(char) * (opt->header_size + 16))) == NULL)
^
audio.c:1145:60: warning: comparison of distinct pointer types lacks a cast [enabled by default]
if ((q = malloc(sizeof(char) * (opt->header_size + 16))) == NULL)
^
audio.c:1146:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Error: unable to allocate memory for header\n");
^
audio.c:1146:12: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Error: unable to allocate memory for header\n");
^
audio.c:1149:4: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
memcpy(r, opt->header, p - opt->header);
^
audio.c:1160:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
memcpy(r, p, (opt->header_size - (p - opt->header)));
^
audio.c:1167:4: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
fwrite(q, opt->header_size + 16, 1, aufile->sndfile);
^
audio.c:1171:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if(q) free(q);
^
audio.c:1179:4: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
fwrite(opt->header, opt->header_size, 1, aufile->sndfile);
^
audio.c: In function 'write_aiff_header':
audio.c:1292:9: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
return fwrite(header, sizeof(header), 1, aufile->sndfile);
^
audio.c: In function 'write_audio_8bit':
audio.c:1300:27: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
unsigned char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
^
audio.c:1307:8: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
ret = fwrite(data, samples*aufile->bits_per_sample/8, 1, aufile->sndfile);
^
audio.c:1310:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(data);
^
audio.c: In function 'write_audio_16bit':
audio.c:1320:23: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
^
audio.c:1341:8: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
ret = fwrite(data, samples*aufile->bits_per_sample/8, 1, aufile->sndfile);
^
audio.c:1344:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(data);
^
audio.c: In function 'write_audio_24bit':
audio.c:1354:23: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
^
audio.c:1364:8: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
ret = fwrite(data, samples*aufile->bits_per_sample/8, 1, aufile->sndfile);
^
audio.c:1367:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(data);
^
audio.c: In function 'write_audio_32bit':
audio.c:1377:23: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
^
audio.c:1388:8: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
ret = fwrite(data, samples*aufile->bits_per_sample/8, 1, aufile->sndfile);
^
audio.c:1391:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(data);
^
audio.c: In function 'write_audio_float':
audio.c:1401:24: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
unsigned char *data = malloc(samples*aufile->bits_per_sample*sizeof(char)/8);
^
audio.c:1422:15: warning: incompatible implicit declaration of built-in function 'frexp' [enabled by default]
in = (float)frexp(in, &exponent);
^
audio.c:1439:8: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
ret = fwrite(data, samples*aufile->bits_per_sample/8, 1, aufile->sndfile);
^
audio.c:1442:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(data);
^
cc1: error: no include path in which to search for stdc-predef.h
dither.c:11:20: error: no include path in which to search for string.h
#include
^
dither.c: In function 'Init_Dither':
dither.c:174:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset ( Dither.ErrorHistory , 0, sizeof (Dither.ErrorHistory ) );
^
cc1: error: no include path in which to search for stdc-predef.h
gain_analysis.c:95:19: error: no include path in which to search for stdio.h
#include
^
gain_analysis.c:96:20: error: no include path in which to search for stdlib.h
#include
^
gain_analysis.c:97:20: error: no include path in which to search for string.h
#include
^
gain_analysis.c:98:18: error: no include path in which to search for math.h
#include
^
In file included from gain_analysis.c:105:0:
gain_analysis.h:31:20: error: no include path in which to search for stddef.h
#include
^
gain_analysis.h:47:87: error: unknown type name 'size_t'
int AnalyzeSamples ( const Float_t* left_samples, const Float_t* right_samples, size_t num_samples, int num_channels );
^
gain_analysis.c:123:34: error: 'size_t' undeclared here (not in a function)
#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME + 1) // max. Samples per Time slice
^
gain_analysis.c:128:29: note: in expansion of macro 'MAX_SAMPLES_PER_WINDOW'
Float_t lstepbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER];
^
gain_analysis.c:236:51: error: expected declaration specifiers or '...' before 'size_t'
filterYule(const Float_t* input, Float_t* output, size_t nSamples, const Float_t* kernel)
^
gain_analysis.c:316:53: error: expected declaration specifiers or '...' before 'size_t'
filterButter(const Float_t* input, Float_t* output, size_t nSamples, const Float_t* kernel)
^
gain_analysis.c: In function 'ResetSampleFrequency':
gain_analysis.c:377:26: warning: incompatible implicit declaration of built-in function 'ceil' [enabled by default]
sampleWindow = (int) ceil (samplefreq * RMS_WINDOW_TIME);
^
gain_analysis.c:386:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset ( A, 0, sizeof(A) );
^
gain_analysis.c: In function 'InitGainAnalysis':
gain_analysis.c:405:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset ( B, 0, sizeof(B) );
^
gain_analysis.c: At top level:
gain_analysis.c:417:77: error: expected declaration specifiers or '...' before 'size_t'
AnalyzeSamples ( const Float_t* left_samples, const Float_t* right_samples, size_t num_samples, int num_channels )
^
gain_analysis.c:632:34: error: expected declaration specifiers or '...' before 'size_t'
analyzeResult ( Uint32_t* Array, size_t len )
^
cc1: error: no include path in which to search for stdc-predef.h
getopt.c:42:19: error: no include path in which to search for stdio.h
#include
^
getopt.c:201:20: error: no include path in which to search for string.h
#include
^
getopt.c: In function '_getopt_initialize':
getopt.c:397:14: error: 'NULL' undeclared (first use in this function)
nextchar = NULL;
^
getopt.c:397:14: note: each undeclared identifier is reported only once for each function it appears in
getopt.c: In function '_getopt_internal':
getopt.c:516:12: error: 'NULL' undeclared (first use in this function)
optarg = NULL;
^
getopt.c:651:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
== (unsigned int) strlen (p->name))
^
getopt.c:673:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
^
getopt.c:673:15: error: 'stderr' undeclared (first use in this function)
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
^
getopt.c:675:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:697:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr,
^
getopt.c:707:17: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:720:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr,
^
getopt.c:723:17: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:728:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:750:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("%s: unrecognized option `--%s'\n"),
^
getopt.c:780:8: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("%s: illegal option -- %c\n"),
^
getopt.c:813:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
^
getopt.c:839:51: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
if ((unsigned int) (nameend - nextchar) == strlen (p->name))
^
getopt.c:860:8: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
^
getopt.c:862:18: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:878:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, _("\
^
getopt.c:882:19: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:893:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr,
^
getopt.c:896:19: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:900:18: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
nextchar += strlen (nextchar);
^
getopt.c:942:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr,
^
cc1: error: no include path in which to search for stdc-predef.h
getopt1.c:35:19: error: no include path in which to search for stdio.h
#include
^
cc1: error: no include path in which to search for stdc-predef.h
main.c:19:19: error: no include path in which to search for ctype.h
#include
^
main.c:21:19: error: no include path in which to search for stdio.h
#include
^
main.c:22:20: error: no include path in which to search for stdlib.h
#include
^
main.c:23:20: error: no include path in which to search for string.h
#include
^
main.c:24:18: error: no include path in which to search for math.h
#include
^
In file included from main.c:26:0:
gain_analysis.h:31:20: error: no include path in which to search for stddef.h
#include
^
gain_analysis.h:47:87: error: unknown type name 'size_t'
int AnalyzeSamples ( const Float_t* left_samples, const Float_t* right_samples, size_t num_samples, int num_channels );
^
In file included from main.c:28:0:
audio.h:32:19: error: no include path in which to search for stdio.h
#include
^
In file included from main.c:28:0:
audio.h:81:2: error: unknown type name 'FILE'
FILE *out;
^
audio.h:89:20: error: unknown type name 'FILE'
int (*open_func)(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:111:2: error: unknown type name 'FILE'
FILE *f;
^
audio.h:126:31: error: unknown type name 'FILE'
input_format *open_audio_file(FILE *in, wavegain_opt *opt);
^
audio.h:128:14: error: unknown type name 'FILE'
int raw_open(FILE *in, wavegain_opt *opt);
^
audio.h:129:14: error: unknown type name 'FILE'
int wav_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:130:15: error: unknown type name 'FILE'
int aiff_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:154:2: error: unknown type name 'FILE'
FILE *sndfile;
^
audio.h:165:23: error: unknown type name 'FILE'
void close_audio_file(FILE *in, audio_file *aufile, wavegain_opt *opt);
^
main.c: In function 'alloc_node':
main.c:67:9: warning: incompatible implicit declaration of built-in function 'calloc' [enabled by default]
node = calloc(1, sizeof(*node));
^
main.c:69:14: error: 'NULL' undeclared (first use in this function)
if (node != NULL) {
^
main.c:69:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:70:20: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
node->filename = strdup(file);
^
main.c:81:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(node);
^
main.c:84:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("Out of memory\n"));
^
main.c:84:10: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, _("Out of memory\n"));
^
main.c: In function 'add_to_list':
main.c:103:15: error: 'NULL' undeclared (first use in this function)
if (*list == NULL) {
^
main.c: In function 'free_list':
main.c:135:17: error: 'NULL' undeclared (first use in this function)
while (list != NULL) {
^
main.c:137:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free((void *) list->filename);
^
main.c: In function 'ftos':
main.c:146:2: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default]
sprintf(s_floatToAscii, format, f);
^
main.c: In function 'process_files':
main.c:173:19: error: 'NULL' undeclared (first use in this function)
if (file_list == NULL)
^
main.c:184:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Error processing GAIN for file - %s\n", file->filename);
^
main.c:184:13: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, " Error processing GAIN for file - %s\n", file->filename);
^
main.c:216:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " ********************* Album DC Offset | %4d | %4d | ***************\n",
^
main.c:224:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "\n");
^
main.c:230:12: warning: incompatible implicit declaration of built-in function 'pow' [enabled by default]
scale = pow(10., Gain * 0.05);
^
main.c:241:13: error: 'stdout' undeclared (first use in this function)
fprintf(stdout, "%8.6lf", scale);
^
main.c:245:16: warning: incompatible implicit declaration of built-in function 'log10' [enabled by default]
dB = 20. * log10(scale);
^
main.c:283:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "\n WaveGain Processing completed normally\n");
^
main.c: In function 'usage':
main.c:349:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stdout, _("WaveGain v" WAVEGAIN_VERSION " Compiled " __DATE__ ".\n"));
^
main.c:349:10: error: 'stdout' undeclared (first use in this function)
fprintf(stdout, _("WaveGain v" WAVEGAIN_VERSION " Compiled " __DATE__ ".\n"));
^
main.c: At top level:
main.c:441:14: error: 'NULL' undeclared here (not in a function)
{"help", 0, NULL, 'h'},
^
main.c: In function 'main':
main.c:489:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset(&settings, 0, sizeof(settings));
^
main.c:517:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Internal error parsing command line options\n");
^
main.c:517:14: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Internal error parsing command line options\n");
^
main.c:517:6: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
fprintf(stderr, "Internal error parsing command line options\n");
^
main.c:517:6: note: expected 'void *' but argument is of type 'const struct option *'
main.c:518:6: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(1);
^
main.c:523:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(0);
^
main.c:567:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
strcpy(log_file_name, LOG_NAME);
^
main.c:580:11: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default]
if(sscanf(optarg, "%d", &settings.shapingtype) != 1) {
^
main.c:581:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: dither type %s not recognised, using default\n", optarg);
^
main.c:581:10: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
main.c:581:10: note: expected 'void *' but argument is of type 'const struct option *'
main.c:600:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: manual gain %s not recognised, ignoring\n", optarg);
^
main.c:600:10: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
main.c:600:10: note: expected 'void *' but argument is of type 'const struct option *'
main.c:604:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: manual gain %s is out of range, "
^
main.c:605:23: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
"applying gain of -20.0dB\n", optarg);
^
main.c:605:23: note: expected 'void *' but argument is of type 'const struct option *'
main.c:609:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: manual gain %s is out of range, "
^
main.c:610:23: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
"applying gain of +12.0dB\n", optarg);
^
main.c:610:23: note: expected 'void *' but argument is of type 'const struct option *'
main.c:617:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: output format %s not recognised, using default\n", optarg);
^
main.c:617:10: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
main.c:617:10: note: expected 'void *' but argument is of type 'const struct option *'
main.c:651:10: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Warning: output format %s not recognised, using default\n", optarg);
^
main.c:651:10: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
main.c:651:10: note: expected 'void *' but argument is of type 'const struct option *'
main.c:693:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("No files specified.\n"));
^
main.c:693:3: warning: passing argument 1 of 'fprintf' discards 'const' qualifier from pointer target type [enabled by default]
main.c:693:3: note: expected 'void *' but argument is of type 'const struct option *'
main.c:695:10: error: 'EXIT_SUCCESS' undeclared (first use in this function)
return EXIT_SUCCESS;
^
main.c:695:3: warning: return makes integer from pointer without a cast [enabled by default]
return EXIT_SUCCESS;
^
main.c:718:12: error: 'EXIT_FAILURE' undeclared (first use in this function)
return EXIT_FAILURE;
^
main.c:718:5: warning: return makes integer from pointer without a cast [enabled by default]
return EXIT_FAILURE;
^
main.c:729:22: warning: assignment from incompatible pointer type [enabled by default]
settings.file_list = NULL;
^
main.c:730:21: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (settings.cmd) free(settings.cmd);
^
main.c:731:16: warning: assignment from incompatible pointer type [enabled by default]
settings.cmd = NULL;
^
main.c:734:2: warning: return makes integer from pointer without a cast [enabled by default]
return (ret < 0) ? EXIT_FAILURE : EXIT_SUCCESS;
^
cc1: error: no include path in which to search for stdc-predef.h
misc.c:9:20: error: no include path in which to search for stdarg.h
#include
^
misc.c:10:19: error: no include path in which to search for stdio.h
#include
^
misc.c:11:20: error: no include path in which to search for stdlib.h
#include
^
misc.c:12:20: error: no include path in which to search for string.h
#include
^
misc.c:18:19: error: no include path in which to search for errno.h
#include
^
misc.c:19:19: error: no include path in which to search for ctype.h
#include
^
misc.c: In function 'file_error':
misc.c:35:16: error: 'errno' undeclared (first use in this function)
int err_num = errno;
^
misc.c:35:16: note: each undeclared identifier is reported only once for each function it appears in
misc.c:36:2: error: unknown type name 'va_list'
va_list args;
^
misc.c:39:11: error: 'stderr' undeclared (first use in this function)
vfprintf(stderr, message, args);
^
misc.c:42:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, strerror(err_num));
^
misc.c:42:2: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [enabled by default]
misc.c:42:2: note: expected 'const char *' but argument is of type 'int'
misc.c: In function 'last_path':
misc.c:60:11: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
for (i = strlen(path) - 1; i >= 0; i--) {
^
misc.c: In function 'write_log':
misc.c:75:2: error: unknown type name 'va_list'
va_list ap;
^
misc.c:76:2: error: unknown type name 'FILE'
FILE *fp;
^
misc.c:83:6: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
if (strlen(fmt) > 750)
^
misc.c:84:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default]
sprintf(msgbuf, "%s %s", " ", fmt);
^
misc.c:90:10: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((fp = fopen(log_file_name, "a")) == (FILE *)NULL)
^
misc.c:90:43: error: 'FILE' undeclared (first use in this function)
if ((fp = fopen(log_file_name, "a")) == (FILE *)NULL)
^
misc.c:90:49: error: expected expression before ')' token
if ((fp = fopen(log_file_name, "a")) == (FILE *)NULL)
^
misc.c:93:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(fp, "%s", msgbuf);
^
cc1: error: no include path in which to search for stdc-predef.h
recurse.c:15:19: error: no include path in which to search for stdio.h
#include
^
recurse.c:16:20: error: no include path in which to search for string.h
#include
^
recurse.c:17:20: error: no include path in which to search for stdlib.h
#include
^
recurse.c:18:19: error: no include path in which to search for errno.h
#include
^
recurse.c:19:22: error: no include path in which to search for sys/stat.h
#include
^
recurse.c:20:23: error: no include path in which to search for sys/types.h
#include
^
recurse.c:25:20: error: no include path in which to search for dirent.h
#include
^
recurse.c:26:20: error: no include path in which to search for unistd.h
#include
^
recurse.c:53:2: error: unknown type name 'DIR'
DIR* dir;
^
recurse.c: In function 'is_dir':
recurse.c:69:14: error: storage size of 'stat_buf' isn't known
struct stat stat_buf;
^
recurse.c:76:29: error: 'S_IFDIR' undeclared (first use in this function)
return (stat_buf.st_mode & S_IFDIR) ? 1 : 0;
^
recurse.c:76:29: note: each undeclared identifier is reported only once for each function it appears in
recurse.c: In function 'match':
recurse.c:152:29: error: 'NULL' undeclared (first use in this function)
const char* last_pattern = NULL;
^
recurse.c: In function 'open_dir':
recurse.c:329:25: warning: incompatible implicit declaration of built-in function 'calloc' [enabled by default]
result = (DIRECTORY *) calloc(1, sizeof(DIRECTORY));
^
recurse.c:331:16: error: 'NULL' undeclared (first use in this function)
if (result != NULL) {
^
recurse.c:333:15: warning: assignment makes pointer from integer without a cast [enabled by default]
result->dir = opendir(".");
^
recurse.c:336:18: warning: assignment makes pointer from integer without a cast [enabled by default]
result->entry = readdir(result->dir);
^
recurse.c:339:33: error: dereferencing pointer to incomplete type
result->name = result->entry->d_name;
^
recurse.c:346:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(result);
^
recurse.c:351:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("Out of memory\n"));
^
recurse.c:351:10: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, _("Out of memory\n"));
^
recurse.c: In function 'read_dir':
recurse.c:366:19: warning: assignment makes pointer from integer without a cast [enabled by default]
directory->entry = readdir(directory->dir);
^
recurse.c:368:26: error: 'NULL' undeclared (first use in this function)
if (directory->entry != NULL) {
^
recurse.c:369:37: error: dereferencing pointer to incomplete type
directory->name = directory->entry->d_name;
^
recurse.c:374:27: error: 'errno' undeclared (first use in this function)
directory->read_error = (errno != 0);
^
recurse.c: In function 'close_dir':
recurse.c:397:19: error: 'NULL' undeclared (first use in this function)
if (directory != NULL) {
^
recurse.c:403:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(directory);
^
recurse.c: In function 'process_directory':
recurse.c:433:20: error: 'NULL' undeclared (first use in this function)
old_path = getcwd(NULL, 1024);
^
recurse.c:440:14: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
full_path = malloc(strlen(current) + strlen(path) + 2);
^
recurse.c:440:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
full_path = malloc(strlen(current) + strlen(path) + 2);
^
recurse.c:443:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(old_path);
^
recurse.c:444:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("Out of memory"));
^
recurse.c:444:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, _("Out of memory"));
^
recurse.c:448:2: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
strcpy(full_path, current);
^
recurse.c:451:3: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default]
strcat(full_path, PATH_SEPARATOR);
^
recurse.c:494:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("\nProcessing directory '%s':\n"), full_path);
^
recurse.c:509:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(old_path);
^
recurse.c: In function 'process_argument':
recurse.c:528:17: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
char* buffer = strdup(path);
^
recurse.c:534:16: error: 'NULL' undeclared (first use in this function)
if (buffer == NULL) {
^
recurse.c:535:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("Out of memory\n"));
^
recurse.c:535:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, _("Out of memory\n"));
^
recurse.c:556:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
my_path_len = strlen(my_path);
^
recurse.c:581:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, _("'%s' is a file, not a folder\n"), my_path);
^
recurse.c:588:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(buffer);
^
cc1: error: no include path in which to search for stdc-predef.h
wavegain.c:19:19: error: no include path in which to search for stdio.h
#include
^
wavegain.c:20:20: error: no include path in which to search for stdlib.h
#include
^
wavegain.c:21:18: error: no include path in which to search for math.h
#include
^
wavegain.c:22:20: error: no include path in which to search for string.h
#include
^
wavegain.c:23:18: error: no include path in which to search for time.h
#include
^
wavegain.c:24:19: error: no include path in which to search for ctype.h
#include
^
wavegain.c:31:22: error: no include path in which to search for sys/io.h
# include
^
wavegain.c:35:19: error: no include path in which to search for fcntl.h
#include
^
wavegain.c:38:20: error: no include path in which to search for malloc.h
#include
^
In file included from wavegain.c:41:0:
gain_analysis.h:31:20: error: no include path in which to search for stddef.h
#include
^
gain_analysis.h:47:87: error: unknown type name 'size_t'
int AnalyzeSamples ( const Float_t* left_samples, const Float_t* right_samples, size_t num_samples, int num_channels );
^
In file included from wavegain.c:45:0:
audio.h:32:19: error: no include path in which to search for stdio.h
#include
^
audio.h:81:2: error: unknown type name 'FILE'
FILE *out;
^
audio.h:89:20: error: unknown type name 'FILE'
int (*open_func)(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:111:2: error: unknown type name 'FILE'
FILE *f;
^
audio.h:126:31: error: unknown type name 'FILE'
input_format *open_audio_file(FILE *in, wavegain_opt *opt);
^
audio.h:128:14: error: unknown type name 'FILE'
int raw_open(FILE *in, wavegain_opt *opt);
^
audio.h:129:14: error: unknown type name 'FILE'
int wav_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:130:15: error: unknown type name 'FILE'
int aiff_open(FILE *in, wavegain_opt *opt, unsigned char *buf, int buflen);
^
audio.h:154:2: error: unknown type name 'FILE'
FILE *sndfile;
^
audio.h:165:23: error: unknown type name 'FILE'
void close_audio_file(FILE *in, audio_file *aufile, wavegain_opt *opt);
^
wavegain.c: In function 'get_gain':
wavegain.c:133:26: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
wavegain_opt *wg_opts = malloc(sizeof(wavegain_opt));
^
wavegain.c:134:2: error: unknown type name 'FILE'
FILE *infile;
^
wavegain.c:145:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset(wg_opts, 0, sizeof(wavegain_opt));
^
wavegain.c:150:12: error: 'stdin' undeclared (first use in this function)
infile = stdin;
^
wavegain.c:150:12: note: each undeclared identifier is reported only once for each function it appears in
wavegain.c:158:10: warning: assignment makes pointer from integer without a cast [enabled by default]
infile = fopen(filename, "rb");
^
wavegain.c:160:16: error: 'NULL' undeclared (first use in this function)
if (infile == NULL) {
^
wavegain.c:161:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Not able to open input file %s.\n", filename) ;
^
wavegain.c:161:12: error: 'stderr' undeclared (first use in this function)
fprintf (stderr, " Not able to open input file %s.\n", filename) ;
^
wavegain.c:170:9: warning: assignment makes pointer from integer without a cast [enabled by default]
format = open_audio_file(infile, wg_opts);
^
wavegain.c:173:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Unrecognized file format for %s.\n", filename);
^
wavegain.c:178:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Skipping File %s, it has already been processed.\n", filename);
^
wavegain.c:184:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Unsupported number of channels.\n");
^
wavegain.c:191:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Error Initializing Gain Analysis (non-standard samplerate?)\n");
^
wavegain.c:198:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "\n Analyzing...\n\n");
^
wavegain.c:251:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Error processing samples.\n");
^
wavegain.c:253:23: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (buffer[i]) free(buffer[i]);
^
wavegain.c:261:19: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (buffer[i]) free(buffer[i]);
^
wavegain.c:300:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Error processing samples.\n");
^
wavegain.c:302:23: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (buffer[i]) free(buffer[i]);
^
wavegain.c:311:19: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (buffer[i]) free(buffer[i]);
^
wavegain.c:314:15: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (buffer) free(buffer);
^
wavegain.c:320:11: warning: incompatible implicit declaration of built-in function 'pow' [enabled by default]
scale = (pow(10., *track_gain * 0.05));
^
wavegain.c:331:20: warning: incompatible implicit declaration of built-in function 'log10' [enabled by default]
dB = 20. * log10(scale);
^
wavegain.c:344:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " %+6.2lf dB | %6.0lf | %5.2lf | %8.0lf | %4d | %4d | %s\n",
^
wavegain.c:352:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stdout, "%8.6lf", scale);
^
wavegain.c:352:11: error: 'stdout' undeclared (first use in this function)
fprintf(stdout, "%8.6lf", scale);
^
wavegain.c:362:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(wg_opts);
^
wavegain.c: In function 'write_gains':
wavegain.c:376:26: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
wavegain_opt *wg_opts = malloc(sizeof(wavegain_opt));
^
wavegain.c:377:2: error: unknown type name 'FILE'
FILE *infile;
^
wavegain.c:394:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
memset(wg_opts, 0, sizeof(wavegain_opt));
^
wavegain.c:399:9: warning: assignment makes pointer from integer without a cast [enabled by default]
infile = fopen(filename, "rb");
^
wavegain.c:401:16: error: 'NULL' undeclared (first use in this function)
if (infile == NULL) {
^
wavegain.c:402:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Not able to open input file %s.\n", filename) ;
^
wavegain.c:402:12: error: 'stderr' undeclared (first use in this function)
fprintf (stderr, " Not able to open input file %s.\n", filename) ;
^
wavegain.c:412:9: warning: assignment makes pointer from integer without a cast [enabled by default]
format = open_audio_file(infile, wg_opts);
^
wavegain.c:416:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(wg_opts);
^
wavegain.c:419:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Unrecognized file format for %s.\n", filename) ;
^
wavegain.c:424:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(wg_opts);
^
wavegain.c:426:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Skipping file: %s - 'gain' chunk not found.\n", filename);
^
wavegain.c:435:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(wg_opts);
^
wavegain.c:437:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " Skipping file: %s - Gain already undone.\n", filename);
^
wavegain.c:531:3: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
snprintf(tempSerial, 6, "%d", serial);
^
wavegain.c:532:3: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
strncpy(tempName, TEMP_NAME, 17);
^
wavegain.c:533:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("tempName=%s tempSerial=%s\n", tempName, tempSerial);
^
wavegain.c:534:3: warning: incompatible implicit declaration of built-in function 'strncat' [enabled by default]
strncat(tempName, tempSerial, 6);
^
wavegain.c:539:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf (stderr, " Not able to open output file %s.\n", TEMP_NAME);
^
wavegain.c:548:24: warning: incompatible implicit declaration of built-in function 'log10' [enabled by default]
Gain = 20. * log10(scale);
^
wavegain.c:557:12: warning: incompatible implicit declaration of built-in function 'pow' [enabled by default]
scale = pow(10., Gain * 0.05);
^
wavegain.c:561:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, " \r");
^
wavegain.c:618:21: warning: incompatible implicit declaration of built-in function 'tanh' [enabled by default]
pcm[k][j] = tanh((pcm[k][j] + 0.5) / (1-0.5)) * (1-0.5) - 0.5;
^
wavegain.c:647:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(sample_buffer);
^
wavegain.c:651:16: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
if (pcm[i]) free(pcm[i]);
^
==> ERROR: A failure occurred in build().
Aborting...