[Mono-bugs] [Bug 65710][Wis] New - Bug mcs error when using -pkg and --
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 10 Sep 2004 14:52:59 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by spigaz@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=65710
--- shadow/65710 2004-09-10 14:52:59.000000000 -0400
+++ shadow/65710.tmp.13213 2004-09-10 14:52:59.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 65710
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details: Gentoo 2.6.7
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: spigaz@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Bug mcs error when using -pkg and --
+
+Description of Problem:
+The mcs compiler gives an error when using at the same time -pkg:gtk-sharp
+and --.
+
+Steps to reproduce the problem:
+1. Compile a class that requires gtk-sharp "mcs -pkg:gtk-sharp -- Main.cs"
+2.
+3.
+
+Actual Results:
+error CS2001: Source file '-r:/usr/lib/mono/gtk-sharp/glib-sharp.dll' could
+not be opened
+error CS2001: Source file '-r:/usr/lib/mono/gtk-sharp/pango-sharp.dll'
+could not be opened
+error CS2001: Source file '-r:/usr/lib/mono/gtk-sharp/atk-sharp.dll' could
+not be opened
+error CS2001: Source file '-r:/usr/lib/mono/gtk-sharp/gdk-sharp.dll' could
+not be opened
+error CS2001: Source file '-r:/usr/lib/mono/gtk-sharp/gtk-sharp.dll' could
+not be opened
+Compilation failed: 5 error(s), 0 warnings
+
+
+Expected Results:
+Compilation succeeded
+
+
+How often does this happen?
+Always
+
+Additional Information:
+It compiles fine using mcs -pkg:gtk-sharp Main.cs
+Sample Main.cs:
+
+using Gtk;
+
+class MainClass {
+ public static void Main(string[] args)
+ {
+ Application.Init ();
+ Window window = new Window("Test");
+ Application.Run ();
+ }
+}