[Flac-dev] building flac 1.2.0 on OS X

Josh Coalson xflac at yahoo.com
Wed Jul 25 18:10:49 PDT 2007


damn, I see the problem.  there needs to be an #if FLAC__HAS_OGG
nearby, like so:

    if(num_requested_seek_points < 0) {
#if FLAC__HAS_OGG
        /*@@@@@@ workaround ogg bug: too many seekpoints makes table
not fit in one page */
        if(e->use_ogg && e->total_samples_to_encode > 0 &&
e->total_samples_to_encode / e->sample_rate / 10 > 230)
            requested_seek_points = "230x;";
        else
#endif
            requested_seek_points = "10s;";
        num_requested_seek_points = 1;
    }


--- "Scott C. Brown 02" <Scott.C.Brown.02 at Alum.Dartmouth.ORG> wrote:

> I just tried to build 1.2 on my Macbook
> 
> 
> i ran configure with the following arguments (like i have in the
> past)
> 
> ./configure --enable-static --disable-asm-optimizations
> --disable-shared
> 
> then "make:
> 
> i get the following error:
> 
> encode.c: In function 'convert_to_seek_table_template':
> encode.c:2181: error: 'struct <anonymous>' has no member named
> 'use_ogg'
> make[3]: *** [encode.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> 
> Anyone know what's going on?  
> 
> Thanks,
> Scott


       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php


More information about the Flac-dev mailing list