--------------------------------------------
On Thu, 1/12/17, Bram Moolenaar <[email protected]> wrote:

 Subject: Re: z/OS  compilation error
 To: [email protected]
 Cc: "Yaroslav Kuzmin" <[email protected]>, "[email protected]" 
<[email protected]>
 Date: Thursday, January 12, 2017, 9:06 PM
 
 
 Yaroslav
 Kuzmin wrote:
 
 > I have
 build vim-8.0 on z/OS.
 > 
 > (06:09) RS12 : PDKUZM |
 ~/ussport/vim/vim-git :> git log -1
 >
 commit ec68a99464055029c01082762517e97245ddae0c
 > Author: Bram Moolenaar <[email protected]>
 > Date:   Mon Oct 3 21:37:41 2016
 +0200
 > 
 > 
    patch 8.0.0022
 > 
    Problem:    If a channel in NL mode is
 missing the NL at the end the remaining
 >             
    characters are dropped.
 > 
    Solution:   When the channel is
 closed use the remaining text. (Ozaki Kiichi)
 > 
 > 
 > But I have an error when compiling and
 linking
 > 
 > 
 > 07:03) RS12 : PDKUZM |
 ~/ussport/vim/vim-git :> make
 >
 Starting make in the src directory.
 > If
 there are problems, cd to the src directory and run make
 there
 > cd src && make first
 > CC="c99 -Iproto
 -DHAVE_CONFIG_H   -D_ALL_SOURCE -D_EXT
 -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE
 -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS
 -D_POSIX_SOURCE
 > -D_SHARE_EXT_VARS
 -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 
   " srcdir=. sh ./osdef.sh
 > ...
 > c99 -c -I. -Iproto
 -DHAVE_CONFIG_H   -D_ALL_SOURCE -D_EXT
 -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE
 -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS
 -D_POSIX_SOURCE
 > -D_SHARE_EXT_VARS
 -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 
 -O -qlanglvl=extended:extc89:extc99 -qxplink -qdll
 -qfloat=ieee -qlongname -qenum=int -qhaltonmsg=3296:4108
 -D_ALL_SOURCE
 > -D_EXT -D_UNIX03_SOURCE
 -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS
 -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE
 -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN
 > -D_XOPEN_SOURCE=600       -o
 objects/eval.o eval.c
 > WARNING CCN3162
 ./eval.c:10167 No definition was found for function
 sortFunctions. Storage class changed to extern
 
 This function was accidentally
 moved to evalfunc.c.
 
 
 > c99 -c -I. -Iproto
 -DHAVE_CONFIG_H   -D_ALL_SOURCE -D_EXT
 -D_UNIX03_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE
 -D_OE_SOCKETS -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS
 -D_POSIX_SOURCE
 > -D_SHARE_EXT_VARS
 -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 
 -O -qlanglvl=extended:extc89:extc99 -qxplink -qdll
 -qfloat=ieee -qlongname -qenum=int -qhaltonmsg=3296:4108
 -D_ALL_SOURCE
 > -D_EXT -D_UNIX03_SOURCE
 -D_XOPEN_SOURCE_EXTENDED=1 -D_ISOC99_SOURCE -D_OE_SOCKETS
 -D_OPEN_MSGQ_EXT -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE
 -D_SHARE_EXT_VARS -D_UNIX03_SOURCE -D_UNIX03_WITHDRAWN
 > -D_XOPEN_SOURCE=600       -o
 objects/os_unix.o os_unix.c
 > WARNING
 CCN3236 ./os_unixx.h:118   Macro name __SUSV3 has
 been redefined.
 
 We can
 avoid this warning by changing the #ifdef.
 
 > c99   -O
 -qxplink -qdllCPP=cpp        -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/netbeans.o
 objects/channel.o  objects/json.o objects/main.o
 objects/memfile.o objects/message.o        -lm 
 -lcurses
 >  IEW2456E 9207 SYMBOL
 sortFunctions UNRESOLVED.  MEMBER COULD NOT BE INCLUDED
 >           FROM THE
 DESIGNATED CALL LIBRARY.
 > FSUM3065 The
 LINKEDIT step ended with return code 8.
 >
 Makefile:1867: recipe for target 'vim' failed
 > make: *** [vim] Error 3
 > Makefile:26: recipe for target
 'first' failed
 > make: ***
 [first] Error 2
 > 
 >
 
 > And this patch resolves the problem
 
 Instead I prefer moving
 sortFunctions() to eval.c
 
 
 -- 
 If VIM
 were a woman, I'd marry her.  Slim, organized,
 helpful
 and beautiful; what's not to
 like?     --David A. Rogers
 
  /// Bram Moolenaar -- [email protected]
 -- http://www.Moolenaar.net   \\\
 ///        sponsor Vim, vote for features
 -- http://www.Vim.org/sponsor/ \\\
 \\\  an exciting new programming language --
 http://www.Zimbu.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
 
 --- 
 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/d/optout.
 .      Localitati bombardate de unitatile represoare

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui