johnynek / johnynek/brunet

Compilation error for Simulator.cs

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
45
Forks
31
PR merge metrics
No merged PRs in 30d

Description

here's the trace:
ls
Simulator.cs default.build
fermion% nant
NAnt 0.86 (Build 0.86.2898.0; beta1; 08/12/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///Users/veleno/workspace/brunet/tests/simulator/default.build
Target framework: Mono 2.0 Profile
Target(s) specified: build

build:

```
[mkdir] Creating directory '/Users/veleno/workspace/brunet/tests/simulator/build'.
[copy] Copying 2 files to '/Users/veleno/workspace/brunet/tests/simulator/build'.
[csc] Compiling 1 files to '/Users/veleno/workspace/brunet/tests/simulator/build/Simulator.exe'.
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(236,27): error CS0117: `Brunet.Util.SimpleTimer' does not contain a definition for `Minimum'
[csc] /Users/veleno/workspace/brunet/tests/simulator/build/Brunet.dll (Location of the symbol related to previous error)
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(245,16): error CS0234: The type or namespace name `DateTime' does not exist in the namespace `Brunet'. Are you missing an assembly reference?
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(246,29): error CS0122: `Brunet.Util.SimpleTimer.Run()' is inaccessible due to its protection level
[csc] /Users/veleno/workspace/brunet/tests/simulator/build/Brunet.dll (Location of the symbol related to previous error)
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(251,31): error CS0117: `Brunet.Util.SimpleTimer' does not contain a definition for `Minimum'
[csc] /Users/veleno/workspace/brunet/tests/simulator/build/Brunet.dll (Location of the symbol related to previous error)
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(252,14): error CS0234: The type or namespace name `DateTime' does not exist in the namespace `Brunet'. Are you missing an assembly reference?
[csc] /Users/veleno/workspace/brunet/tests/simulator/Simulator.cs(253,19): error CS0122: `Brunet.Util.SimpleTimer.Run()' is inaccessible due to its protection level
[csc] /Users/veleno/workspace/brunet/tests/simulator/build/Brunet.dll (Location of the symbol related to previous error)
[csc] Compilation failed: 6 error(s), 0 warnings
```

BUILD FAILED - 0 non-fatal error(s), 10 warning(s)

/Users/veleno/workspace/brunet/tests/simulator/default.build(18,6):
External Program Failed: /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 0.7 seconds.

mono --version
Mono JIT compiler version 2.4.2.3 (tarball Mon Jul 27 11:01:22 MDT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: normal
GC: Included Boehm (with typed GC)
SIGSEGV: normal
Notification: Thread + polling
Architecture: x86
Disabled: none

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with tests/simulator/Simulator.cs and tests/simulator/default.build, then run the reported `nant` build under the Mono target framework. Trace the referenced SimpleTimer members and Brunet.DateTime errors against the built Brunet.dll; done means the simulator compiles without the listed errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.