Tony Mechelynck wrote:

> After about two weeks AFK, downloaded 7.3 patches 981 to 1115 (and
> intervening runtime changes), tried to compile (full build, "make
> reconfig").
>
> Tiny build fails as follows:
>
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -I/usr/local/include  -O2
> -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o
> objects/regexp.o regexp.c
> In file included from regexp.c:7875:0:
> regexp_nfa.c: In function ‘nfa_regmatch’:
> regexp_nfa.c:4794:3: warning: implicit declaration of function
> ‘reg_match_visual’ [-Wimplicit-function-declaration]
> [...]
> link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
>   gcc   -L/usr/local/lib -Wl,--as-needed        -o vi objects/buffer.o
> objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o
> objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o
> objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o
> objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o
> objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o
> objects/menu.o objects/message.o objects/misc1.o objects/misc2.o
> objects/move.o objects/mbyte.o objects/normal.o objects/ops.o
> objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o
> objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o
> objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o
> objects/term.o objects/ui.o objects/undo.o objects/version.o
> objects/window.o             objects/main.o objects/memfile.o        -lm
> -lncurses  -ldl
> objects/regexp.o: In function `nfa_regmatch':
> regexp.c:(.text+0x3f2c): undefined reference to `reg_match_visual'
> collect2: ld returned 1 exit status
> link.sh: Linking failed
> make: *** [vi] Error 1
> exit status 2


Attached patch should fix the 'tiny' build + a comment typo.

Regards
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

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: fix-tiny-build-regexp_nfs.c-7.3.1115.patch
Description: Binary data

Raspunde prin e-mail lui