Hi,

I am trying to build a terminal version of VIM that includes terminal
support.  My build line run in the src directory are:

nmake -nologo -f make_mvc.mak TERMINAL=yes FEATURES=BIG

The final link fails with:

vterm_unicode.obj : error LNK2001: unresolved external symbol utf_uint2cells
vterm_unicode.obj : error LNK2001: unresolved external symbol
utf_iscomposing_uint
vim.exe : fatal error LNK1120: 2 unresolved externals

The invoked compilation command is:

cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE
-DFEAT_TERMINAL -DFEAT_SOUND        -DWINVER=0x0501
-D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox
/GL -DNDEBUG  /Zl /MT /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME
-DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_PYTHON -DDYNAMIC_PYTHON
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_BIG /Fd.\ObjCYAMD64/ /Zi
/Fo.\ObjCYAMD64/ ...

The missing symbols are from mbyte.c and checking there I can see they
are compiled in if FEAT_TERMINAL is defined, which it appears to be.
And yes mbyte.c appears in the list of files to compile and compiled.

The vterm code seems to be derived at compile time and I don't have
time at the moment to delve into the build process to understand what
it is doing, and why it a reference to a symbol that should exist
fails.  And I checked that at compile time mbyte.c the symbols are
being compiled.

Willing to try suggestions/patches if no one else can reproduce.

TTFN

-- 
Mike

-- 
-- 
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/CAKz_cXYZatuE6XS%3DkK06uHYH_FAZGuL9kmpeESiaP6WnwXNtfA%40mail.gmail.com.

Raspunde prin e-mail lui