473,473 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

make error / g++

I get this error when running a make file...

$ make -f TestMain.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
g++ -o TestMain TestMain.o M.o S.o N.o
G__~1: M.o: No such file or directory
G__~1: S.o: No such file or directory
G__~1: N.o: No such file or directory

** error 1 ** deleting TestMain

the make file is...

TestMain : TestMain.o
g++ -o TestMain TestMain.o M.o S.o N.o
TestMain.o : TestMain.cpp
g++ -c TestMain.cpp
N.o : N.cpp
g++ -c N.cpp
M.o : M.cpp
g++ -c M.cpp
S.o : S.cpp
g++ -c S.cpp

Jul 23 '05 #1
2 2275

<sa************@hotmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I get this error when running a make file...

$ make -f TestMain.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
g++ -o TestMain TestMain.o M.o S.o N.o
G__~1: M.o: No such file or directory
G__~1: S.o: No such file or directory
G__~1: N.o: No such file or directory

** error 1 ** deleting TestMain


You'll have to ask in a Borland newsgroup. Problems with specific
compilers, especially as they relate to projects/makefiles/etc. are not
related to the C++ language, and are off-topic here.

-Howard
Jul 23 '05 #2


sa************@hotmail.com wrote:
I get this error when running a make file...

$ make -f TestMain.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
g++ -o TestMain TestMain.o M.o S.o N.o
G__~1: M.o: No such file or directory
G__~1: S.o: No such file or directory
G__~1: N.o: No such file or directory

** error 1 ** deleting TestMain

the make file is...

TestMain : TestMain.o
g++ -o TestMain TestMain.o M.o S.o N.o
TestMain.o : TestMain.cpp
g++ -c TestMain.cpp
N.o : N.cpp
g++ -c N.cpp
M.o : M.cpp
g++ -c M.cpp
S.o : S.cpp
g++ -c S.cpp


Off-topic though
Read the documentation for make. In your particular case the problem
are
the dependencies for the target TestMain, you don't specify it needs
M.o N.o and S.o.

regards, Stephan

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Barry C.Hawkins | last post by:
List, Hello. I am trying to get PostgreSQL 7.3.4 installed after moving to Mac OS 10.3, known as Panther. I am using the following configure statement: pbg417:/usr/local/src/postgresql-7.3.4...
9
by: Joel Rodrigues | last post by:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any ideas ? ---------------------------------------------------------- ar: illegal option -- s usage: ar -d archive file ......
10
by: DataBard007 | last post by:
Hello Access Gurus: I use Win98SE and Access97. I just built a simple Access97 application which holds all contact information for my personal contacts, such as first name, last name, address,...
42
by: WindAndWaves | last post by:
Dear All Can you tell me why you use a class module??? Thank you Nicolaas ---
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
8
by: Seeker | last post by:
Hello, In using Solaris Pro Compiler to compile Pro*C code. I am getting this error: make: Fatal error in reader: parser_proc_online.mk, line 26: Badly formed macro assignment Based on other...
6
by: Ian Boyd | last post by:
Every time during development we had to make table changes, we use Control Center. Most of the time, Control Center fails. If you try to "undo all", it doesn't, and you end up losing your identity...
15
by: Michael B Allen | last post by:
I like to use limit pointers as sentinels when working on buffers of data. Meaning I use ptr < lim where ptr and lim are both pointers rather than n 0 to determine if it is safe to proceed writing...
5
by: PG | last post by:
I am trying to compile a simple ODBC and C example on Windows XP SP2. I have Cygwin_NT 5.1. This is the code (obtained from...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.