buggnubg - Bugs: bug #24008, Build failure on Mac OS X 10.5.4

 
 

bug #24008: Build failure on Mac OS X 10.5.4

Submitted by:  None
Submitted on:  Wed 06 Aug 2008 11:39:28 AM UTC  
 
Originator Name: LZOriginator Email: -unavailable-
Item Group: Installation ErrorCategory: Graphical User Interface
Release: 0.16-develPrivacy: Public
Operating System: Mac OS XOS Type: None
Processor Type: NoneSeverity: 3 - Normal
Open/Closed: ClosedAssigned to: None
Priority: 5 - NormalStatus: Fixed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 10 Aug 2008 12:54:23 PM UTC, comment #6:

This has been resolved, by adding

-framework CoreServices -framework ApplicationServices

to LDFLAGS in configure.in, right after -framework QuickTime

Thanks.

Louis Zulli <zullil>
Fri 08 Aug 2008 05:19:04 PM UTC, comment #5:

I modified sound.c as suggested:

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

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

No good. Linking fails again:

Undefined symbols:
"_FSPathMakeRef", referenced from:
_PlaySound_QuickTime in sound.o
"_FSGetCatalogInfo", 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

I'm puzzled, as I have no reason to believe that my QuickTime installation is in any way non-standard. But maybe it's just me.

Thanks.

Louis Zulli <zullil>
Fri 08 Aug 2008 10:42:39 AM UTC, comment #4:

Log is attached.

(file #16256)

Louis Zulli <zullil>
Fri 08 Aug 2008 09:57:40 AM UTC, comment #3:

I'll try to post a build log later. I can't determine why I failed while others succeeded. I can't discover where NativePathToFSSpec is defined. By the way, I'm running OS X 10.5.4 on an Intel MacBook. I have the most recent Developer's Tools (and thus the most recent QuickTime framework) installed. I tried both gcc-4.0 and gcc-4.2.

I have determined that the QuickTime related code in sound.c is very antiquated. For example, see http://developer.apple.com/technotes/tn2005/tn2140.html#TNTAG4

Thanks for the help. As I mentioned, I do have a perfectly fine gnubg. But it's using sndplay as an external sound program, rather than QuickTime.

Louis Zulli <zullil>
Fri 08 Aug 2008 09:08:32 AM UTC, comment #2:

The other mac using people say that they don't have any problems. Could you attach a build log to the repport?

Christian Anthon <c_anthon>
Project Administrator
Thu 07 Aug 2008 09:25:26 AM UTC, comment #1:

Thanks for your report. I've forwarded it to the gnubg mailing list where the right people are more likely to see it. You may subscribe to the list here:

http://lists.gnu.org/mailman/listinfo/bug-gnubg

Christian.

Christian Anthon <c_anthon>
Project Administrator
Wed 06 Aug 2008 11:39:28 AM UTC, original submission:

The code related to QuickTime in sound.c appears to contain functions that are now deprecated. In any case, that code is preventing me from building the latest snapshot of gnubg. Specifically, the symbol NativePathNameToFSSpec is reported as undefined. As a workaround I can simply modify sound.c to avoid using QuickTime, and use a simple sound player (like sndplay) to provide the sounds.

I know nothing about the QuickTime api, but perhaps someone who does will consider this issue. It seems like some modification of sound.c is needed for folks who use QuickTime 7.5.0.

Any feedback would be much appreciated.

Thanks. Gnubg is a great piece of software.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by zullil (Posted a comment)
  • -unavailable- added by c_anthon (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 25 Aug 2008 08:50:14 AM UTCc_anthonOpen/ClosedOpen=>Closed
      StatusNeed Info=>Fixed
    Fri 08 Aug 2008 10:42:39 AM UTCzullilAttached File-=>Added build.log, #16256
    Fri 08 Aug 2008 09:08:32 AM UTCc_anthonStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1