Can't Rebuild System Files

Topics for the Eclipse Environment
Post Reply
cbein
Posts: 8
Joined: Mon Jul 08, 2013 8:01 am

Can't Rebuild System Files

Post by cbein »

I am trying to enable UCOS_STACKCHECK, but when I try to rebuild the modified system files or rebuild all system files, I receive an error.

Code: Select all

Error: Build Error during build System. See build console for details
In the console for rebuilding the modified system files I get something like this

Code: Select all

m68k-elf-gcc -c -m5206e -gdwarf-2 -Wall -falign-functions=4 -O2 -DMOD5441X -DMCF5441X -DNBMINGW -I"C:\nburn/include" -I"C:\nburn/MOD5441X/include"   ucosmcfc.c -o ucosmcfc.o
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x180000, State 0x10000
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
For rebuilding all system files I get something like this

Code: Select all

AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x180000, State 0x10000
m68k-elf-as -m5206e   ucosmcfa.s -o ucosmcfa.o
m68k-elf-ar cr C:\nburn/lib/NetBurner.a ucosmcfa.o
m68k-elf-as -m5206e   software_init.s -o software_init.o
m68k-elf-ar cr C:\nburn/lib/NetBurner.a software_init.o
m68k-elf-gcc -c -m5206e -gdwarf-2 -Wall -falign-functions=4 -O2 -DMOD5441X -DMCF5441X -DNBMINGW -I"C:\nburn/include" -I"C:\nburn/MOD5441X/include"   ucosmcfc.c -o ucosmcfc.o
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
rm ucosmcfa.o software_init.o
make: *** [ucosmcfc.o] Error 1
The console says the rebuild was terminated at makeclean. Any ideas how to fix this? I've tried searching the forums and netburner documentation for solutions. I am using NBEclipse IDE realease 2.6 with MOD54415
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: Can't Rebuild System Files

Post by ecasey »

Are you using 2.6.0 or the Beta 2.6.2?

I recall having similar difficulties rebuilding system files with 2.6.0 and I think that was fixed in 2.6.2.

Look at the release notes for 2.6.2. at http://www.netburner.com/support/netburner-nndk under "Corrections in the Version".

Ed
cbein
Posts: 8
Joined: Mon Jul 08, 2013 8:01 am

Re: Can't Rebuild System Files

Post by cbein »

I've been using 2.6.0. I just installed 2.6.2, and I am still have the same errors.
User avatar
Forrest
Posts: 283
Joined: Wed Apr 23, 2008 10:05 am

Re: Can't Rebuild System Files

Post by Forrest »

cbein wrote: In the console for rebuilding the modified system files I get something like this

Code: Select all

m68k-elf-gcc -c -m5206e -gdwarf-2 -Wall -falign-functions=4 -O2 -DMOD5441X -DMCF5441X -DNBMINGW -I"C:\nburn/include" -I"C:\nburn/MOD5441X/include"   ucosmcfc.c -o ucosmcfc.o
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x180000, State 0x10000
C:\nburn\gcc-m68k\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
We do not use cygwin in our release. It looks like you have an environment issue, ie, you are calling a make utility that was not included with the NetBurner tools.

Try following the steps to correct your windows PATH env variable highlighted here:
http://wiki.embeddedethernet.com/Suppor ... rectory.22
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
cbein
Posts: 8
Joined: Mon Jul 08, 2013 8:01 am

Re: Can't Rebuild System Files

Post by cbein »

I tried the steps from the Support FAQ, and I was not able to build from the command line, so I saved my important source files, and I uninstalled the NetBurner NNDK and deleted the directory c:\nburn, then I reinstalled the current release 2.6.2, and imported my source files.

This resolved my issue, and I am now able to rebuild the system files.

Thanks,
Jared
Post Reply