ZyX wrote:

> While cross-compiling vim for target i686-mingw32 I sometimes encounter errors
>   Assembler messages:
>   Fatal error: can't create gobj/charset.o: No such file or directory
>   Assembler messages:
>   Fatal error: can't create gobj/blowfish.o: No such file or directory
>   Assembler messages:
>   Fatal error: can't create gobj/diff.o: No such file or directory
>   Assembler messages:
>   Fatal error: can't create gobj/buffer.o: No such file or directory
> . These errors does not happen on second run or happen in other place.
> What does it mean and how can I fix it?


The Makefile is not safe somehow with -j (parallel build).

Try doing "make depend" and try again.  The dependencies
are not up-to-date I see.  When I do "make depends", it adds
the following dependencies:

 objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \
 auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
 regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
 globals.h farsi.h arabic.h

I can't guarantee that this will be enough  to make make work
with parallel builds though.  Tracking the missing dependencies
in the makefile can be tricky I think.  A tool which could help is
"clearmake" (I don't have it), which audits the build at the OS level
and which can tell what what are all the files used to build each
derived objects (the files created by the build such as *.o, *a,
executables).

-- Dominique

-- 
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

Raspunde prin e-mail lui