Re: [Ikvm-developers] Error CS0234: The type or namespace name `JniHelper' does not exist in the na
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2009-03-28 11:20:41
|
Hi, The public key is hard coded in runtime/JniInterface.cs. This has been fixed in the current code, but for 0.38 you still need to manually edit some files if you want to do a strong named build. Regards, Jeroen > -----Original Message----- > From: Ismael Olea [mailto:is...@ol...] > Sent: Friday, March 27, 2009 23:32 > To: Ikv...@li... > Subject: [Ikvm-developers] Error CS0234: The type or namespace name > `JniHelper' does not exist in the namespace `IKVM.Runtime'. > > > Hi: > > I'm compiling ikvm-0.38.0.2 on Fedora 10, using mono 2.0.1 > > I'm very new on this issues but seems I've got a successful compile > using «nant clean; nant all». > > The strange thing is I can't do that when «nant clean; nant signed». > Since I pretend to create an RPM package I assume I should to sign. > > I suspect it could be only a nant build problem, but it's the first > time I play with this. > > The error log is: > > > > IKVM.Runtime.JNI: > > [csc] Compiling 2 files to '/home/olea/ikvm- > 0.38.0.2/runtime/IKVM.Runtime.JNI.dll'. > [csc] /home/olea/ikvm- > 0.38.0.2/CommonAssemblyInfo.cs(35,9): warning CS1691: `1699' is not a > valid warning number > [csc] Compilation succeeded - 1 warning(s) > [copy] Copying 1 file to '/home/olea/ikvm- > 0.38.0.2/bin'. > [csc] Compiling 25 files to '/home/olea/ikvm- > 0.38.0.2/runtime/IKVM.Runtime.dll'. > [csc] /home/olea/ikvm- > 0.38.0.2/CommonAssemblyInfo.cs(35,9): warning CS1691: `1699' is not a > valid warning number > [csc] /home/olea/ikvm- > 0.38.0.2/runtime/openjdk.cs(3207,58): error CS0234: The type or > namespace name `JniHelper' does not exist in the namespace > `IKVM.Runtime'. Are you missing an assembly reference? > [csc] Compilation failed: 1 error(s), 1 warnings > > BUILD FAILED - 0 non-fatal error(s), 3 warning(s) > > /home/olea/ikvm-0.38.0.2/runtime/runtime.build(51,10): > External Program Failed: > /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1) > > I've saw a similar comment in the mail list[1] but as said, it only > happens when compiling + signed. > > Any idea? Thanks in advance. > > [1] > https://sourceforge.net/mailarchive/forum.php?thread_name=2009030900454 > 0.000062DB01F20281%40mail6.dreamwiz.com&forum_name=ikvm-developers > > > -- > > A. Ismael Olea González > > http://olea.org/diario/ > http://aduaneros.org, la ONG sin futuro. > > El mundo debe empezar a tener miedo a un planeta OLEA |