Mail Archives: djgpp/1999/04/22/08:48:05
On Thu, 22 Apr 1999, CRETEL Dominique wrote:
> Ok, thanks for your help Eli, but the rule used is not this one!
> You're right, I defined a wrong rule.
> The wrong rule I used to make library was:
They are both wrong.
(And, btw, you didn't have to define those rules at all, since GNU Make
already has these rules in its internal database.)
> But, at the end, I get an error message:
>
> ------------------------------------
> gcc -c -s -O2 -Wall -pedantic sflxmll.c
> sflxmll.c: In function `get_next_element_token':
> sflxmll.c:424: warning: suggest explicit braces to avoid ambiguous `else'
> ar cr libsfl.a sflxmll.o
> del sflxmll.o
> libsfl.a
> make.exe: *** [libsfl.a] Error -1
The error happens because Make tries to execute the library. You need to
find out why does it try to do that. I don't have your full Makefile
anymore to look into it.
- Raw text -