Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error for Simulator.cs #1

Open
vschiavoni opened this issue Aug 25, 2009 · 1 comment
Open

Compilation error for Simulator.cs #1

vschiavoni opened this issue Aug 25, 2009 · 1 comment

Comments

@vschiavoni
Copy link

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

@davidiw
Copy link

davidiw commented Aug 25, 2009

This should be better documented, but here's a snippet of what was posted to the mailing list:

The easiest way is to do a normal compile
cd brunet; nant
Then compile brunet with simulation flags
cd src/protocol; nant simulator
Then the simulator will compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants