Unable to rebuild system libraries (Rel2.4_RC2)

Discussion to talk about software related topics only.
Post Reply
khoney
Posts: 125
Joined: Fri Sep 11, 2009 12:43 pm

Unable to rebuild system libraries (Rel2.4_RC2)

Post 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...
User avatar
Forrest
Posts: 288
Joined: Wed Apr 23, 2008 10:05 am

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

Post 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.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
khoney
Posts: 125
Joined: Fri Sep 11, 2009 12:43 pm

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

Post by khoney »

Thanks, Forrest! I'll bet the culprit was SVN.
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

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

Post 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.
Post Reply