Unable to compile VIM 7.3 on AIX 6.1.4.0

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

Unable to compile VIM 7.3 on AIX 6.1.4.0

vra5107
Hi

        I am trying to compile VIM on AIX 6.1.4.0. I see the following error. Has anybody tried to compile VIM on aix?


bash-3.2$ sudo 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="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15         " srcdir=. sh ./osdef.sh
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/buffer.o buffer.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/blowfish.o blowfish.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/charset.o charset.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/diff.o diff.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/digraph.o digraph.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/edit.o edit.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/eval.o eval.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ex_cmds.o ex_cmds.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ex_cmds2.o ex_cmds2.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ex_docmd.o ex_docmd.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ex_eval.o ex_eval.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ex_getln.o ex_getln.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/fileio.o fileio.c
fileio.c: In function 'vim_tempname':
fileio.c:7402: warning: comparison between pointer and integer
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/fold.o fold.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/getchar.o getchar.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/hardcopy.o hardcopy.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/hashtab.o hashtab.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/if_cscope.o if_cscope.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/if_xcmdsrv.o if_xcmdsrv.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/main.o main.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/mark.o mark.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/memfile.o memfile.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/memline.o memline.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/menu.o menu.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/message.o message.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/misc1.o misc1.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/misc2.o misc2.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/move.o move.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/mbyte.o mbyte.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/normal.o normal.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ops.o ops.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/option.o option.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/os_unix.o os_unix.c
creating auto/pathdef.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/pathdef.o auto/pathdef.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/popupmnu.o popupmnu.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/quickfix.o quickfix.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/regexp.o regexp.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/screen.o screen.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/search.o search.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/sha256.o sha256.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/spell.o spell.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/syntax.o syntax.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/tag.o tag.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/term.o term.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/ui.o ui.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/undo.o undo.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/window.o window.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/gui.o gui.c
        gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15     -g -O2 -D_FORTIFY_SOURCE=1       -o objects/gui_athena.o gui_athena.c
In file included from os_unix.h:21,
                 from vim.h:265,
                 from gui_athena.c:37:
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:511: error: conflicting types for 'fgetpos64'
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:310: error: previous declaration of 'fgetpos64' was here
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:514: error: conflicting types for 'fseeko64'
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:454: error: previous declaration of 'fseeko64' was here
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:515: error: conflicting types for 'fsetpos64'
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:312: error: previous declaration of 'fsetpos64' was here
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:516: error: conflicting types for 'ftello64'
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/stdio.h:455: error: previous declaration of 'ftello64' was here
In file included from os_unix.h:56,
                 from vim.h:265,
                 from gui_athena.c:37:
/usr/include/unistd.h:171: error: conflicting types for 'lseek64'
/usr/include/unistd.h:169: error: previous declaration of 'lseek64' was here
In file included from /usr/include/unistd.h:746,
                 from os_unix.h:56,
                 from vim.h:265,
                 from gui_athena.c:37:
/usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64'
/usr/include/sys/lockf.h:62: error: previous declaration of 'lockf64' was here
In file included from os_unix.h:56,
                 from vim.h:265,
                 from gui_athena.c:37:
/usr/include/unistd.h:809: error: conflicting types for 'ftruncate64'
/usr/include/unistd.h:807: error: previous declaration of 'ftruncate64' was here
/usr/include/unistd.h:845: error: conflicting types for 'truncate64'
/usr/include/unistd.h:843: error: previous declaration of 'truncate64' was here
/usr/include/unistd.h:862: error: conflicting types for 'pread64'
/usr/include/unistd.h:859: error: previous declaration of 'pread64' was here
/usr/include/unistd.h:863: error: conflicting types for 'pwrite64'
/usr/include/unistd.h:860: error: previous declaration of 'pwrite64' was here
/usr/include/unistd.h:942: error: conflicting types for 'fclear64'
/usr/include/unistd.h:939: error: previous declaration of 'fclear64' was here
/usr/include/unistd.h:943: error: conflicting types for 'fsync_range64'
/usr/include/unistd.h:940: error: previous declaration of 'fsync_range64' was here
make: 1254-004 The error code from the last command is 1.


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


Stop.

Thanks
Venkat
Reply | Threaded
Open this post in threaded view
|

Re: Unable to compile VIM 7.3 on AIX 6.1.4.0

petr.gansel
This post has NOT been accepted by the mailing list yet.
if you don't need gui, try
./configure --disable-gui

it work's for me on 6100-05-01-1016