On Tue, May 18, 2010 at 4:29 PM, Bram Moolenaar <[email protected]> wrote: > > Cesar Romani wrote: > >> On 18/05/2010 07:37 a.m., Cesar Romani wrote: >> > On 18/05/2010 03:43 a.m., Bram Moolenaar wrote: >> > > >> > > Cesar Romani wrote: >> > > >> > >> I got following error: >> > >> >> > >> -------------------- >> > >> gobjZ/ex_docmd.o:ex_docmd.c:(.text+0x1116c): undefined reference to >> > >> `blowfish_self_test' >> > >> gobjZ/fileio.o:fileio.c:(.text+0x704f): undefined reference to >> > >> `blowfish_self_test' >> > >> [...] >> > >> gobjZ/option.o:option.c:(.text+0x54ac): undefined reference to >> > >> `blowfish_self_test' >> > >> collect2: ld returned 1 exit status >> > >> make: *** [gvim.exe] Error 1 >> > >> -------------------- >> > >> >> > >> Many thanks in advance >> > > >> > > I suspect the blowfish.c and sha256.c files are missing from the >> > > Makefile. Which Makefile were you using? >> > > >> > >> > I'm using Make_ming.mak and it also misses from Make_cyg.mak >> >> If I include blowfish.c and sha256.c I get: >> >> -------------------- >> ... >> blowfish.c:24: error: syntax error before "uint32_t" >> blowfish.c:26: error: syntax error before '}' token >> blowfish.c:39: error: syntax error before '*' token >> blowfish.c:41: error: syntax error before "ipa" > [...] >> make: *** [gobjZ/blowfish.o] Error 1 >> -------------------- > > Strange that these compilers don't define uint32_t.
They most likely do define it, but you have to include inttypes.h or stdint.h to get that definition. Vim currently doesn't do that anywhere. The patch I sent in the "Problem with vim7.3a and Perl" thread includes those header files based on configure checks. Not sure how you want to handle it for non-configure systems. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]> -- 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
