[Mono-dev] Error "The type or namespace name `var' could not be found."

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Thu Jun 4 11:37:21 EDT 2009


Hello,

In my FreeBSD7, Mono trunk revision 35282 or later, build was failed
(revision 35281 was succeed).
Error message is following.

gmake[7]: Entering directory `/export/home/ksmakoto/Mono/mcs/mcs'
Makefile:88: warning: overriding commands for target `csproj-local'
../build/executable.make:131: warning: ignoring old commands for target `csproj-local'
MCS     [basic] mcs.exe
complete.cs(136,36): warning CS0219: The variable `original' is assigned but its value is never used
delegate.cs(381,32): warning CS0219: The variable `g_args' is assigned but its value is never used
delegate.cs(418,32): warning CS0219: The variable `g_args' is assigned but its value is never used
parameter.cs(358,25): error CS0246: The type or namespace name `var' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 3 warnings
gmake[7]: *** [../class/lib/basic/mcs.exe] Error 1
gmake[7]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[6]: *** [do-all] Error 2
gmake[6]: Leaving directory `/export/home/ksmakoto/Mono/mcs/mcs'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD'
gmake: *** [all] Error 2


More information about the Mono-devel-list mailing list