Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Build Problem
Build Problem [message #212210] Fri, 21 March 2008 04:14 Go to next message
Eclipse UserFriend
Originally posted by: hajer.jelloul.ardia.com.tn

Dear Sir,

I have installed Eclipse version 3.3.2

With Eclipse CDT and zylin plugin

I have on my PC the version 1.6.0_05 of java runtime

I also installed gcc version 4.2.2 and gnu make version 3.81


I wanted to test my environment so I created a simple project by following
the instructions described in this link

http://www.yagarto.de/howto/yagarto2/index.html#feature but I have not
succeeded to compile When I chose clean… from menu project, I got this
message:



**** Clean-only build of configuration Default for project NDTU_SW ****

make clean

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

rm -f NDTU_SW.o NDTU_SW.exe

AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x450000, State
0x10000

C:\Program Files\yagarto-tools-20070303\bin\rm.exe: *** Couldn't reserve
space for cygwin's heap, Win32 error 487



** error 1 ** deleting clean



And then when I build project I got this message



**** Build of configuration Default for project NDTU_SW ****



make all

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Fatal: 'NDTU_SW.o' does not exist - don't know how to make it



Note: I have tried to test the Ethernut3Test example, but I have not
succeeded I got this message




**** Clean-only build of configuration Default for project Ethernut3Test
****



make clean

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Error makefile 113: Too many rules for target '%o'

Error makefile 134: Command syntax error

*** 2 errors during make ***


Please tell me what's the origin of this problem is my first time that I
use Eclipse.
Re: Build Problem [message #212220 is a reply to message #212210] Fri, 21 March 2008 05:07 Go to previous messageGo to next message
Eclipse UserFriend
Hajer wrote:
> Dear Sir,
> I have installed Eclipse version 3.3.2
> With Eclipse CDT and zylin plugin
> I have on my PC the version 1.6.0_05 of java runtime
> I also installed gcc version 4.2.2 and gnu make version 3.81

>
> **** Clean-only build of configuration Default for project NDTU_SW ****
>
> make clean
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
>
> rm -f NDTU_SW.o NDTU_SW.exe
>
> AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x450000, State
> 0x10000
>
> C:\Program Files\yagarto-tools-20070303\bin\rm.exe: *** Couldn't reserve
> space for cygwin's heap, Win32 error 487

These 2 messages show that you have a mixed Borland / Cygwin
environment. You use Borland's make an Cygwin's rm.exe.

> Please tell me what's the origin of this problem is my first time that I
> use Eclipse.

The origin of your problem is at least the mixed environment. You should
use only an Eclipse CDT supported environment (and I think on Windows
that is either Cygwin or MingW and not Borland or VC). Setting Cygwin's
path before Borland's path will probably do the trick.

Joost
Re: Build Problem [message #212543 is a reply to message #212220] Tue, 25 March 2008 05:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hajer.jelloul.ardia.com.tn

Thank you for your answer.
I uninstalled all the others environment and I have left only the Eclipse
CDT environment, but I have problem. when I do clean, I get this message:

**** Clean-only build of configuration Default for project NDTU ****

make clean
rm -f NDTU.o NDTU.exe
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x450000, State
0x10000
C:\Program Files\yagarto-tools-20070303\bin\rm.exe: *** Couldn't reserve
space for cygwin's heap, Win32 error 487
make: *** [clean] Error 1

And after build I have this message

**** Build of configuration Default for project NDTU ****

make all
g++ -O2 -g -Wall -fmessage-length=0 -c -o NDTU.o NDTU.cpp
process_begin: CreateProcess(NULL, g++ -O2 -g -Wall -fmessage-length=0 -c
-o NDTU.o NDTU.cpp, ...) failed.
make (e=2): Le fichier spécifié est introuvable.

make: *** [NDTU.o] Error 2

in my Makefile you find this:

CXXFLAGS = -O2 -g -Wall -fmessage-length=0

OBJS = NDTU.o

LIBS =

TARGET = NDTU.exe

$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(OBJS) $(LIBS)

all: $(TARGET)

clean:
rm -f $(OBJS) $(TARGET)

Have you any idea about this problem?
Re: Build Problem [message #212566 is a reply to message #212543] Tue, 25 March 2008 06:56 Go to previous message
Eclipse UserFriend
Hajer wrote:
> Thank you for your answer.
> Have you any idea about this problem?


I have seen the following reasons for simular problems (hint: google for
"Couldn't reserve space for cygwin's heap, Win32 error 487 ")

- multiple cygwin dll's
- interference of anti virus software (all brands)
- too many open files in the Cygwin environment
- old version of the Cygwin dll

Gr

Joost
Previous Topic:How to reconnect svn repository after ip address changed?
Next Topic:completion request
Goto Forum:
  


Current Time: Sat Jun 07 10:20:09 EDT 2025

Powered by FUDForum. Page generated in 0.03021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top