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"
blowfish.c:45: error: syntax error before "pax"
blowfish.c:46: error: syntax error before "ipa"
blowfish.c:55: error: syntax error before "sbx"
blowfish.c:56: error: syntax error before "sbi"
blowfish.c:334: error: syntax error before "uint32_t"
blowfish.c:335: error: syntax error before '*' token
blowfish.c:336: error: syntax error before '{' token
blowfish.c:342: error: `xl' undeclared here (not in a function)
blowfish.c:342: error: `xr' undeclared here (not in a function)
blowfish.c:342: error: initializer element is not constant
blowfish.c:343: error: initializer element is not constant
blowfish.c:343: error: initializer element is not constant
blowfish.c:344: error: syntax error before '}' token
blowfish.c: In function `bf_e_cblock':
blowfish.c:375: error: syntax error before "bk"
blowfish.c:376: error: `bk' undeclared (first use in this function)
blowfish.c:376: error: (Each undeclared identifier is reported only once
blowfish.c:376: error: for each function it appears in.)
blowfish.c: In function `bf_key_init':
blowfish.c:404: error: `uint32_t' undeclared (first use in this function)
blowfish.c:404: error: syntax error before "val"
blowfish.c:420: error: `val' undeclared (first use in this function)
blowfish.c:426: error: `data_l' undeclared (first use in this function)
blowfish.c:426: error: `data_r' undeclared (first use in this function)
blowfish.c: At top level:
blowfish.c:450: error: syntax error before "uint32_t"
blowfish.c:451: error: syntax error before "sbi"
blowfish.c:452: error: syntax error before "val"
blowfish.c:457: error: syntax error before "for"
blowfish.c:470: error: syntax error before "uint32_t"
blowfish.c:475: error: syntax error before "bf_test_data"
blowfish.c: In function `bf_self_test':
blowfish.c:493: error: syntax error before "bk"
blowfish.c:501: error: request for member `password' in something not a structure or union blowfish.c:502: error: request for member `keysum' in something not a structure or union
blowfish.c:506: error: `bk' undeclared (first use in this function)
blowfish.c:506: error: request for member `plaintxt' in something not a structure or union blowfish.c:508: error: request for member `cryptxt' in something not a structure or union blowfish.c:510: error: request for member `badcryptxt' in something not a structure or union
make: *** [gobjZ/blowfish.o] Error 1
--------------------

Regards

--
Cesar

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