kellnerp said:
...
make[2]: Entering directory `/usr/share/SPOOLES/A2/drivers'
make[2]: *** No rule to make target `../../spooles.a', needed by `test_norms'. Stop.
I do not know your UNIX/Linux background. Perhaps this all is stuff you know.
In your directory `/usr/share/SPOOLES/A2/drivers, there is a Makefile with a target called "test_norms" that requires spooles.a. I forget what exactly it is you call *.a files, as I am away from my Linux box, but they are executable libraries. They are sort of like a Windows DLL.
In the Makefile, the target looks sort of like this...
test_norms: *****.* *********.* spooles.a ***.*
gcc *****.* *********.* spooles.a ***.*
The file spooles.a either has to be in the directory somehow, or there must be a target in your Makefile that tells you how to make it.
Suggestions, from your compile root directory:
$ find . -type f -name spooles.a -print
The $ is your bash shell command prompt. The above line of code will search down through your directory tree for the file spooles.a. It might not be located where it is supposed to be.
Open the file /usr/share/SPOOLES/A2/drivers/Makefile. Search for references to spooles.a. If some "make" target requires it, there must be a way to provide it. Perhaps something got commented out. Perhaps there is a typo somewhere. Perhaps there is a comment that explains stuff.
$ make clean
$ grep -rl spooles\.a .
This will seach down through your directory tree and list any file that contains the text string "spooles.a". I recommend the "make clean" because you do not want to search executables and object code. I escaped the period character with a backslash. I am not sure, but I think you will need to do this.
I do all my compiles in /usr/local. I have mounted /usr/local as a partition separate from the operating system. I can reformat and reinstall the root (main operating system) partition, and it will have no effect on stuff I compiled. Probably, you do not want to go through with this again.
JHG