Re: Compile issues and failure to display on Mac Mini

Bj|rn Englund <[email protected]> Sat, 4 Nov 2006 18:08:12 +0100
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Sun Oct 29 2006, Tim wrote:
> Hi. 
> 
> version of Ogle: 0.9.2
> graphics card: Mac Mini (GMA 950, 64M shared)
> distribution: Mac OS X 10.4.8/Darwin 8.8.1
> complete copy of the ogle output (ogle --debug >& ogle.log) (for versions 
> prior to 0.9.0 don't use --debug) 
> 

Hello.
First of all, please try the latest cvs-version:
http://www.dtek.chalmers.se/~dvd/dist/ogle-0.9.2-cvs.tar.gz

> Build: Darwin 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 
> 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386 Sun Oct 29 02:47:51 GMT 
> 2006 Xv
> Runtime: Darwin 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 
> 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
> Note[ogle_ctrl]: ogle 0.9.2
[...]
> *ctrl: get_buffer, shmget failed: Invalid argument

This is bad does it happen with the cvs version too?


> anything else you think could be relevant of use. 
> 
> OK. from the the start. 
> 
> I installed the X11 app and the GCC compiler from the Mac install discs. I 
> downloaded all the things specified on the Ogle download page. 

What version of gcc? (gcc -v)

> 1, libjpeg needed me to copy the config.guess and config.sub files from the 
> Ogle directory before it would let me compile it with --enable-shared. I'm 
> not suprised that libjpeg didn't know about Intel Macs, but it would have 
> been nice if the download page had mentioned needing --enable-shared. 

I'll try to change so static libs will get used when no shared are available.

> 
> 2. Compiling Ogle first failed because -mcpu=pentiumpro isn't supported by 
> the compiler supplied by Apple: I removed it from the scripts that generated 
> the makefiles. 

This should work with the cvs version.

> 
> 3. I now had problems where most of the symbols defined in yuv2rgb_mmx.c 
> were undefined, despute -DHAVE_MMX=1 appearing on the compile line. I 
> reconfigured with --disable-mmx to work around that. 

If still broken in cvs, please supply the output from the compile.

> 4. Now ac3dec_wrap.c and ifo_dump.c complained about having program_name 
> declared static, which contradicted some debug header. I removed the 
> 'static' keywords from the declarations. 

Fixed in cvs.


> 5. Now it all compiles and links, but I see this from an X11 Xterm (with 
> DISPLAY defined): 

> 6. Finally, I don't see any audio channels appearing in the configuration 
> summary. 

You won't see any if ogle crashes before getting to a part with audio.


> Any ideas? 
> 

Try the latest cvs and see if it is any better first.

/Bj|rn