bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make 3.80 DOSBuild error


From: Chi Lam
Subject: Make 3.80 DOSBuild error
Date: Thu, 25 Sep 2003 13:55:56 +1000

Hi 

I get the following error when I try to build Make v3.80 using gcc v3.31

==================================================================

C:\Temp\make-3.80>dosbuild
Building Make for MSDOS

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g commands.c -o
comm
ands.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g job.c -o job.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g dir.c -o dir.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g file.c -o
file.o
file.c: In function `file_timestamp_cons':
file.c:553: warning: comparison is always true due to limited range of data
type


C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g misc.c -o
misc.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g main.c -o
main.o
main.c: In function `main':
main.c:874: error: `LOCALEDIR' undeclared (first use in this function)
main.c:874: error: (Each undeclared identifier is reported only once
main.c:874: error: for each function it appears in.)

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H
-DINCLUDEDIR=\"c:/djgpp/i
nclude\" -O2 -g read.c -o read.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H
-DLIBDIR=\"c:/djgpp/lib\"
 -O2 -g remake.c -o remake.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g rule.c -o
rule.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g implicit.c -o
impl
icit.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g default.c -o
defau
lt.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g variable.c -o
vari
able.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g expand.c -o
expand
.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g function.c -o
func
tion.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g vpath.c -o
vpath.o


C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g version.c -o
versi
on.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g ar.c -o ar.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g arscan.c -o
arscan
.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g signame.c -o
signa
me.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g remote-stub.c
-o r
emote-stub.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g getopt.c -o
getopt
.o

C:\Temp\make-3.80>gcc  -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g getopt1.c -o
getop
t1.o

C:\Temp\make-3.80\glob>gcc -I. -c -DHAVE_CONFIG_H -I.. -O2 -g glob.c -o
glob.o
In file included from glob.c:203:
glob.c: In function `glob':
glob.c:197: warning: passing arg of `my_realloc' from incompatible pointer
type
In file included from glob.c:203:
glob.c:197: warning: passing arg of `my_realloc' from incompatible pointer
type
In file included from glob.c:203:
glob.c:197: warning: passing arg of `my_realloc' from incompatible pointer
type
In file included from glob.c:203:
glob.c: In function `glob_in_dir':
glob.c:197: warning: passing arg of `my_realloc' from incompatible pointer
type

C:\Temp\make-3.80\glob>gcc -I. -c -DHAVE_CONFIG_H -I.. -O2 -g fnmatch.c -o
fnmat
ch.o

C:\Temp\make-3.80\glob>ar rv libglob.a glob.o fnmatch.o
a - glob.o
a - fnmatch.o
Linking...

C:\Temp\make-3.80>gcc -o make.new @respf.$$$
gcc.exe: main.o: No such file or directory (ENOENT)
Make.exe build failed... 

============================================================================
===========

Can you help? I've also attached the makefile created by configure.

 <<Makefile>> 
Regards,

Chi Lam
Software Engineer (Embedded Real-Time)
ResMed Ltd.
97 Waterloo Road
North Ryde NSW 2113
Tel: +61 2 9886 5000
Direct: +61 2 9886 5209
Fax: +61 2 9878 5564
Internet: www.resmed.com
E-mail: address@hidden


Warning:  Copyright ResMed. Where the contents of this email and/or attachment 
includes materials prepared by ResMed, the use of those materials is subject 
exclusively to the conditions of engagement between ResMed and the intended 
recipient.
This communication is confidential and may contain legally privileged 
information. By the use of email over the Internet or other communication 
systems, ResMed is not waiving either confidentiality of, or legal privilege 
in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call 
ResMed immediately on  +61 2 9886 5000 Sydney, Australia.

Attachment: Makefile
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]