You are here: Home » Topic » Solaris compile fails with mdns > 0.2.1

Solaris compile fails with mdns > 0.2.1

This topic contains 8 replies, has 1 voice, and was last updated by  rpedde 13 years, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #101

    Makea

    Compile fails due to mdns errors on both 0.2.2 and 0.2.3.

    If I use the –disable-mdns option, I get a working binary.

    I was able to recompile 0.2.1 with no problems.

    As howl is overkill for me, it would be nice to have mdns working again.

    Here’s an snippet of the errors:

    mDNS.c:1187: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1201: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1217: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1218: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1223: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1224: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1244: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1245: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1260: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1298: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1299: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1317: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1319: error: first argument to `va_arg' not of type `va_list'
    mDNS.c:1345: error: first argument to `va_arg' not of type `va_list'
    #3653

    rpedde
    Participant

    What version of solaris, and what compiler?

    The code in question certainly looks right… it may well be wrong, but it sure looks right.

    As a workaround, you might consider using the patch on nightlies.mt-daapd.org and patching 0.2.1.1 until someone can submit a patch for solaris. Sadly, I have no access to a solaris machine, so I have no real way of verifying good builds on solaris.

    — Ron

    #3654

    Makea

    My apologies. I should have known better!

    Solaris Sparc 9, using gcc3.4.4. Hardware is an Ultra 5.

    How do I apply the patch?

    #3655

    rpedde
    Participant

    should be able to untar the 0.2.1.1 distribution, and download the patch from nightlies.mt-daapd.org.

    cd into the src directory, and:


    patch < itunes-5-fix.patch

    then ./configure, etc.

    #3656

    Makea

    Okay, I recompiled with the patch applied.

    However, iTunes 5 on both my powerbook and emac just shows ‘Loading mt-daapd’ for ~minute then dumps me back to my iTunes library.

    At least it’s an improvement over the prior message of ‘unsupported itunes share mumbo jumbo’!

    Thanks for the help.

    #3657

    Makea

    Thanks TBjornA! Compilation worked fine.

    However, it still times out using iTunes. Must be my conf file or something.

    #3658

    rpedde
    Participant

    Wait… you didn’t get the va_arg error above?

    #3659

    Makea

    The mdns errors disappeared after I edited rc/mDNSClientAPI.h line 534 with TBjornA’s instructions on version 0.2.3. It compiled smoothly.

    #3660

    rpedde
    Participant

    you can specify a logfile in the config file, and run it with a -d9. Might get more info that way.

    — Ron

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘General Discussion’ is closed to new topics and replies.