Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
--- Josh Coalson wrote:
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;
}
--- end of quote ---
that worked.  thanks!
___
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Josh Coalson
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" <[EMAIL PROTECTED]> 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 ' 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
___
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
--- Brian Willoughby wrote:
Did you build and install libOgg first?
What is the output of ./configure before you run make?
--- end of quote ---
i've never had to build libOgg before

(won't be back to my machine until tomorrow so I can't post the output until
then)

Thanks,

Scott
___
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Brian Willoughby

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 ' 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

___
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[Flac-dev] building flac 1.2.0 on OS X

2007-07-25 Thread Scott C. Brown 02
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 ' 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
___
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev