Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Builds on PPC breaks on intel, any clue ?

    3 answers - 901 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello,
    I'm currently trying to build Zap on Mactel. I get the following error
    while doing so :
    gcc -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long
    -isysroot /Developer/SDKs/MSX10.4u.sdk -fpascal-strings
    -no-cpp-precomp -fno-common
    -pipe
    -DDEBUG -D_DEBUG -DDEBUG_ludo -DTRACING -g -o pa_tests/debug_convert
    pa_tests/debug_convert.o -L///dist/bin
    -L///dist/lib libmoz_portaudio_v18_1.a -framework CoreAudio
    -framework AudioToolbox
    /usr/bin/ld: Undefined symbols:
    _DebugAssert
    collect2: ld returned 1 exit status
    make[5]: [pa_tests/debug_convert] Error 1
    make[4]: [libs] Error 2
    make[3]: [libs_tier_9] Error 2
    make[2]: [tier_9] Error 2
    make[1]: [default] Error 2
    make: [build] Error 2
    I've tried using 10.3.9 and 10.2.8 Sdks but I still get that error. Any
    clue on what might be happening ?
    Ludovic
  • No.1 | | 397 bytes | |

    Ludovic Hirlimann wrote:
    /usr/bin/ld: Undefined symbols:
    _DebugAssert

    DebugAssert is implemented in CarbonCore. Sounds like you need to add
    "-framework Carbon" to whatever's bringing in CoreAudio and
    AudioToolbox, or reevaluate whether DebugAssert is really right for you.

    Mark

    dev-builds mailing list
    dev-builds (AT) lists (DOT) mozilla.org
  • No.2 | | 415 bytes | |

    Mark Mentovai wrote:
    Ludovic Hirlimann wrote:
    /usr/bin/ld: Undefined symbols:
    _DebugAssert

    DebugAssert is implemented in CarbonCore. Sounds like you need to add
    "-framework Carbon" to whatever's bringing in CoreAudio and
    AudioToolbox, or reevaluate whether DebugAssert is really right for you.

    What I don't understand is why I have no problem when compiling on PPC

    Ludo
  • No.3 | | 1035 bytes | |

    Ludovic Hirlimann wrote:
    Mark Mentovai wrote:
    >Ludovic Hirlimann wrote:

    /usr/bin/ld: Undefined symbols:
    _DebugAssert
    >DebugAssert is implemented in CarbonCore. Sounds like you need to add
    >"-framework Carbon" to whatever's bringing in CoreAudio and
    >AudioToolbox, or reevaluate whether DebugAssert is really right for you.


    What I don't understand is why I have no problem when compiling on PPC

    of the other frameworks probably depends (possibly indirectly) on
    CarbonCore on PPC using whatever version of the SDK you were using
    there. That's apparently not the case for x86 10.4u.

    If you use DebugAssert in your code, it is correct to specify -framework
    Carbon. (If this is the only Carbon symbol you use and you only use it
    for a debug build, you might want to make it conditional on debug builds.)

    Mark

    dev-builds mailing list
    dev-builds (AT) lists (DOT) mozilla.org

Re: Builds on PPC breaks on intel, any clue ?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "Mozilla"

EMSDN.COM