FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › General Discussion › Solaris compile fails with mdns > 0.2.1
- This topic has 8 replies, 2 voices, and was last updated 19 years, 2 months ago by rpedde.
-
AuthorPosts
-
18/09/2005 at 6:27 PM #101MakeaGuest
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'19/09/2005 at 1:01 AM #3653rpeddeParticipantWhat 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
19/09/2005 at 2:56 AM #3654MakeaGuestMy apologies. I should have known better!
Solaris Sparc 9, using gcc3.4.4. Hardware is an Ultra 5.
How do I apply the patch?
21/09/2005 at 7:46 AM #3655rpeddeParticipantshould 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.
21/09/2005 at 9:45 AM #3656MakeaGuestOkay, 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.
22/09/2005 at 6:50 AM #3657MakeaGuestThanks TBjornA! Compilation worked fine.
However, it still times out using iTunes. Must be my conf file or something.
22/09/2005 at 8:00 AM #3658rpeddeParticipantWait… you didn’t get the va_arg error above?
22/09/2005 at 9:19 AM #3659MakeaGuestThe mdns errors disappeared after I edited rc/mDNSClientAPI.h line 534 with TBjornA’s instructions on version 0.2.3. It compiled smoothly.
22/09/2005 at 9:38 AM #3660rpeddeParticipantyou can specify a logfile in the config file, and run it with a -d9. Might get more info that way.
— Ron
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.