Bugzilla – Bug 315996
Bug mcs error when using -pkg and --
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by spigaz@hotmail.com 2004-09-10 14:52:59 MST ---- 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 (); } } ---- Additional Comments From jluke@cfl.rr.com 2004-09-29 19:12:23 MST ---- Created an attachment (id=166758) proposed patch ---- Additional Comments From miguel@ximian.com 2004-12-12 13:21:40 MST ---- John, this patch looks good. Do you mind commiting the patch? ---- Additional Comments From jluke@cfl.rr.com 2004-12-12 14:14:35 MST ---- I dont mind, its in svn. Imported an attachment (id=166758) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Gentoo 2.6.7</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".