Hi,
> I followed all the steps as you said, but still I get the error:
>
> bash-2.04$ make depend.mk
> "depend.mk", line 0: make: 1254-027 Cannot open depend.mk.
> make: 1254-058 Fatal errors encountered -- cannot continue.
I really don't like the sound of this.
The target for depend.mk is very simple and should cause no errors.
Pity the error message isn't a bit more informative.
Option 1:
One possibility is the include depend.mk line.
It is the last line in $FSLDIR/etc/rules.mk
remove this line and see if you have more luck.
Option 2:
If not, is gnu make that you are running, and if not, can you get a copy?
If so, try again.
> 1) -MM is supported (gcc compiler on AIX)
>
> 2) deleted the RM depend.mk things (3)
>
> 3) autoconfig moved to autoconfig_hidden
>
> where did I do wrong?
Nowhere as far as I can tell.
I'm more worried about your make program.
Option 3:
If the suggestions above (removing depend.mk and using gnu make) do not work
you can try to generate the depend.mk from the command line with no make
call by (in a /bin/sh shell):
for srcfile in *.c* ; do \
if [ -f $$srcfile ] ; then \
gcc -I${FSLDIR}/include ${USRINCFLAGS} -MM $$srcfile >> depend.mk ; \
fi \
done
where you'll have to set USRINCFLAGS from the appropriate line of the Makefile
in the directory that you are in.
Of course you might get into trouble later on, but it is worth a try.
Let me know how you get on.
Best of luck,
Mark
|