Date: Tue, 29 Dec 1998 15:42:29 +0200 (IST) From: Ofer Corshid To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: Almost A perfect linking... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Hello, I tried to compile and linke it using gmake and it gave me the same result. This is my Makefile: OBJS=main.o foo.o CXXFLAGS=-Wall -g main: $(OBJS) g++ $(CXXFLAGS) $(OBJS) -o main foo.o:foo.cc foo.hh main.o:main.cc main.hh On Tue, 29 Dec 1998, Eli Zaretskii wrote: > > On Mon, 28 Dec 1998, oferco wrote: > > > foo.o: file not recognized: File truncated > > make: *** [moo] Error 1 > > > > Of course, foo.cc & foo.hh, moo.cc and moo.hh, are part of the program. > > Both are compiled OK. > > Please post the exact command(s) used to compile and link the relevant > files. Since this was done via Make, please also post the relevant > parts of the Makefile you used. >