Hi,
I got some problems to comile vim (current patch level) on an Orangs
PI PC (Allwinner H3) and Armbian Linux.
The make command:
./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge --enable-luainterp=yes --enable-pythoninterp && make
The compilation itsself does not prodyce any error.
The linking fails:
gcc -L/usr/local/lib -Wl,--as-needed -o vim objects/arabic.o objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.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/list.o objects/mark.o objects/memline.o objects/menu.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/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o objects/gui.o objects/gui_athena.o objects/gui_x11.o objects/pty.o objects/gui_beval.o objects/gui_at_sb.o objects/gui_at_fs.o objects/netbeans.o objects/channel.o objects/json.o objects/main.o objects/memfile.o objects/message.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl -lm -ltinfo -lnsl -ldl
objects/edit.o: In function `change_indent':
edit.c:(.text+0x88d2): undefined reference to `GOMP_parallel'
objects/edit.o: In function `change_indent._loopfn.0':
edit.c:(.text+0xd9ea): undefined reference to `omp_get_num_threads'
edit.c:(.text+0xd9f0): undefined reference to `omp_get_thread_num'
objects/fileio.o: In function `readfile':
fileio.c:(.text+0x59d0): undefined reference to `GOMP_parallel'
objects/fileio.o: In function `readfile._loopfn.0':
fileio.c:(.text+0xac08): undefined reference to `omp_get_num_threads'
fileio.c:(.text+0xac0e): undefined reference to `omp_get_thread_num'
objects/hardcopy.o: In function `prt_write_real':
hardcopy.c:(.text+0x112a): undefined reference to `GOMP_parallel'
objects/hardcopy.o: In function `prt_write_real._loopfn.0':
hardcopy.c:(.text+0x475e): undefined reference to `omp_get_num_threads'
hardcopy.c:(.text+0x4764): undefined reference to `omp_get_thread_num'
objects/misc1.o: In function `set_indent':
misc1.c:(.text+0x292c): undefined reference to `GOMP_parallel'
objects/misc1.o: In function `ins_char_bytes':
misc1.c:(.text+0x301e): undefined reference to `GOMP_parallel'
objects/misc1.o: In function `get_cmd_output':
misc1.c:(.text+0xa9c4): undefined reference to `GOMP_parallel'
objects/misc1.o: In function `set_indent._loopfn.0':
misc1.c:(.text+0xba62): undefined reference to `omp_get_num_threads'
misc1.c:(.text+0xba68): undefined reference to `omp_get_thread_num'
objects/misc1.o: In function `ins_char_bytes._loopfn.1':
misc1.c:(.text+0xbbda): undefined reference to `omp_get_num_threads'
misc1.c:(.text+0xbbe0): undefined reference to `omp_get_thread_num'
objects/misc1.o: In function `get_cmd_output._loopfn.2':
misc1.c:(.text+0xbea6): undefined reference to `omp_get_num_threads'
misc1.c:(.text+0xbeac): undefined reference to `omp_get_thread_num'
objects/netbeans.o: In function `nb_get_buf':
netbeans.c:(.text+0x2a2): undefined reference to `GOMP_parallel'
objects/netbeans.o: In function `nb_get_buf._loopfn.0':
netbeans.c:(.text+0x3f5a): undefined reference to `omp_get_num_threads'
netbeans.c:(.text+0x3f60): undefined reference to `omp_get_thread_num'
objects/buffer.o: In function `build_stl_str_hl':
buffer.c:(.text+0x3eb8): undefined reference to `GOMP_parallel'
objects/buffer.o: In function `build_stl_str_hl._loopfn.0':
buffer.c:(.text+0x82b0): undefined reference to `omp_get_num_threads'
buffer.c:(.text+0x82b6): undefined reference to `omp_get_thread_num'
objects/ex_cmds.o: In function `ex_retab':
ex_cmds.c:(.text+0x2358): undefined reference to `GOMP_parallel'
objects/ex_cmds.o: In function `ex_retab._loopfn.0':
ex_cmds.c:(.text+0x9cb6): undefined reference to `omp_get_num_threads'
ex_cmds.c:(.text+0x9cbc): undefined reference to `omp_get_thread_num'
objects/ex_cmds2.o: In function `do_source':
ex_cmds2.c:(.text+0x51ba): undefined reference to `GOMP_parallel'
objects/ex_cmds2.o: In function `do_source._loopfn.0':
ex_cmds2.c:(.text+0x5d96): undefined reference to `omp_get_num_threads'
ex_cmds2.c:(.text+0x5d9c): undefined reference to `omp_get_thread_num'
objects/ex_getln.o: In function `init_history':
ex_getln.c:(.text+0x4a22): undefined reference to `GOMP_parallel'
ex_getln.c:(.text+0x4bfe): undefined reference to `GOMP_parallel'
objects/ex_getln.o: In function `init_history._loopfn.0':
ex_getln.c:(.text+0x9d72): undefined reference to `omp_get_num_threads'
ex_getln.c:(.text+0x9d78): undefined reference to `omp_get_thread_num'
objects/ex_getln.o: In function `init_history._loopfn.1':
ex_getln.c:(.text+0x9efe): undefined reference to `omp_get_num_threads'
ex_getln.c:(.text+0x9f04): undefined reference to `omp_get_thread_num'
objects/farsi.o: In function `farsi_f9':
farsi.c:(.text+0x2ac6): undefined reference to `GOMP_parallel'
objects/farsi.o: In function `farsi_f9._loopfn.0':
farsi.c:(.text+0x32a6): undefined reference to `omp_get_num_threads'
farsi.c:(.text+0x32ac): undefined reference to `omp_get_thread_num'
objects/fold.o: In function `setManualFoldWin':
fold.c:(.text+0x2bc8): undefined reference to `GOMP_parallel'
objects/fold.o: In function `foldCreate':
fold.c:(.text+0x35b4): undefined reference to `GOMP_parallel'
objects/fold.o: In function `setManualFoldWin._loopfn.0':
fold.c:(.text+0x414e): undefined reference to `omp_get_num_threads'
fold.c:(.text+0x4154): undefined reference to `omp_get_thread_num'
objects/fold.o: In function `foldCreate._loopfn.1':
fold.c:(.text+0x421e): undefined reference to `omp_get_num_threads'
fold.c:(.text+0x4224): undefined reference to `omp_get_thread_num'
objects/if_cscope.o: In function `cs_find_common':
if_cscope.c:(.text+0x1fdc): undefined reference to `GOMP_parallel'
objects/if_cscope.o: In function `cs_find_common._loopfn.0':
if_cscope.c:(.text+0x357e): undefined reference to `omp_get_num_threads'
if_cscope.c:(.text+0x3584): undefined reference to `omp_get_thread_num'
objects/memline.o: In function `ml_append_int.part.6':
memline.c:(.text+0x1ba2): undefined reference to `GOMP_parallel'
memline.c:(.text+0x1cda): undefined reference to `GOMP_parallel'
objects/memline.o: In function `ml_flush_line':
memline.c:(.text+0x2f70): undefined reference to `GOMP_parallel'
objects/memline.o: In function `ml_recover':
memline.c:(.text+0x4c16): undefined reference to `GOMP_parallel'
objects/memline.o: In function `ml_append_int.part.6._loopfn.0':
memline.c:(.text+0x645a): undefined reference to `omp_get_num_threads'
memline.c:(.text+0x6460): undefined reference to `omp_get_thread_num'
objects/memline.o: In function `ml_append_int.part.6._loopfn.1':
memline.c:(.text+0x6552): undefined reference to `omp_get_num_threads'
memline.c:(.text+0x6558): undefined reference to `omp_get_thread_num'
objects/memline.o: In function `ml_flush_line._loopfn.2':
memline.c:(.text+0x664c): undefined reference to `omp_get_num_threads'
memline.c:(.text+0x6652): undefined reference to `omp_get_thread_num'
objects/memline.o: In function `ml_recover._loopfn.3':
memline.c:(.text+0x6922): undefined reference to `omp_get_num_threads'
memline.c:(.text+0x6928): undefined reference to `omp_get_thread_num'
objects/misc2.o: In function `coladvance2':
misc2.c:(.text+0x29b6): undefined reference to `GOMP_parallel'
misc2.c:(.text+0x2c76): undefined reference to `GOMP_parallel'
objects/misc2.o: In function `coladvance2._loopfn.0':
misc2.c:(.text+0x513a): undefined reference to `omp_get_num_threads'
misc2.c:(.text+0x5140): undefined reference to `omp_get_thread_num'
objects/misc2.o: In function `coladvance2._loopfn.1':
misc2.c:(.text+0x5406): undefined reference to `omp_get_num_threads'
misc2.c:(.text+0x540c): undefined reference to `omp_get_thread_num'
objects/ops.o: In function `str_to_reg':
ops.c:(.text+0xbca): undefined reference to `GOMP_parallel'
objects/ops.o: In function `str_to_reg._loopfn.0':
ops.c:(.text+0xaf12): undefined reference to `omp_get_num_threads'
ops.c:(.text+0xaf18): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `copy_text_attr':
screen.c:(.text+0x25a): undefined reference to `GOMP_parallel'
objects/screen.o: In function `win_redr_custom.part.15':
screen.c:(.text+0x418e): undefined reference to `GOMP_parallel'
screen.c:(.text+0x4202): undefined reference to `GOMP_parallel'
objects/screen.o: In function `draw_tabline':
screen.c:(.text+0x7e38): undefined reference to `GOMP_parallel'
screen.c:(.text+0x812a): undefined reference to `GOMP_parallel'
objects/screen.o:screen.c:(.text+0xdfa2): more undefined references to `GOMP_parallel' follow
objects/screen.o: In function `copy_text_attr._loopfn.0':
screen.c:(.text+0x114d6): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x114dc): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_redr_custom.part.15._loopfn.1':
screen.c:(.text+0x116de): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x116e4): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_redr_custom.part.15._loopfn.2':
screen.c:(.text+0x118e6): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x118ec): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `draw_tabline._loopfn.3':
screen.c:(.text+0x11aee): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x11af4): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `draw_tabline._loopfn.4':
screen.c:(.text+0x11cf6): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x11cfc): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.5':
screen.c:(.text+0x11f2e): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x11f34): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.6':
screen.c:(.text+0x12136): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x1213c): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.7':
screen.c:(.text+0x1233e): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x12344): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.8':
screen.c:(.text+0x12546): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x1254c): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.9':
screen.c:(.text+0x1274e): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x12754): undefined reference to `omp_get_thread_num'
objects/screen.o: In function `win_update._loopfn.10':
screen.c:(.text+0x12956): undefined reference to `omp_get_num_threads'
screen.c:(.text+0x1295c): undefined reference to `omp_get_thread_num'
objects/search.o: In function `find_pattern_in_path':
search.c:(.text+0x73f4): undefined reference to `GOMP_parallel'
search.c:(.text+0x777e): undefined reference to `GOMP_parallel'
objects/search.o: In function `find_pattern_in_path._loopfn.0':
search.c:(.text+0x852e): undefined reference to `omp_get_num_threads'
search.c:(.text+0x8534): undefined reference to `omp_get_thread_num'
objects/search.o: In function `find_pattern_in_path._loopfn.1':
search.c:(.text+0x85fa): undefined reference to `omp_get_num_threads'
search.c:(.text+0x8600): undefined reference to `omp_get_thread_num'
objects/sha256.o: In function `sha2_seed':
sha256.c:(.text+0x268a): undefined reference to `GOMP_parallel'
sha256.c:(.text+0x26d0): undefined reference to `GOMP_parallel'
objects/sha256.o: In function `sha2_seed._loopfn.0':
sha256.c:(.text+0x29b2): undefined reference to `omp_get_num_threads'
sha256.c:(.text+0x29b8): undefined reference to `omp_get_thread_num'
objects/sha256.o: In function `sha2_seed._loopfn.1':
sha256.c:(.text+0x2b2a): undefined reference to `omp_get_num_threads'
sha256.c:(.text+0x2b30): undefined reference to `omp_get_thread_num'
objects/syntax.o: In function `syntax_start':
syntax.c:(.text+0x89a2): undefined reference to `GOMP_parallel'
objects/syntax.o: In function `syntax_start._loopfn.0':
syntax.c:(.text+0xc6ee): undefined reference to `omp_get_num_threads'
syntax.c:(.text+0xc6f4): undefined reference to `omp_get_thread_num'
objects/gui_at_fs.o: In function `SFpathSliderMovedCallback':
gui_at_fs.c:(.text+0xd3a): undefined reference to `GOMP_parallel'
objects/gui_at_fs.o: In function `SFupdatePath':
gui_at_fs.c:(.text+0x1a7a): undefined reference to `GOMP_parallel'
gui_at_fs.c:(.text+0x1f40): undefined reference to `GOMP_parallel'
objects/gui_at_fs.o: In function `SFupdatePath._loopfn.1':
gui_at_fs.c:(.text+0x3b8a): undefined reference to `omp_get_num_threads'
gui_at_fs.c:(.text+0x3b90): undefined reference to `omp_get_thread_num'
objects/gui_at_fs.o: In function `SFupdatePath._loopfn.2':
gui_at_fs.c:(.text+0x3caa): undefined reference to `omp_get_num_threads'
gui_at_fs.c:(.text+0x3cb0): undefined reference to `omp_get_thread_num'
objects/channel.o: In function `channel_get_all':
channel.c:(.text+0x1602): undefined reference to `GOMP_parallel'
objects/channel.o: In function `write_buf_line':
channel.c:(.text+0x1ea2): undefined reference to `GOMP_parallel'
objects/channel.o: In function `channel_get_all._loopfn.0':
channel.c:(.text+0x53fa): undefined reference to `omp_get_num_threads'
channel.c:(.text+0x5400): undefined reference to `omp_get_thread_num'
objects/channel.o: In function `write_buf_line._loopfn.1':
channel.c:(.text+0x550e): undefined reference to `omp_get_num_threads'
channel.c:(.text+0x5514): undefined reference to `omp_get_thread_num'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
Makefile:1856: recipe for target 'vim' failed
make[1]: *** [vim] Error 1
make[1]: Leaving directory '/home/meino/CVS-Archive/VIM/vim.build/vim/src'
Makefile:26: recipe for target 'first' failed
make: *** [first] Error 2
[1] 12168 exit 2 ./build.sh
"omp" looks like "Open Multi Processing"...but I cannot find the
according lib ... maybe I am looking for the wrong name of it?
How can I fix that?
Thank you very much in advance for any help!
Best regards,
mcc
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment