[Flac-dev] Another OS X compile error

Josh Coalson xflac at yahoo.com
Thu Jan 9 18:13:03 PST 2003


yep, you found another bug, also with an easy fix: just need
to #ifdef lines 117-119 out, i.e. make lines 117-119 look like
this:

#ifdef FLAC__HAS_OGG
extern FLAC__bool
OggFLAC__stream_encoder_disable_constant_subframes(OggFLAC__StreamEncoder
*encoder, FLAC__bool value);
extern FLAC__bool
OggFLAC__stream_encoder_disable_fixed_subframes(OggFLAC__StreamEncoder
*encoder, FLAC__bool value);
extern FLAC__bool
OggFLAC__stream_encoder_disable_verbatim_subframes(OggFLAC__StreamEncoder
*encoder, FLAC__bool value);
#endif

--- Glenn <glenn at meaning.com> wrote:
> 
> On Wednesday, January 8, 2003, at 12:56  PM, Josh Coalson wrote:
>  > 'touch doc/FLAC.tag' and run make again
> 
> I did and got:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../.. -I./include 
> -I../../include -g -O2 -O3 -DNDEBUG -Dunix -fomit-frame-pointer 
> -funroll-loops -finline-functions -Wall -W -Winline 
> -DFLaC__INLINE=__inline__  -c `test -f 'encode.c' || echo
> './'`encode.c
> encode.c:117: undefined type, found `OggFLAC__StreamEncoder'
> encode.c:118: undefined type, found `OggFLAC__StreamEncoder'
> encode.c:119: undefined type, found `OggFLAC__StreamEncoder'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> encode.c:117: parse error before '*' token
> encode.c:118: parse error before '*' token
> encode.c:119: parse error before '*' token
> make[3]: *** [encode.o] 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] glenn%
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Flac-dev mailing list
> Flac-dev at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flac-dev


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




More information about the Flac-dev mailing list