Many errors trying to make tiny build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Many errors trying to make tiny build

Tony Mechelynck
With the following config arguments:

export CONF_OPT_X='--without-x'
export CONF_OPT_GUI='--disable-gui'
export CONF_OPT_FEAT='--with-features=tiny'
export CONF_OPT_PERL='--disable-perlinterp'
export CONF_OPT_PYTHON='--disable-pythoninterp'
export CONF_OPT_TCL='--disable-tclinterp'
export CONF_OPT_RUBY='--disable-rubyinterp'
export CONF_OPT_MZSCHEME='--disable-mzschemeinterp'
export CONF_OPT_CSCOPE='--disable-cscope'
export CONF_OPT_MULTIBYTE='--disable-multibyte'
export CONF_OPT_COMPBY='"--with-compiledby=[hidden email]"'
export CONF_OPT_NETBEANS='--disable-netbeans'
export CONF_OPT_NLS='--disable-nls'
export CONF_OPT_ACL='--disable-acl'
export CONF_OPT_GPM='--disable-gpm'
export CONF_OPT_SYSMOUSE='--disable-sysmouse'
export CONF_ARGS='--with-vim-name=vi'

I get the following messages:

[...]
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall
-D_FORTIFY_SOURCE=1          -o objects/term.o term.c
term.c:79: warning: ‘term_color’ declared ‘static’ but never defined
term.c:80: warning: ‘gather_termleader’ declared ‘static’ but never defined
term.c:92: warning: ‘del_termcode_idx’ declared ‘static’ but never defined
term.c:1450: warning: ‘need_gather’ defined but not used
term.c:1451: warning: ‘termleader’ defined but not used
term.c:2592: warning: ‘out_char_nf’ declared ‘static’ but never defined
[...]
   gcc   -L/usr/local/lib -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/main.o objects/mark.o
objects/memfile.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/window.o           objects/version.o       -lm
-lncurses
objects/edit.o: In function `display_dollar':
edit.c:(.text+0x1969): undefined reference to `cursor_off'
objects/ex_cmds.o: In function `print_line':
ex_cmds.c:(.text+0x2530): undefined reference to `cursor_on'
objects/ex_cmds.o: In function `do_fixdel':
ex_cmds.c:(.text+0x28de): undefined reference to `find_termcode'
ex_cmds.c:(.text+0x2909): undefined reference to `add_termcode'
objects/ex_cmds.o: In function `do_shell':
ex_cmds.c:(.text+0x2a65): undefined reference to `stoptermcap'
ex_cmds.c:(.text+0x2ab9): undefined reference to `swapping_screen'
ex_cmds.c:(.text+0x2ac9): undefined reference to `cursor_on'
ex_cmds.c:(.text+0x2aee): undefined reference to `swapping_screen'
ex_cmds.c:(.text+0x2b18): undefined reference to `swapping_screen'
ex_cmds.c:(.text+0x2b45): undefined reference to `starttermcap'
objects/ex_cmds.o: In function `do_bang':
ex_cmds.c:(.text+0x2ed0): undefined reference to `cursor_on'
objects/ex_docmd.o: In function `do_sleep':
ex_docmd.c:(.text+0x62c): undefined reference to `cursor_on'
objects/ex_docmd.o: In function `not_exiting':
ex_docmd.c:(.text+0x948): undefined reference to `settmode'
objects/ex_docmd.o: In function `ex_winpos':
ex_docmd.c:(.text+0x1658): undefined reference to `term_set_winpos'
objects/ex_docmd.o: In function `ex_winsize':
ex_docmd.c:(.text+0x16d8): undefined reference to `set_shellsize'
objects/ex_docmd.o: In function `ex_stop':
ex_docmd.c:(.text+0x1854): undefined reference to `stoptermcap'
ex_docmd.c:(.text+0x1866): undefined reference to `starttermcap'
ex_docmd.c:(.text+0x186b): undefined reference to `scroll_start'
objects/ex_docmd.o: In function `do_exedit':
ex_docmd.c:(.text+0x57a5): undefined reference to `settmode'
objects/ex_docmd.o: In function `ex_stop':
ex_docmd.c:(.text+0x187b): undefined reference to `shell_resized'
objects/ex_docmd.o: In function `ex_mode':
ex_docmd.c:(.text+0x21d2): undefined reference to `shell_resized'
objects/ex_getln.o: In function `getexmodeline':
ex_getln.c:(.text+0x17dd): undefined reference to `cursor_on'
objects/ex_getln.o: In function `getcmdline':
ex_getln.c:(.text+0x2831): undefined reference to `settmode'
objects/fileio.o: In function `buf_write':
fileio.c:(.text+0x1b18): undefined reference to `settmode'
objects/fileio.o: In function `readfile':
fileio.c:(.text+0x4a9a): undefined reference to `settmode'
fileio.c:(.text+0x4aa1): undefined reference to `starttermcap'
objects/getchar.o: In function `inchar':
getchar.c:(.text+0xc0a): undefined reference to `cursor_on'
objects/getchar.o: In function `vgetorpeek':
getchar.c:(.text+0x1fe5): undefined reference to `check_termcode'
objects/getchar.o: In function `do_map':
getchar.c:(.text+0x4060): undefined reference to `replace_termcodes'
getchar.c:(.text+0x4554): undefined reference to `replace_termcodes'
objects/main.o: In function `main_loop':
main.c:(.text+0x3b0): undefined reference to `cursor_on'
objects/main.o: In function `main':
main.c:(.text+0x18e4): undefined reference to `settmode'
main.c:(.text+0x1905): undefined reference to `starttermcap'
main.c:(.text+0x1918): undefined reference to `scroll_start'
main.c:(.text+0x1add): undefined reference to `starttermcap'
main.c:(.text+0x1af0): undefined reference to `scroll_region_reset'
main.c:(.text+0x1af5): undefined reference to `scroll_start'
objects/message.o: In function `msg_use_printf':
message.c:(.text+0x313): undefined reference to `swapping_screen'
objects/message.o: In function `msg_clr_eos_force':
message.c:(.text+0x3f4): undefined reference to `out_str'
objects/message.o: In function `wait_return':
message.c:(.text+0x2245): undefined reference to `swapping_screen'
message.c:(.text+0x22f3): undefined reference to `starttermcap'
message.c:(.text+0x25d0): undefined reference to `starttermcap'
objects/message.o: In function `msg_start':
message.c:(.text+0x29c1): undefined reference to `cursor_off'
objects/message.o: In function `wait_return':
message.c:(.text+0x25dc): undefined reference to `shell_resized'
objects/misc1.o: In function `prepare_to_exit':
misc1.c:(.text+0x54a): undefined reference to `settmode'
misc1.c:(.text+0x54f): undefined reference to `stoptermcap'
objects/misc1.o: In function `preserve_exit':
misc1.c:(.text+0x57e): undefined reference to `out_str'
misc1.c:(.text+0x5c8): undefined reference to `out_str'
misc1.c:(.text+0x5e8): undefined reference to `out_str'
objects/misc1.o: In function `vim_beep':
misc1.c:(.text+0x2141): undefined reference to `out_str'
objects/misc1.o: In function `get_keystroke':
misc1.c:(.text+0x23d4): undefined reference to `cursor_on'
misc1.c:(.text+0x244d): undefined reference to `check_termcode'
objects/misc1.o: In function `ask_yesno':
misc1.c:(.text+0x2681): undefined reference to `settmode'
objects/misc2.o: In function `call_shell':
misc2.c:(.text+0x1a90): undefined reference to `shell_resized_check'
misc2.c:(.text+0x1ad4): undefined reference to `cursor_on'
objects/normal.o: In function `normal_cmd':
normal.c:(.text+0x58c9): undefined reference to `cursor_on'
objects/option.o: In function `clear_termoptions':
option.c:(.text+0x1697): undefined reference to `stoptermcap'
objects/option.o: In function `set_num_option':
option.c:(.text+0x25af): undefined reference to `check_shellsize'
option.c:(.text+0x2795): undefined reference to `set_shellsize'
objects/option.o: In function `T.456':
option.c:(.text+0x417c): undefined reference to `ttest'
option.c:(.text+0x4192): undefined reference to `out_str'
option.c:(.text+0x4648): undefined reference to `replace_termcodes'
option.c:(.text+0x4873): undefined reference to `ttest'
option.c:(.text+0x48f6): undefined reference to `ttest'
objects/option.o: In function `do_set':
option.c:(.text+0x4edd): undefined reference to `show_termcodes'
option.c:(.text+0x528f): undefined reference to `cursor_on'
option.c:(.text+0x550b): undefined reference to `find_termcode'
option.c:(.text+0x552a): undefined reference to `show_one_termcode'
option.c:(.text+0x5dab): undefined reference to `add_termcode'
option.c:(.text+0x5dcb): undefined reference to `ttest'
objects/option.o: In function `free_termoptions':
option.c:(.text+0x1670): undefined reference to `clear_termcodes'
objects/option.o: In function `get_term_code':
option.c:(.text+0x1b15): undefined reference to `find_termcode'
objects/os_unix.o: In function `mch_suspend':
os_unix.c:(.text+0x413): undefined reference to `settmode'
os_unix.c:(.text+0x438): undefined reference to `settmode'
objects/os_unix.o: In function `mch_call_shell':
os_unix.c:(.text+0x8eb): undefined reference to `settmode'
os_unix.c:(.text+0x994): undefined reference to `settmode'
os_unix.c:(.text+0xd2c): undefined reference to `cursor_on'
os_unix.c:(.text+0x1093): undefined reference to `settmode'
objects/os_unix.o: In function `deathtrap':
os_unix.c:(.text+0x182c): undefined reference to `out_str'
objects/os_unix.o: In function `mch_set_shellsize':
os_unix.c:(.text+0x18ca): undefined reference to `term_set_winsize'
objects/os_unix.o: In function `get_stty':
os_unix.c:(.text+0x1aca): undefined reference to `add_termcode'
os_unix.c:(.text+0x1ad6): undefined reference to `find_termcode'
objects/os_unix.o: In function `mch_exit':
os_unix.c:(.text+0x1d28): undefined reference to `settmode'
os_unix.c:(.text+0x1d2d): undefined reference to `swapping_screen'
os_unix.c:(.text+0x1d40): undefined reference to `stoptermcap'
os_unix.c:(.text+0x1d45): undefined reference to `swapping_screen'
os_unix.c:(.text+0x1d97): undefined reference to `cursor_on'
objects/os_unix.o: In function `mch_delay':
os_unix.c:(.text+0x2529): undefined reference to `settmode'
os_unix.c:(.text+0x2568): undefined reference to `settmode'
objects/os_unix.o: In function `handle_resize':
os_unix.c:(.text+0x3392): undefined reference to `shell_resized'
objects/screen.o: In function `reset_cterm_colors':
screen.c:(.text+0x3c1): undefined reference to `out_str'
screen.c:(.text+0x401): undefined reference to `out_str'
objects/screen.o: In function `showmode':
screen.c:(.text+0x65b): undefined reference to `cursor_off'
objects/screen.o: In function `screen_stop_highlight':
screen.c:(.text+0x8cc): undefined reference to `out_str'
screen.c:(.text+0x914): undefined reference to `out_str'
screen.c:(.text+0x92c): undefined reference to `out_str'
screen.c:(.text+0x951): undefined reference to `out_str'
screen.c:(.text+0x95f): undefined reference to `term_bg_color'
screen.c:(.text+0x96f): undefined reference to `term_fg_color'
screen.c:(.text+0x97c): undefined reference to `out_str'
screen.c:(.text+0x9de): undefined reference to `out_str'
objects/screen.o: In function `windgoto':
screen.c:(.text+0xa8b): undefined reference to `term_windgoto'
screen.c:(.text+0xb4f): undefined reference to `term_cursor_right'
screen.c:(.text+0xdcc): undefined reference to `out_str'
objects/screen.o: In function `screenclear2':
screen.c:(.text+0x103e): undefined reference to `out_str'
objects/screen.o: In function `screenalloc':
screen.c:(.text+0x1112): undefined reference to `win_new_shellsize'
objects/screen.o: In function `screen_del_lines':
screen.c:(.text+0x1661): undefined reference to `out_str'
screen.c:(.text+0x16a9): undefined reference to `out_str'
screen.c:(.text+0x17e4): undefined reference to `out_str'
screen.c:(.text+0x1833): undefined reference to `out_str'
screen.c:(.text+0x1867): undefined reference to `term_delete_lines'
objects/screen.o: In function `screen_ins_lines':
screen.c:(.text+0x1b6f): undefined reference to `out_str'
screen.c:(.text+0x1ba0): undefined reference to `out_str'
screen.c:(.text+0x1ccf): undefined reference to `out_str'
screen.c:(.text+0x1d01): undefined reference to `term_append_lines'
objects/screen.o: In function `screen_char':
screen.c:(.text+0x1e1c): undefined reference to `out_str'
screen.c:(.text+0x1e4a): undefined reference to `out_str'
screen.c:(.text+0x1e69): undefined reference to `out_str'
screen.c:(.text+0x1e81): undefined reference to `out_str'
screen.c:(.text+0x1e96): undefined reference to `out_str'
screen.c:(.text+0x1f0a): undefined reference to `term_bg_color'
screen.c:(.text+0x1f2b): undefined reference to `out_str'
screen.c:(.text+0x1f42): undefined reference to `term_fg_color'
objects/screen.o: In function `screen_fill':
screen.c:(.text+0x22aa): undefined reference to `term_windgoto'
screen.c:(.text+0x22b7): undefined reference to `out_str'
objects/screen.o: In function `win_do_lines':
screen.c:(.text+0x23e1): undefined reference to `scroll_region_set'
screen.c:(.text+0x241d): undefined reference to `scroll_region_reset'
objects/screen.o: In function `T.296':
screen.c:(.text+0x2947): undefined reference to `out_str'
screen.c:(.text+0x2bf3): undefined reference to `term_windgoto'
objects/screen.o: In function `update_screen':
screen.c:(.text+0x4d91): undefined reference to `cursor_off'
objects/search.o: In function `showmatch':
search.c:(.text+0x1b6b): undefined reference to `cursor_on'
objects/syntax.o: In function `do_highlight':
syntax.c:(.text+0x1cb0): undefined reference to `term_fg_color'
syntax.c:(.text+0x202c): undefined reference to `term_bg_color'
objects/term.o: In function `add_termcap_entry':
term.c:(.text+0x2a7): undefined reference to `find_termcode'
term.c:(.text+0x387): undefined reference to `add_termcode'
term.c:(.text+0x3c7): undefined reference to `add_termcode'
objects/term.o: In function `set_termname':
term.c:(.text+0x600): undefined reference to `find_termcode'
term.c:(.text+0x60e): undefined reference to `find_termcode'
term.c:(.text+0x636): undefined reference to `add_termcode'
term.c:(.text+0x660): undefined reference to `add_termcode'
term.c:(.text+0x695): undefined reference to `ttest'
term.c:(.text+0x6b2): undefined reference to `starttermcap'
term.c:(.text+0x6ee): undefined reference to `set_shellsize'
term.c:(.text+0x786): undefined reference to `find_termcode'
term.c:(.text+0x7aa): undefined reference to `add_termcode'
term.c:(.text+0xc3a): undefined reference to `find_termcode'
term.c:(.text+0xc70): undefined reference to `add_termcode'
term.c:(.text+0xd43): undefined reference to `scroll_region_reset'
objects/ui.o: In function `fill_input_buf':
ui.c:(.text+0x154): undefined reference to `settmode'
ui.c:(.text+0x17c): undefined reference to `settmode'
objects/ui.o: In function `ui_get_shellsize':
ui.c:(.text+0x33f): undefined reference to `check_shellsize'
collect2: ld returned 1 exit status
make: *** [vi] Error 1



Best regards,
Tony.
--
This quote is taken from the Diamondback, the University of Maryland
student newspaper, of Tuesday, 3/10/87.

        One disadvantage of the Univac system is that it does not use
        Unix, a recently developed program which translates from one
        computer language to another and has a built-in editing system
        which identifies errors in the original program.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Many errors trying to make tiny build

Bram Moolenaar

Tony Mechelynck wrote:

> With the following config arguments:
>
> export CONF_OPT_X=3D'--without-x'
> export CONF_OPT_GUI=3D'--disable-gui'
> export CONF_OPT_FEAT=3D'--with-features=3Dtiny'
> export CONF_OPT_PERL=3D'--disable-perlinterp'
> export CONF_OPT_PYTHON=3D'--disable-pythoninterp'
> export CONF_OPT_TCL=3D'--disable-tclinterp'
> export CONF_OPT_RUBY=3D'--disable-rubyinterp'
> export CONF_OPT_MZSCHEME=3D'--disable-mzschemeinterp'
> export CONF_OPT_CSCOPE=3D'--disable-cscope'
> export CONF_OPT_MULTIBYTE=3D'--disable-multibyte'
> export CONF_OPT_COMPBY=3D'"--with-compiledby=[hidden email]=
> om"'
> export CONF_OPT_NETBEANS=3D'--disable-netbeans'
> export CONF_OPT_NLS=3D'--disable-nls'
> export CONF_OPT_ACL=3D'--disable-acl'
> export CONF_OPT_GPM=3D'--disable-gpm'
> export CONF_OPT_SYSMOUSE=3D'--disable-sysmouse'
> export CONF_ARGS=3D'--with-vim-name=3Dvi'
>
> I get the following messages:
>
> [...]
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall=20
> -D_FORTIFY_SOURCE=3D1          -o objects/term.o term.c
> term.c:79: warning: =91term_color=92 declared =91static=92 but never defi=
> ned
> term.c:80: warning: =91gather_termleader=92 declared =91static=92 but nev=
> er defined
> term.c:92: warning: =91del_termcode_idx=92 declared =91static=92 but neve=
> r defined
> term.c:1450: warning: =91need_gather=92 defined but not used
> term.c:1451: warning: =91termleader=92 defined but not used
> term.c:2592: warning: =91out_char_nf=92 declared =91static=92 but never d=
> efined

[...]

Same #ifdef problem mentioned in another thread.
Should be fixed now.

--
If you're sending someone Styrofoam, what do you pack it in?

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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