make bug (paths)

Have a question about our Software Developer Kit? Ask them here.

make bug (paths)

Postby xenic » Fri Jul 20, 2018 7:31 pm

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
xenic
 
Posts: 1148
Joined: Sun Jun 19, 2011 1:06 am

Re: make bug (paths)

Postby broadblues » Fri Jul 20, 2018 11:00 pm

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

[edit]
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
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 3 guests