zhangyuting / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Vim 7.4 does not compile on AIX 7.1 TL2 SP3 with XL C/C++ compiler 12.1.0.5 #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
./configure --prefix=/usr/local/vim-7.4 --disable-gui
make

What is the expected output? What do you see instead?
expecting the make to complete successfully
what I get is this:
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       version.c -o objects/version.o
  cc -qlanglvl=extc89     -o vim 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/netbeans.o    objects/main.o  objects/memfile.o       -lSM -lICE -lXpm  -lXt -lX11      -lm -lcurses -lnsl  -liconv                   
ld: 0711-317 ERROR: Undefined symbol: .Xutf8SetWMProperties
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

What version of the product are you using? On what operating system?
Vim 7.4 on AIX 7.1 TL2 SP3
Vim 7.3 was working correctly

Please provide any additional information below.

Original issue reported on code.google.com by burgerg...@gmail.com on 20 Dec 2013 at 8:31

GoogleCodeExporter commented 9 years ago
Workaround:
/usr/bin/perl -i -pe "s/define( USE_UTF8_STRING)/undef\1/" src/os_unix.c

Found it on http://compgroups.net/comp.unix.solaris/missing-symbol/458800

Original comment by burgerg...@gmail.com on 20 Dec 2013 at 8:45

GoogleCodeExporter commented 9 years ago
Fixed by 7.4.475

Original comment by chrisbr...@googlemail.com on 11 Oct 2014 at 1:10