[Flac-dev] OS X compile errors

Matt Zimmerman mdz at debian.org
Tue Jan 7 20:19:02 PST 2003


On Tue, Jan 07, 2003 at 09:54:35PM -0600, Glenn wrote:

> I just tried to compile FLAC 1.0.5 beta1 under Apple's X11 v0.1 
> (released today) and it didn't work. The error message was:
> 
> file_decoder.c: In function `_declspec':
> file_decoder.c:477: warning: unused parameter `dllimport'
> file_decoder.c:478: warning: unused parameter 
> `FLAC__file_decoder_process_until_end_of_file'
> make[4]: *** [file_decoder.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> [TLB:~/Desktop/flac-1.0.5_beta1/flac-1.0.5_beta1] glenn%

Those are only warnings; the first real error is this:

../../include/FLAC/format.h:144: syntax error, missing `;' after `const'\

followed by a lot of compiler confusion.

It looks like your compiler doesn't define 'unix', and something needs to be
added to the test in include/FLAC/export.h.

-- 
 - mdz




More information about the Flac-dev mailing list