[Mono-dev] Compilation failed in System.Net

Rachman Chavik rchavik at attglobal.net
Fri Feb 10 02:24:56 EST 2006


Hi,

I am playing around with Mono and using monoupdater.sh and have
successfully built mono in this machine.

Today, I ran:

monoupdater.sh download
monoupdate.sh build

Compilation failed with the following error messages:

make all-local
make[8]: Entering directory
`/data2/userdata/rachman/monostuff/mcs/class/System'
MONO_PATH="../../class/lib/net_2_0:$MONO_PATH"
/home/users/rachman/work/monostuff/mono/runtime/mono-wrapper
../../gmcs/gmcs.exe /codepage:28591   -d:NET_1_1 -d:NET_2_0 -debug
/noconfig -nowarn:618 -d:CONFIGURATION_2_0 /define:XML_DEP
/r:System.Xml.dll /define:SECURITY_DEP -r:Mono.Security.dll
/define:CONFIGURATION_DEP /r:System.Configuration.dll
/r:PrebuiltSystem=../../class/lib/net_2_0/System.dll -target:library
-out:System.dll  @System.dll.sources
System.Collections.Specialized/IOrderedDictionary.cs(35,25): warning
CS0108:
`System.Collections.Specialized.IOrderedDictionary.GetEnumerator()'
hides inherited member `System.Collections.IEnumerable.GetEnumerator()'.
Use the new keyword if hiding was intended
/data2/userdata/rachman/monostuff/mcs/class/lib/net_2_0/mscorlib.dll:
`System.Collections.IEnumerable.GetEnumerator()', name of symbol related
to previous warning
System.Configuration/SettingElementCollection.cs(81,54): error CS0507:
`System.Configuration.SettingElementCollection.CollectionType.get':
cannot change access modifiers when overriding `protected' inherited
member
`System.Configuration.ConfigurationElementCollection.CollectionType.get'
/data2/userdata/rachman/monostuff/mcs/class/lib/net_2_0/System.Configuration.dll:
`System.Configuration.ConfigurationElementCollection.CollectionType',
name of symbol related to previous error
System.Configuration/SettingElementCollection.cs(81,54): error CS0507:
`System.Configuration.SettingElementCollection.CollectionType': cannot
change access modifiers when overriding `protected' inherited member
`System.Configuration.ConfigurationElementCollection.CollectionType'
/data2/userdata/rachman/monostuff/mcs/class/lib/net_2_0/System.Configuration.dll:
`System.Configuration.ConfigurationElementCollection.CollectionType',
name of symbol related to previous error
System.Net.Sockets/NetworkStream.cs(209,26): warning CS0114:
`System.Net.Sockets.NetworkStream.Dispose(bool)' hides inherited member
`System.IO.Stream.Dispose(bool)'. To make the current member override
that implementation, add the override keyword. Otherwise add the new keyword
/data2/userdata/rachman/monostuff/mcs/class/lib/net_2_0/mscorlib.dll:
`System.IO.Stream.Dispose(bool)', name of symbol related to previous warning
System.Net/FtpDataStream.cs(233,8): warning CS0114:
`System.Net.FtpDataStream.Dispose(bool)' hides inherited member
`System.IO.Stream.Dispose(bool)'. To make the current member override
that implementation, add the override keyword. Otherwise add the new keyword
/data2/userdata/rachman/monostuff/mcs/class/lib/net_2_0/mscorlib.dll:
`System.IO.Stream.Dispose(bool)', name of symbol related to previous warning
Compilation failed: 2 error(s), 3 warnings



Machine Details:
rachman at valinor $ cat /etc/SuSE-release
SuSE Linux 9.3 (i586)
VERSION = 9.3

rachman at valinor $ which mono
/usr/bin/mono

rachman at valinor $ /usr/bin/mono --version
Mono JIT compiler version 1.1.13, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal

What am I doing wrong?

-- 
Rachman Chavik
email: rchavik at attglobal.net
email: rachman at chavik.com
email: rchavik at etc-group.com
www: http://www.chavik.com



More information about the Mono-devel-list mailing list