On 18/05/10 11:12, JD wrote:
I'm getting the same/similar build error as well on ArchLinux
compiling vim 7.3a (74c8bba1d9e8):

gcc -c -I. -Iproto -DHAVE_CONFIG_H     -march=native -mtune=native -O2
-pipe -D_FORTIFY_SOURCE=1    -D_REENTRANT -D_GNU_SOURCE  -fstack-
protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/core_perl/CORE      -o objects/
window.o window.c
/usr/bin/perl -e 'unless ( $]>= 5.005 ) { for (qw(na defgv errgv))
{ print "#define PL_$_ $_\n" }}'>  auto/if_perl.c
/usr/bin/perl /usr/share/perl5/core_perl/ExtUtils/xsubpp -prototypes -
typemap \
            /usr/share/perl5/core_perl/ExtUtils/typemap if_perl.xs>>  auto/
if_perl.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -march=native -mtune=native -O2
-pipe -D_FORTIFY_SOURCE=1    -D_REENTRANT -D_GNU_SOURCE  -fstack-
protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/core_perl/CORE      -o objects/
if_perl.o auto/if_perl.c
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include/
stdint.h:3:0,
                  from /usr/include/netinet/in.h:24,
                  from /usr/lib/perl5/core_perl/CORE/perl.h:1130,
                  from ./vim.h:2074,
                  from if_perl.xs:16:
/usr/include/stdint.h:52:23: error: duplicate ‘unsigned’
/usr/include/stdint.h:52:23: error: two or more data types in
declaration specifiers
make[1]: *** [objects/if_perl.o] Error 1

Yeah, this one looks identical: at the same point for the same reason




I'm also getting a similar error with python:

gcc -c -I. -Iproto -DHAVE_CONFIG_H     -march=native -mtune=native -O2
-pipe -D_FORTIFY_SOURCE=1     -I/usr/include/python2.6 -pthread    -o
objects/if_python.o  if_python.c
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include/
stdint.h:3:0,
                  from /usr/include/python2.6/pyport.h:7,
                  from /usr/include/python2.6/Python.h:58,
                  from if_python.c:49:
/usr/include/stdint.h:52:23: error: duplicate ‘unsigned’
/usr/include/stdint.h:52:23: error: two or more data types in
declaration specifiers
make[1]: *** [objects/if_python.o] Error 1

...and I guess if I didn't see this one it's because I'm neither telling make to compile several modules in parallel, nor to continue after an error, and that if_perl.c got compiled before if_python.c, possibly for as trivial a reason as alphabetic order (my Huge build is with -mzscheme +perl +python +ruby +tcl). I have a hunch that a single fix will make both errors disappear.



Regards,
JD



Best regards,
Tony.
--
"Why must you tell me all your secrets when it's hard enough to love
you knowing nothing?"
                -- Lloyd Cole and the Commotions

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

Raspunde prin e-mail lui