Tried that but getting same errors! One other thing...at the end of the makefile there's a list of the object files and their dependencies:
Code:
.......................................................
.......................................................
########################################################################
# DO NOT DELETE THIS LINE -- make depend depends on it.
init_sac_header.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
init_sac_header.o: /usr/include/sys/va_list.h ../qlib2/qlib2.h
init_sac_header.o: /usr/include/sys/param.h /usr/include/sys/types.h
init_sac_header.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
init_sac_header.o: /usr/include/sys/int_types.h /usr/include/sys/select.h
init_sac_header.o: /usr/include/sys/time.h /usr/include/sys/time.h
init_sac_header.o: /usr/include/sys/unistd.h ../qlib2/drm_seismo.h procs.h
init_sac_header.o: sachead.h
ms2sac.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
ms2sac.o: /usr/include/sys/va_list.h version.h ../qlib2/qlib2.h
ms2sac.o: /usr/include/sys/param.h /usr/include/sys/types.h
ms2sac.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
ms2sac.o: /usr/include/sys/int_types.h /usr/include/sys/select.h
ms2sac.o: /usr/include/sys/time.h /usr/include/sys/time.h
ms2sac.o: /usr/include/sys/unistd.h ../qlib2/drm_seismo.h procs.h sachead.h
........... ETC ETC ...........
Sorry for the big ream! A lot of these .h files do not exist on my system (Suse10.1) and I've checked Mandrake 9.2 as well and they're not there....eg
/usr/include/sys/feature_tests.h
Code:
make: *** No rule to make target `/usr/include/sys/feature_tests.h', needed by `ms2sac.o'. Stop.
I googled this and it seems that these redundant(?) entries can just be deleted from the makefile. Once I do this I run make to get the original errors...I do not think that the removal of these entries has any bearing on it - although I could well be wrong!
So all in all I'm still stuck!