Bug 7762 - Jmdns binding issue
Summary: Jmdns binding issue
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2012-10-09 19:48 UTC by James Clancey
Modified: 2012-10-11 01:37 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description James Clancey 2012-10-09 19:48:31 UTC
When trying to bind Jmdns: http://sourceforge.net/projects/jmdns/files/jmdns/JmDNS%203.4.1/ 
there are a lot of errors. The Library nests classes inside of itself, and the parser has a hard time with nested classes.

Also if I only bind the parts I need using the following command:
/Developer/MonoAndroid/usr/lib/mandroid/../../bin/smcs  /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/jmdns.dll Properties/AssemblyInfo.cs obj/Debug/generated/src/Jmdns.JmDNS.cs  obj/Debug/generated/src/Jmdns.ServiceInfo.cs   obj/Debug/generated/src/Jmdns.IServiceListener.cs   obj/Debug/generated/src/Jmdns.IServiceTypeListener.cs   obj/Debug/generated/src/Jmdns.ServiceEvent.cs  /target:library /define:DEBUG /reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.dll /reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll /reference:/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll /reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll /warn:4


I get this error when I am building my library using the dll and jar:
	/Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets: error : Cannot determine abi of native library Jar/jmdns.jar.
Comment 2 Atsushi Eno 2012-10-11 01:37:29 UTC
fixed. (4afd11a)