[Flac-dev] OS X compile errors

Josh Coalson xflac at yahoo.com
Tue Jan 7 20:16:01 PST 2003


This is a problem with the code that does DLL on windows.
The 'off' switch assumes "unix" is #defined by the compiler,
which it isn't on Darwin.

I am going to check in a fix soon that will be in flac-1.0.5-beta2.
In the meantime you can manually add -Dunix to the two assignments
of OUR_CFLAGS_TAIL in configure.

Josh

--- Glenn <glenn at meaning.com> 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%
> 
> I've attached a complete log of the install. I've also got 
> fink/OroborOSX installed and I don't know if that is affecting
> anything.
> 
> I've got xmms installed (via fink) and I'd really like to get the 
> xmms-flac plugin to work.
> 
> Suggestions?
> 
> thanks,
> glenn
> 
> 

> ATTACHMENT part 2 application/rtf x-unix-mode=0644;
name=flac-errors.rtf


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the Flac-dev mailing list