Mail Archives: djgpp/1998/02/09/07:20:04
On 9 Feb 98, Trond Erik Bones was found to have commented thusly:
> When compiling I get the following msg :
>
> rm -f ../../lib/liblaba_util.a
> make.exe: *** [liblaba_util.a] Error -1
>
> The makefile is attached !
>
> What can be wrong ?
Your first rule on the target is apparently attempting to delete the
current archive (library) file and not finding it. This (probably)
produces a fatal error with 'make'. Check the macro you define as
ROOT, set equal to "../..". You are probably not in the
subdirectoy you want to be in when executing make. You might want to
re-think your strategy of using relative pathname addressing versus
absolute pathname addressing. How about setting ROOT to something
like: "<d>:/djgpp" where <d> is your drive letter?
I noticed too that you are including debugging information in your
library (look at the '-g' flag you have set). I rather thought
libraries represented "mature", fully-tested code in most
situations, and you would re-consider putting debug info in them.
Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara TURKEY
mitch AT duzen DOT com DOT tr
other job title: Sequoia's (dob 12-20-95) daddy
- Raw text -