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. I'll add it in
vim.h:
#if !defined(HAVE_CONFIG_H) && !defined(uint32_t) \
&& (defined(__CYGWIN32__) || defined(__MINGW32__))
/* Assuming that MingW and Cygwin do not typedef uint32_t. */
# define uint32_t unsigned int
#endif
We can't check for a typedef, otherwise we could solve this in a more
generic way.
--
hundred-and-one symptoms of being an internet addict:
65. The last time you looked at the clock it was 11:30pm, and in what
seems like only a few seconds later, your sister runs past you to
catch her 7am school bus.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.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