bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] mac quicktime 7.5.0 problems


From: Michael Petch
Subject: Re: [Bug-gnubg] mac quicktime 7.5.0 problems
Date: Fri, 08 Aug 2008 08:59:43 -0600
User-agent: Microsoft-Entourage/11.4.0.080122

On 8/8/08 6:07 AM, "Christian Anthon" <address@hidden> wrote:

> Undefined symbols:
>   "_NativePathNameToFSSpec", referenced from:
>       _PlaySound_QuickTime in sound.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [gnubg] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> perhaps the quicktime framework isn't installed or located correctly.
> Does this ring a bell to anyone?

Odd that it works on other systems. It sounds like the fellow knows his way
around so I am wondering if you can have him do this. Modify sound.c and
remove the following line (OR comment it out):

     err = NativePathNameToFSSpec(cSoundFilename, &fsSoundFile, 0);

And replace with this:

     FSRef ref;
     err = FSPathMakeRef( ( const UInt8* ) cSoundFilename, &ref, 0 );
     err = FSGetCatalogInfo( &ref, kFSCatInfoNone, NULL, NULL, &fsSoundFile,
NULL );


Ultimately he'll end up with something like:

//      err = NativePathNameToFSSpec(cSoundFilename, &fsSoundFile, 0);
        FSRef ref;
        err = FSPathMakeRef( ( const UInt8* ) cSoundFilename, &ref, 0 );
        err = FSGetCatalogInfo( &ref, kFSCatInfoNone, NULL, NULL,
&fsSoundFile, NULL );

Try to make gnubg again. If this works I can commit the change.

This antiquated code use to be shared with the windows version (At one time
Quicktime was supported as a windows sound system), and could be replaced
with the newer Quicktime API's. This of course would not make it compatible
with earlier versions of OS/X (10.3) - but I doubt this is a real issue.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]