dbus-sharp latest from CVS fails to compile - Mono 1.1.4 / Fedora Core 3

Chris Patti cpatti at gmail.com
Mon Mar 7 23:58:10 PST 2005


I built the latest DBUS from CVS on freedesktop.org and while the rest
of DBUS built flawlessly, the Mono section of the build (enabled via
--enable-mono and --enable-mono-docs) died in a shower of sparks:
make[3]: Entering directory `/home/feoh/src/dbus/mono'
/usr/local/bin/mcs --debug --unsafe --target library -o dbus-sharp.dll
./Arguments.cs ./Bus.cs ./BusDriver.cs ./Connection.cs
./DBusException.cs ./Error.cs ./ErrorMessage.cs ./Handler.cs
./InterfaceAttribute.cs ./InterfaceProxy.cs ./Introspector.cs
./Message.cs ./MethodAttribute.cs ./MethodCall.cs ./MethodReturn.cs
./ProxyBuilder.cs ./Server.cs ./Service.cs ./Signal.cs
./SignalAttribute.cs ./DBusType/IDBusType.cs ./DBusType/Array.cs
./DBusType/Boolean.cs ./DBusType/Byte.cs ./DBusType/Double.cs
./DBusType/Int32.cs ./DBusType/Int64.cs ./DBusType/ObjectPath.cs
./DBusType/String.cs ./DBusType/UInt32.cs ./DBusType/UInt64.cs
./BusDriver.cs(24) warning CS0067: The event
'DBus.BusDriver.NameOwnerChanged' is never used
./Handler.cs(134) warning CS0168: The variable 'attributes' is
declared but never used
./ProxyBuilder.cs(200) warning CS0219: The variable 'replyL' is
assigned but its value is never used
./DBusType/Array.cs(62) error CS0176: Static member
`DBus.DBusType.Array.Code' cannot be accessed with an instance
reference, qualify with a type name instead
./DBusType/Array.cs(15): 'DBus.DBusType.Array.Code' (name of symbol
related to previous error
Compilation failed: 1 error(s), 3 warnings
Is there any way to work around this? I will delve into the code to
try and understand what's going on here.

Thanks for any clues;
------------ Chris Patti - cpatti at gmail.com -----------
America goes not abroad, in search of monsters
to destroy.  -John Quincy Adams

More information about the dbus mailing list