The first time I build vim on Cygwin with "make -j8" following
a "make distclean", I get the following error.

    In file included from winclip.c:17:
    vim.h:254:11: fatal error: auto/osdef.h: No such file or directory
      254 | # include "auto/osdef.h"        // bring missing declarations in
          |           ^~~~~~~~~~~~~~
    compilation terminated.
    OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
    make[2]: *** [Makefile:3472: objects/winclip.o] Error 1
    make[2]: *** Waiting for unfinished jobs....

Executing another "make -j8" proceeds without any errors, presumably
because auto/osfdef.h has been built by that time.

I looked in src/Makefile and saw that it did not include an entry
for objects/winclip.o in its list of dependencies automatically
generated by "make depend".  I executed "make depend" and checked
src/Makefile again.  That added a rule for objects/winclip.o.

Then I executed "make distclean" and "make -j8" and the build
completed with no errors.

Am I supposed to have to run "make depend" myself on some systems?

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211026000509.GA23582%40phoenix.

Raspunde prin e-mail lui