[AD] [ alleg-Bugs-3145787 ] al_kcm_aqueue_driver symbol not found

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #3145787, was opened at 2010-12-27 00:37
Message generated for change (Settings changed) made by konforce
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3145787&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mac OSX
Group: 5.1
Status: Open
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: Matthew Leverton (konforce)
Assigned to: Peter Hull (peterhull90)
Summary: al_kcm_aqueue_driver symbol not found

Initial Comment:
speed demo, example programs, etc, report: "dyld: Symbol not found: __al_kcm_aqueue_driver". 

Apparently an OS X 10.4 issue.

http://www.allegro.cc/forums/thread/605790/894285#target

----------------------------------------------------------------------

>Comment By: Matthew Leverton (konforce)
Date: 2010-12-30 14:59

Message:
Committed my cmake patch.

----------------------------------------------------------------------

Comment By: Matthew Leverton (konforce)
Date: 2010-12-28 01:31

Message:
I attached a patch for cmake. It works on OS X 10.4 (finds nothing) but
untested on OS X 10.5+ (should find the header file and add support for
aqueue).

It also removes the #ifdef that surrounds the aqueue.m file, as that file
will be excluded from the build if cmake fails to find the appropriate
header file.

----------------------------------------------------------------------

Comment By: Matthew Leverton (konforce)
Date: 2010-12-27 12:05

Message:
Actually, I don't think there is anything in the header files that could be
selectively disabled by the user's program settings, so the #error comment
is probably irrelevant.

----------------------------------------------------------------------

Comment By: Matthew Leverton (konforce)
Date: 2010-12-27 11:58

Message:
Would it be sufficient to check for the existence of
AudioToolbox/AudioQueue.h when cmake runs? Then the #ifdefs could be
changed into #errors if the target is 10.4 at user program compile time.

----------------------------------------------------------------------

Comment By: Evert Glebbeek (eglebbk)
Date: 2010-12-27 01:48

Message:
The attached patch should fix the problem. Note that the entire source file
for the aqueue driver is contained in an "#if MAC_OS_X_VERSION_MIN_REQUIRED
>= 1050 / #endif" block.
It's arguably better to do this from within CMake, but I'm not entirely
sure how to do that.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3145787&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/