After applying patches 9.2.155 to 9.2.161, build failure, only in Tiny build with Motif GUI

7 views
Skip to first unread message

Tony Mechelynck

unread,
Mar 13, 2026, 9:12:00 PM (10 days ago) Mar 13
to Christian Brabandt, vim_dev
After applying patches 9.2.155 to 9.2.161, I get the folowing error in
Tiny with Motif GUI (xterm_dpy undeclared at drawline.c:1465:21):

# (make -j4 || echo 'exit status' $? ; date) 2>&1 |tee -a make.log
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2
-fno-strength-reduce -Wall -Wno-deprecated-declarations -D_REENTRANT
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/drawline.o
drawline.c
[gcc command-lines for a few other modules]
drawline.c: In function ‘win_line’:
drawline.c:1465:21: error: ‘xterm_dpy’ undeclared (first use in this function)
1465 | if (xterm_dpy
| ^~~~~~~~~
drawline.c:1465:21: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [Makefile:3273: objects/drawline.o] Error 1
make: *** Waiting for unfinished jobs....
exit status 2
Sat 14 Mar 01:21:03 CET 2026

My configuration (set in bash by environment variables) is as follows
in this shell:
export CONF_OPT_GUI='--enable-gui=motif'
export CONF_OPT_FEAT='--with-features=tiny'
export CONF_ARGS2='--with-vim-name=vim-small'
export CONF_OPT_COMPBY='"--with-compiledby=antoine.m...@gmail.com"'

No error in my other builds, i.e.
• Huge with GTK3 GUI, terminal, and as many interpreted languages as I
could find how to build
• Huge with GTK3 GUI and no terminal or interpreted languages
• Normal with Motif GUI
• Tiny with no GUI

Best regards,
Tony.

Christian Brabandt

unread,
Mar 14, 2026, 7:31:02 AM (9 days ago) Mar 14
to Tony Mechelynck, vim_dev
Hi Tony,
thanks, that was a bit tricky. Fix is part of this change here:
https://github.com/vim/vim/pull/19676

Thanks,
Chris
Mit freundlichen Grüßen
Christian
--
10) there is no 10, but it sounded like a nice number :)
-- Wichert Akkerman
Reply all
Reply to author
Forward
0 new messages