=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for amp-0.7.6nb1 cc -c dump.c cc -c formats.c formats.c:63:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(0); ^ formats.c:63:2: note: please include the header or explicitly provide a declaration for 'exit' 1 warning generated. cc -c getbits.c getbits.c:58:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' memcpy (buffer,&buffer[BUFFER_SIZE], overflow); ^ getbits.c:58:3: note: please include the header or explicitly provide a declaration for 'memcpy' getbits.c:241:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return GETHDR_ERR; ^ getbits.c:263:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else return GETHDR_ERR; ^ 3 warnings generated. cc -c huffman.c huffman.c:68:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit (-1); ^ huffman.c:68:4: note: please include the header or explicitly provide a declaration for 'exit' 1 warning generated. cc -c layer3.c layer3.c:80:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ layer3.c:118:28: warning: implicit declaration of function 'requantize_downmix' is invalid in C99 [-Wimplicit-function-declaration] if (A_DOWNMIX && nch==2) requantize_downmix(gr,&info,header); ^ 2 warnings generated. cc -c getdata.c getdata.c:202:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 1 warning generated. cc -c misc2.c misc2.c:208:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else for (window=0;window<3;window++) ^ misc2.c:364:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:401:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:445:49: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ misc2.c:560:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* MPEG2 */ ^ 5 warnings generated. cc -c transform.c cc -c audio.c audio.c:108:2: warning: implicit declaration of function 'show_header' is invalid in C99 [-Wimplicit-function-declaration] show_header(&header); ^ audio.c:217:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(0); ^ audio.c:217:2: note: please include the header or explicitly provide a declaration for 'exit' audio.c:228:2: warning: implicit declaration of function 'calculate_t43' is invalid in C99 [-Wimplicit-function-declaration] calculate_t43(); ^ audio.c:273:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ audio.c:284:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 5 warnings generated. cc -c args.c cc -c buffer.c buffer.c:193:32: error: use of undeclared identifier 'AUSIZ' if (bufferSize(&audioBuffer)=AUSIZ) && !inputFinished) ^ buffer.c:231:9: error: use of undeclared identifier 'AUSIZ' if (AUSIZ>bytesToEnd) { ^ buffer.c:233:47: error: use of undeclared identifier 'AUSIZ' cnt += audioWrite(audioBuffer.bufferPtr, AUSIZ - bytesToEnd); ^ buffer.c:234:27: error: use of undeclared identifier 'AUSIZ' audioBuffer.outPos = AUSIZ - bytesToEnd; ^ buffer.c:236:67: error: use of undeclared identifier 'AUSIZ' cnt = audioWrite(audioBuffer.bufferPtr + audioBuffer.outPos, AUSIZ); ^ buffer.c:237:28: error: use of undeclared identifier 'AUSIZ' audioBuffer.outPos += AUSIZ; ^ buffer.c:243:76: error: use of undeclared identifier 'AUSIZ' cnt = read(inFd, audioBuffer.bufferPtr + audioBuffer.inPos, MIN(AUSIZ, AUDIO_BUFFER_SIZE - audioBuffer.inPos)); ^ ./amp.h:18:20: note: expanded from macro 'MIN' #define MIN(a,b) ((a) < (b) ? (a) : (b)) ^ buffer.c:243:76: error: use of undeclared identifier 'AUSIZ' ./amp.h:18:32: note: expanded from macro 'MIN' #define MIN(a,b) ((a) < (b) ? (a) : (b)) ^ 9 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/audio/amp/work/amp-0.7.6 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/audio/amp *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/audio/amp