Page 1 of 1

Unable to rebuild system libraries (Rel2.4_RC2)

Posted: Mon Mar 22, 2010 7:03 am
by khoney
I can't rebuild the system libraries for some reason - I'm getting the following error in the dialog box:

Code: Select all

'Clean and rebuild system files' has encountered a problem.

Error: Build Error during buildSystemLibs. See build console for details.
and the following errors in the console:

Code: Select all

>>> make clean
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
>>> make clean libs
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
>>> make system
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x330000, State 0x10000
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
>>> make system libs
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
Now when I try to make my project, it says MOD5270.a is missing. And shouldn't this actually be MOD5270B.a if my module is a 5270B?

Help! I'm dead in the water for now...

Re: Unable to rebuild system libraries (Rel2.4_RC2)

Posted: Mon Mar 22, 2010 10:25 am
by Forrest
Hello,

Please try following the full rebuild procedures found in the faq:

* From a DOS window:

1. Enter the command line application by clicking on Start->Run and typing [cmd]
2. Change to the nburn directory. [cd\nburn]
3. Set the NetBurner command line environment variables. [SetEnv.bat]
4. Change to your system directory [cd\nburn\system] (system_nn for MOD5213 platform, system_sc for L2E platform)
5. Clean the project [make clean]
6. Build the project [make]
7. Build the debug version [make debug]
8. Change to your platform system directory [cd\nburn\*your platform*\system]
9. Clean the project [make clean]
10. Build the project [make]
11. Build the debug version [make debug]


The problem you are experiencing is that you have some other tools installed on your system. Probably another make utility/msys bins. These other tools use cygwin, instead of the mingw release that NetBurner uses. .Older nburn installs, pre 2.0 also used cygwin, so if you had those installed, make sure that are off the command line PATH.

The above procedure (step 3) should make sure our tools are at the head of the path variable.

Re: Unable to rebuild system libraries (Rel2.4_RC2)

Posted: Tue Mar 23, 2010 5:31 am
by khoney
Thanks, Forrest! I'll bet the culprit was SVN.

Re: Unable to rebuild system libraries (Rel2.4_RC2)

Posted: Tue Mar 23, 2010 7:08 am
by Ridgeglider
Could you share a bit of your experience using SVN: How you set it up, whether you started w/ the default NB relaese or added the NB plugin to Galileo, reliability, etc? Thanks.