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
Did you build and install libOgg first? What is the output of ./configure before you run make? Brian Willoughby Sound Consulting On Jul 25, 2007, at 14:45, Scott C. Brown 02 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
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@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