Dear Make developers, I am trying to run a "load" example from manual[1] and get a failure: $ make-4.0/make Makefile:4: mk_temp.so: cannot open shared object file: No such file or directory Makefile:4: *** mk_temp.so: failed to load. Stop.
However, if I compile mk_temp.so manually and run, it works: $ gcc -shared -fPIC -o mk_temp.so mk_temp.c -Imake-4.0 $ make-4.0/make Temporary file: tmpfile.OpzU61 Where can be the culprit? I am running Debian testing with a self-compiled Make. I expect make to compile the file before attempting to load it. By the way, gcc warns about an incorrect signature of gen_tmpfile (of the example[1]): argc is unsigned in gnumake.h; should be updated in the manual. Reproduced with make-3.99.90, make-3.99.93 and make-4.0. [1]: http://www.gnu.org/software/make/manual/html_node/Loaded-Object-Example.html#Loaded-Object-Example -- Motiejus Jakštys _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
