make bug (paths)

Have a question about our Software Developer Kit? Ask them here.
Post Reply
Posts: 1182
Joined: Sun Jun 19, 2011 12:06 am

make bug (paths)

Post by xenic »

I encountered a bug in make 53.3 that was uploaded to OS4Depot last summer. I'm assuming it was intended to be part of the SDK since Solie uploaded it. I hope he's still monitoring these forums.

If a makefile rule has a prerequisite (file.c) preceed by a parent path like this:

ftbase.ppc.o: ../../src/base/ftbase.c
<tab>$(CC) -c $(CFLAGS) -o $@ ../../src/base/ftbase.c

make 53.3 reports this error:

make: *** No rule to make target `../../src/base/ftbase.c', needed by `ftbase.ppc.o'. Stop.

The problem is with ' ../../ ' in the rule. GCC has no problem with the path on the compile line.

There is no such problem with make 53.1; it compiles the file with no problems.

Can someone file a bug report and get make 53.1 fixed?
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 596
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK

Re: make bug (paths)

Post by broadblues »

Since the port is by Stepehen ssolie you probably email him your bug report.

I have make_533 installed but am not using it (hence the renaming to make_533) not 100% sure but I think various issue were discussed with Stephen on IRC
Post Reply