Rebuild System Files Error

Discussion to talk about software related topics only.
Post Reply
stevep
Posts: 16
Joined: Fri Apr 25, 2008 6:34 am

Rebuild System Files Error

Post by stevep »

Does anybody have any ideas about why rebuilding the system files would fail?

I have been using NB Eclipse version 2.01 beta 1 (rel201_beta1), and I decided to upgrade to a newer version. In any version after 2.01b1, I get an error when I try to rebuild the system files (I am using a MOD5272).

If I try to rebuild from Eclipse (2.1rc4a or 2.2rc2), I get the following errors in the console window:

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 49: Command syntax error
Error makefile 52: Command syntax error
*** 2 errors during make ***


Lines 49 and 52 are exactly the same as in version 2.01b1 so I am having a hard time figuring out why they produce a syntax error. The two lines are actually blank, but I guess the line count starts at zero so line 48 and 51 seem to be the lines with the "error".


48 -include extras.mak
49
50 #include the file that does all of the automagic work!
51 include $(NBROOT)/make/libmain.mak
52


Of course, building from the command line results in the same errors.

Any ideas on how to make, make are appreciated.
kevinburtness
Posts: 6
Joined: Thu May 29, 2008 8:12 am

Re: Rebuild System Files Error

Post by kevinburtness »

Did you ever find a solution to this problem? I'm running into the same thing.
kevinburtness
Posts: 6
Joined: Thu May 29, 2008 8:12 am

Re: Rebuild System Files Error

Post by kevinburtness »

I found the problem. My default make app was incorrect. I was using a version of Borland's make.
cegelec
Posts: 16
Joined: Mon Jun 09, 2008 12:09 am

Re: Rebuild System Files Error

Post by cegelec »

Can you write, how you solve that, please?

Thank you,
Jan Mrazek
kevinburtness
Posts: 6
Joined: Thu May 29, 2008 8:12 am

Re: Rebuild System Files Error

Post by kevinburtness »

I couldn't change the default make, but I'm sure there is a way to do it. Instead I explicitly rebuilt the files via command line. Using the DOS command shell, I went to the directory of the makefile to be built and explicitly executed the make program that comes with the netburner load.

i.e.

Go to this directory: "C:\Nburn\system>" and enter "C:\Nburn\gcc-m68k\bin\make clean"
then go to this directory "C:\Nburn\system>" and enter "C:\Nburn\gcc-m68k\bin\make all"

will build the common system files, including the kernel.

Siimilarly, the following:

"C:\Nburn\MODXXXX\system>" "C:\Nburn\gcc-m68k\bin\make clean"
"C:\Nburn\MODXXXX\system>" "C:\Nburn\gcc-m68k\bin\make all"

will build the board specific files.

If someone else knows how to just cause the Nburn version of make to be properly executed through the "Build System Files" button on the GUI, I'd love to know.
Post Reply